You are not logged in.

#1 2011-01-05 03:18:09

Damnshock
Member
From: Barcelona
Registered: 2006-09-13
Posts: 414

Qt and Dbus: interfaces on an object path

I'm trying to implement two different interfaces in an object.

The two interfaces inherit from QDBusAbstractAdaptor. I have created then a different object (a QObject one) which only has two instances of the interfaces.

In the mainapplication I then register this object:

QDBusConnection::sessionBus().registerObject("/org/path/", testing, QDBusConnection::ExportAllContents);

The thing is that the /org/path/ gets created in the dbus but the interfaces are created in MainApplication/ object path rather than in /org/path/.

How do I create the interfaces in /org/path/ ?

Thanks in advance,

Regards


My blog: blog.marcdeop.com
Jabber ID: damnshock@jabber.org

Offline

Board footer

Powered by FluxBB