Re: Bringing up the accounts UI using DBus

2011-07-12 Thread Jamie Thompson
> I'm not sure what the problem is, but maybe QDBusInterface isn't > happy with the result of the introspection. Try not using > QDbusInterface, and just send the method on QDBusConnection. Brilliant, works perfectly without any hacks: > QDBusMessage msg(QDBusMessage::createMethodCall(NOKIA_SERVIC

Re: Bringing up the accounts UI using DBus

2011-07-11 Thread Alberto Mardegan
On 07/10/2011 02:30 AM, Jamie Thompson wrote: > I'm trying to bring up the Accounts UI using DBus in a Qt application: >> const char * NOKIA_SERVICE_ACCOUNTS_UI("com.nokia.AccountsUI"); >> const char * NOKIA_PATH_ACCOUNTS_UI("/com/nokia/AccountsUI"); >> const char * NOKIA_IFACE_ACCOUNTS_UI("com.nok

Bringing up the accounts UI using DBus

2011-07-09 Thread Jamie Thompson
I'm trying to bring up the Accounts UI using DBus in a Qt application: > const char * NOKIA_SERVICE_ACCOUNTS_UI("com.nokia.AccountsUI"); > const char * NOKIA_PATH_ACCOUNTS_UI("/com/nokia/AccountsUI"); > const char * NOKIA_IFACE_ACCOUNTS_UI("com.nokia.Accounts"); > > QDBusInterface nokiaAccountsUI(