| |   |
| /* |
| * qorientationcapability_p.h |
| * author: Timo Härkönen |
| */ |
|
|
| 1 | 7 | #ifndef QORIENTATIONCAPABILITY_P_H |
| 2 | 8 | #define QORIENTATIONCAPABILITY_P_H |
| 3 | 9 | |
| … | … | |
| 60 | 60 | // Query current device orientation to start in correct mode |
| 61 | 61 | QDBusMessage msg = QDBusMessage::createMethodCall(MCE_SERVICE, MCE_REQUEST_PATH, MCE_REQUEST_IF, MCE_DEVICE_ORIENTATION_GET); |
| 62 | 62 | |
| // We ignore the last three arguments of the orientation information (x, y and z axis) |
| // Ignore the last three arguments of the orientation information (x, y and z axis) |
| 64 | 64 | QDBusConnection::systemBus().callWithCallback(msg, pub, SLOT(orientationUpdate(QString, QString, QString))); |
| 65 | 65 | } |
| 66 | 66 | } |