9#include "kworkspace_export.h"
20 Q_PROPERTY(
bool canShutdown READ canShutdown NOTIFY canShutdownChanged)
21 Q_PROPERTY(
bool canReboot READ canReboot NOTIFY canRebootChanged)
22 Q_PROPERTY(
bool canLogout READ canLogout NOTIFY canLogoutChanged)
23 Q_PROPERTY(
bool canSuspend READ canSuspend NOTIFY canSuspendChanged)
24 Q_PROPERTY(
bool canHibernate READ canHibernate NOTIFY canHibernateChanged)
25 Q_PROPERTY(
bool canSuspendThenHibernate READ canSuspendThenHibernate NOTIFY canSuspendThenHibernateChanged)
26 Q_PROPERTY(
bool canSwitchUser READ canSwitchUser NOTIFY canSwitchUserChanged)
27 Q_PROPERTY(
bool canLock READ canLock NOTIFY canLockChanged)
28 Q_PROPERTY(
bool canSaveSession READ canSaveSession NOTIFY canSaveSessionChanged)
68 bool canShutdown()
const;
69 bool canReboot()
const;
70 bool canLogout()
const;
71 bool canSuspend()
const;
72 bool canHybridSuspend()
const;
73 bool canHibernate()
const;
74 bool canSuspendThenHibernate()
const;
75 bool canSwitchUser()
const;
77 bool canSaveSession()
const;
84 void requestShutdown(ConfirmationMode = ConfirmationMode::Default);
85 void requestReboot(ConfirmationMode = ConfirmationMode::Default);
86 void requestLogout(ConfirmationMode = ConfirmationMode::Default);
92 void requestLogoutPrompt();
97 void suspendThenHibernate();
106 void canShutdownChanged();
107 void canRebootChanged();
108 void canLogoutChanged();
109 void canSuspendChanged();
110 void canHybridSuspendChanged();
111 void canHibernateChanged();
112 void canSuspendThenHibernateChanged();
113 void canSwitchUserChanged();
114 void canLockChanged();
115 void canSaveSessionChanged();
117 void aboutToSuspend();
118 void resumingFromSuspend();
Public facing API for SessionManagement.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:59 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.