[Qt-interest] problem with signal of QListWidget
Alexis Menard
alexis.menard at trolltech.com
Sat Jun 20 12:52:26 CEST 2009
Look your terminal it should say if it find the slot or not.
You probably did a mistake in the declaration. As far as i can see the
signature of the signal/slot doesn't match...
On Jun 20, 2009, at 12:41, mierdatutis mi wrote:
>
> Hi,
>
> I'm trying to do a program that when I change the item selected in a
> list, show me in a text the content file (like cat file).
>
> I try to do a signal with a funcion like slot but doesn't works, the
> program doesn't go to the function "cambio".
>
> connect(lista, SIGNAL(currentItemChanged ( QListWidgetItem *,
> QListWidgetItem *)), this,SLOT (cambio()));
>
> Any help?
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090620/72146fc1/attachment.html
More information about the Qt-interest-old
mailing list