@@ -46,6 +46,8 @@ public:
4646 Q_INVOKABLE void shutdown() { Shutdown(); }
4747 Q_INVOKABLE void endSession() { EndSession(); }
4848
49+ // TODO: remove duplicate signals and split D-Bus and QML API's
50+ // Apparently QML needs the signals in lowercase, while DBUS spec needs the uppercase version
4951Q_SIGNALS:
5052 /**
5153 * LogoutRequested signal
@@ -56,6 +58,7 @@ Q_SIGNALS:
5658 * which inhibit the logout.
5759 */
5860 Q_SCRIPTABLE void LogoutRequested(bool have_inhibitors);
61+ void logoutRequested(bool have_inhibitors);
5962
6063 /**
6164 * RebootRequested signal
@@ -66,6 +69,7 @@ Q_SIGNALS:
6669 * which inhibit the reboot.
6770 */
6871 Q_SCRIPTABLE void RebootRequested(bool have_inhibitors);
72+ void rebootRequested(bool have_inhibitors);
6973
7074 /**
7175 * ShutdownRequested signal
@@ -76,6 +80,7 @@ Q_SIGNALS:
7680 * which inhibit the shutdown.
7781 */
7882 Q_SCRIPTABLE void ShutdownRequested(bool have_inhibitors);
83+ void shutdownRequested(bool have_inhibitors);
7984
8085 /**
8186 * LogoutReady signal
@@ -84,11 +89,13 @@ Q_SIGNALS:
8489 * is safe to logout.
8590 */
8691 Q_SCRIPTABLE void LogoutReady();
92+ void logoutReady();
8793
8894 /**
8995 * Emitted as a result of calling PromptLock()
9096 */
9197 Q_SCRIPTABLE void LockRequested();
98+ void lockRequested();
9299
93100 /**
94101 * Emitted after the session has been locked.