+#if defined(Q_WS_S60) || defined(Q_WS_MAEMO_5)
+ void PlayerMainWindow::displayStateChanged(const QDBusMessage &message)
+ {
+ QString state = message.arguments().at(0).toString();
+ if (!state.isEmpty()) {
+ if (state == MCE_DISPLAY_ON_STRING) {
+ mTimer->start(AppSettings::getStatusPollTimeout());
+ }
+ else if (state == MCE_DISPLAY_OFF_STRING) {
+ mTimer->stop();
+ }
+ }
+ }
+#endif
+