how to call qt function from dbus-glib function?
Verma, Anumeha
anumeha.verma at patni.com
Tue Jun 29 01:48:18 PDT 2010
With Qt, any interfaces(functions) must be under
Q_SLOTS in that class.
For ex. - playvideo must be decalred as:
Public Q_SLOTS:
Playvideo (parameters);
Only then it will be accessible.
________________________________
From: dbus-bounces+anumeha.verma=patni.com at lists.freedesktop.org [mailto:dbus-bounces+anumeha.verma=patni.com at lists.freedesktop.org] On Behalf Of Mukesh Savaliya
Sent: Tuesday, June 29, 2010 12:59 PM
To: dbus at lists.freedesktop.org
Subject: how to call qt function from dbus-glib function?
I am using dbus-glib functions which all includes _g in the function name. I am getting connection and proxy object, but when I call remote qt function playvideo() using dbus_g_proxy_call(proxy,"playvideo",&error,....,G_TYPE_INVALID);
I am getting error like ERROR: org.freedesktop.dbus: cant understand message playvideo.
Please reply me and also tell me is this possible to call qt function as above?
With regards,
Mukesh Savaliya.
_____________________________________________________________________
This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at netadmin at patni.com and delete this mail.
_____________________________________________________________________
________________________________
This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at netadmin at patni.com and delete this mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100629/4f1770a8/attachment.html>
More information about the dbus
mailing list