QT and dbus - no such signal

Christian Rüb christian.rueb at gmx.net
Fri Jan 8 13:40:20 CET 2010


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

More information about the community mailing list