QDBus

Diptiman Roy diptiman.roy at sasken.com
Thu Jan 29 21:53:45 PST 2009




Hi ,

I have some query about DBus .I have gone through the Car-Controller example in QT(Trolltech) documentation..I cannot understand how the following methods(slot) are invoked as there is no "connect "statement associated with the buttons(accelerate,decelerate,left,right).So how are signals being caught by associated slots?







Controller::on_accelerate_clicked().......................how this slot is being invoked first or buttonClicked() signal is being caught as there is no connect

{

car->accelerate();

}

void Controller::on_decelerate_clicked()

.................................................how buttonClicked() signal is being caught after pressing "decelerate"button as there is no connect statement in the program.

{

car->decelerate();

}

void Controller::on_left_clicked()..

{

car->turnLeft();

}

void Controller::on_right_clicked().

{

car->turnRight();

}



Regards,
Diptiman Roy

SASKEN BUSINESS DISCLAIMER
-------------------------
This message may contain confidential, proprietary or legally privileged information. In 
case you are not the original intended Recipient of the message, you must not, directly or 
indirectly, use, Disclose, distribute, print, or copy any part of this message and you are 
requested to delete it and inform the sender. Any views expressed in this message are 
those of the individual sender unless otherwise stated. Nothing contained in this message 
shall be construed as an offer or acceptance of any offer by Sasken Communication 
Technologies Limited ("Sasken") unless sent with that express intent and with due 
authority of Sasken. Sasken has taken enough precautions to prevent the spread of 
viruses. However the company accepts no liability for any damage caused by any virus 
transmitted by this email
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20090130/9b6caf08/attachment.html 


More information about the dbus mailing list