QT and dbus - no such signal

Mickael Labrousse m.labrousse_list at bcmd.fr
Fri Jan 8 14:24:31 CET 2010


I didn't know, my bad ;)

Christian Rüb a écrit :
> Hi,
>
> thanks for your reply, but it is possible to connect a signal to a signal [1] and that is exactly what I want.
>
> "It is even possible to connect a signal directly to another signal."
>
> [1] http://doc.trolltech.com/4.6/signalsandslots.html
>
> On Friday, 8. January 2010 13:27:32 Mickael Labrousse wrote:
>   
>> In Qt you must connect a signal to a slot.
>> Looking your code :
>> connect(deviceInterface, SIGNAL(FixStatusChanged(int)), this, 
>> SIGNAL(fixChanged(int)));
>>
>> You try to connect a signal to a signal ! It should be :
>> connect(deviceInterface, SIGNAL(FixStatusChanged(int)), this, 
>> SLOT(fixChanged(int)));
>>
>> Be careful you fixChanged(int) method is declared as  slot in your header
>>     
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>   



More information about the community mailing list