<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5659" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Verdana color=#0000ff size=2></FONT> </DIV>
<DIV> </DIV>
<DIV align=left><SPAN lang=EN>
<P><FONT color=#0000ff>Hi <SPAN
class=688555105-30012009>,</SPAN></FONT></P>
<P><FONT color=#0000ff>I have some query about DBus .I have gone through the
Car-Controller example<SPAN class=688555105-30012009> in QT(Trolltech)
documentation.</SPAN>.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?</FONT></P>
<P><FONT color=#0000ff></FONT> </P>
<P><FONT color=#0000ff></FONT> </P>
<P><FONT color=#0000ff></FONT> </P>
<P><FONT
color=#0000ff>Controller::on_accelerate_clicked().......................how this
slot is being invoked first or buttonClicked() signal is being caught as there
is no connect </FONT></P>
<P><FONT color=#0000ff>{</FONT></P>
<P><FONT color=#0000ff>car->accelerate();</FONT></P>
<P><FONT color=#0000ff>}</FONT></P>
<P><FONT color=#0000ff>void Controller::on_decelerate_clicked()</FONT></P>
<P><FONT color=#0000ff>.................................................how
buttonClicked() signal is being caught after pressing "decelerate"button as
there is no connect statement in the program.</FONT></P>
<P><FONT color=#0000ff>{</FONT></P>
<P><FONT color=#0000ff>car->decelerate();</FONT></P>
<P><FONT color=#0000ff>}</FONT></P>
<P><FONT color=#0000ff>void Controller::on_left_clicked()..</FONT></P>
<P><FONT color=#0000ff>{</FONT></P>
<P><FONT color=#0000ff>car->turnLeft();</FONT></P>
<P><FONT color=#0000ff>}</FONT></P>
<P><FONT color=#0000ff>void Controller::on_right_clicked().</FONT></P>
<P><FONT color=#0000ff>{</FONT></P>
<P><FONT color=#0000ff>car->turnRight();</FONT></P>
<P><FONT color=#0000ff>}</FONT></P></SPAN></DIV>
<DIV align=left><FONT color=#0000ff></FONT> </DIV>
<DIV align=left><FONT color=#0000ff></FONT> </DIV>
<DIV align=left><FONT face=Verdana color=#0000ff
size=2><STRONG>Regards,</STRONG></FONT></DIV>
<DIV align=left><FONT face=Verdana color=#0000ff size=2><STRONG>Diptiman
Roy</STRONG></FONT></DIV>
<DIV align=left><FONT face=Verdana
color=#0000ff><STRONG></STRONG></FONT> </DIV><pre>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
</pre></BODY></HTML>