DBus Qt bindings

Peter Hawkins peter@hawkins.emu.id.au
Wed, 28 Jan 2004 14:19:30 +1100


On Wed, 28 Jan 2004 02:00 pm, Zack Rusin wrote:
> On Tuesday 27 January 2004 20:34, Peter Hawkins wrote:
> > Unfortunately this doesn't seem to work - I tried a modified version
> > of tools/dbus-monitor using this function and a QApplication but no
> > messages seem to be delivered. My suspicion is that
> > dbus_connection_dispatch() is not being called.
> >
> > Any suggestions?
>
> Of course they're not delivered because you don't have a connection.
> Connection dispatches messages.

But that doesn't work either. I tried making the DBusQt::Connection 
constructor:
    Connection( DBusConnection *connection, QObject *parent );
public, and converting the creation of the integrator into:
new Connection(connection, NULL);

but the result was the same.

What now?

=)
Peter