matsukan
9th January 2014, 22:05
This is probaply easy but still ... how to get properties of dbus interfaces?
I.e. I do have:
QDBusInterface adbus_iface("org.freedesktop.Accounts", "/org/freedesktop/Accounts/User1000",
"org.freedesktop.Accounts.User", bus);
qDebug() << adbus_iface.call( "UserName").arguments().at(0);
I.e. I do have:
QDBusInterface adbus_iface("org.freedesktop.Accounts", "/org/freedesktop/Accounts/User1000",
"org.freedesktop.Accounts.User", bus);
qDebug() << adbus_iface.call( "UserName").arguments().at(0);