17 #ifndef DBUSUNITYSESSIONSERVICE_H
18 #define DBUSUNITYSESSIONSERVICE_H
20 #include "unitydbusobject.h"
32 Q_CLASSINFO(
"D-Bus Interface",
"com.canonical.Unity.Session")
39 Q_INVOKABLE
void logout() {
Logout(); }
40 Q_INVOKABLE
void reboot() {
Reboot(); }
41 Q_INVOKABLE
void shutdown() {
Shutdown(); }
91 Q_SCRIPTABLE
void Logout();
100 Q_SCRIPTABLE
void Reboot();
144 #endif // DBUSUNITYSESSIONSERVICE_H
void shutdownRequested(bool have_inhibitors)
Q_SCRIPTABLE void Reboot()
Q_SCRIPTABLE void RequestLogout()
Q_SCRIPTABLE void RequestReboot()
Q_SCRIPTABLE void RequestShutdown()
void logoutRequested(bool have_inhibitors)
void rebootRequested(bool have_inhibitors)
Q_SCRIPTABLE void Shutdown()
Q_SCRIPTABLE void Logout()