Creating signal using Qt and Glib bindings

Thiago Macieira thiago at kde.org
Sun Apr 10 06:00:50 PDT 2011


On Friday, 8 de April de 2011 21:41:50 Bogdan wrote:
> How to create a signal (using Glib bindings), that is identical with the one
> created with the following Qt statement:
> 
> connectionX.createSignal( <objectPath>, <interface>, <methodName> );

Do you mean QDBusMessage::createSignal? That doesn't create a signal in an 
interface, it creates a message that emits a signal.

> This signal has to be received by the Qt application that uses following Qt
> connect statement:
> 
> connectionY.connect( <service>, <objectPath>, <interface>, <methodName>,
> this, SLOT(…) );
> 
> Neither in the g_signal_new() nor in the g_signal_emit() methods I can’t
> recognize the  <objectPath> and  <interface> parameters.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; finge
print:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20110410/d1f65ec1/attachment.pgp>


More information about the dbus mailing list