View Single Post
Posts: 239 | Thanked: 194 times | Joined on Jul 2010 @ Amsterdam
#18
For informational purposes. Here is a quote from an answer to the same question from the qt-interest mailing list.

You can try MCE Dbus Interface. Something like:

QDBusConnection::systemBus().connect(MCE_SERVICE, MCE_SIGNAL_PATH, MCE_SIGNAL_IF, MCE_TKLOCK_MODE_SIG, this, SLOT(onTKLockModeChanged(QString)));

Where onTKLockModeChanged is a simple slot method.

Last edited by Willem Liu; 2010-09-13 at 17:55.