<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        background:#FCFCFC;
        border:none;
        padding:0in;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hello all,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> I m trying to make a full communication between a qt
and non-qt application. I can call every function of myclass inside qt ,using
proxycall.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>And its working fine.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Now, in order to send and receive messages and signals to
and from qt and nonqt application, I am doing this.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I am sending a signal with message as described @ <a
href="http://doc.trolltech.com/qq/qq20-dbus.html">http://doc.trolltech.com/qq/qq20-dbus.html</a>,
as below.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<div style='mso-element:para-border-div;border:solid #F1F1F1 1.0pt;padding:
2.0pt 2.0pt 31.0pt 2.0pt;background:#FCFCFC'><pre style='background:#FCFCFC;
border:none;padding:0in'><font size=2 color=black face="Courier New"><span
lang=EN style='font-size:10.0pt'><a
href="http://doc.trolltech.com/4.2/qdbusmessage.html">QDBusMessage</a> message = <a
href="http://doc.trolltech.com/4.2/qdbusmessage.html">QDBusMessage</a>::createSignal("/", "com.mycompany.ping", "ping");<o:p></o:p></span></font></pre><pre
style='background:#FCFCFC;border:none;padding:0in'><font size=2 color=black
face="Courier New"><span lang=EN style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre
style='background:#FCFCFC;border:none;padding:0in'><font size=2 color=black
face="Courier New"><span lang=EN style='font-size:10.0pt'>message << "Hello, just wanted to say that I'm here.";<o:p></o:p></span></font></pre><pre
style='background:#FCFCFC;border:none;padding:0in'><font size=2 color=black
face="Courier New"><span lang=EN style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre
style='background:#FCFCFC;border:none;padding:0in'><font size=2 color=black
face="Courier New"><span lang=EN style='font-size:10.0pt'>bus.send(message);<o:p></o:p></span></font></pre><pre
style='background:#FCFCFC;border:none;padding:0in'><font size=2 color=black
face="Courier New"><span lang=EN style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre
style='background:#FCFCFC;border:none;padding:0in'><font size=2 color=black
face="Courier New"><span lang=EN style='font-size:10.0pt'>But, I don’t know how can I receive this message and signal. What slot/logic should I implement?<o:p></o:p></span></font></pre><pre
style='background:#FCFCFC;border:none;padding:0in'><font size=2 color=black
face="Courier New"><span lang=EN style='font-size:10.0pt'>I don’t know about dbus-glib, high level API, which can receive above message and signal?<o:p></o:p></span></font></pre><pre
style='background:#FCFCFC;border:none;padding:0in'><font size=2 color=black
face="Courier New"><span lang=EN style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre
style='background:#FCFCFC;border:none;padding:0in'><font size=2 color=black
face="Courier New"><span lang=EN style='font-size:10.0pt'>Please, forgive me with my poor English.<o:p></o:p></span></font></pre><pre
style='background:#FCFCFC;border:none;padding:0in'><font size=2 color=black
face="Courier New"><span lang=EN style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre
style='background:#FCFCFC;border:none;padding:0in'><font size=2 color=black
face="Courier New"><span lang=EN style='font-size:10.0pt'>With regards,<o:p></o:p></span></font></pre><pre
style='background:#FCFCFC;border:none;padding:0in'><font size=2 color=black
face="Courier New"><span lang=EN style='font-size:10.0pt'>Mukesh.<o:p></o:p></span></font></pre></div>
</div>
</body>
</html>