Changeset View
Changeset View
Standalone View
Standalone View
daemon/actions/bundled/suspendsession.h
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Line(s) | |||||
72 | Q_SIGNALS: | 72 | Q_SIGNALS: | ||
73 | void aboutToSuspend(); | 73 | void aboutToSuspend(); | ||
74 | void resumingFromSuspend(); | 74 | void resumingFromSuspend(); | ||
75 | 75 | | |||
76 | private Q_SLOTS: | 76 | private Q_SLOTS: | ||
77 | void triggerSuspendSession(uint action); | 77 | void triggerSuspendSession(uint action); | ||
78 | 78 | | |||
79 | private: | 79 | private: | ||
80 | bool m_suspendThenHibernateEnabled = false; | ||||
80 | int m_idleTime = 0; | 81 | int m_idleTime = 0; | ||
81 | uint m_autoType; | 82 | uint m_autoType; | ||
82 | QVariantMap m_savedArgs; | 83 | QVariantMap m_savedArgs; | ||
83 | QScopedPointer<PowerDevil::KWinKScreenHelperEffect> m_fadeEffect; | 84 | QScopedPointer<PowerDevil::KWinKScreenHelperEffect> m_fadeEffect; | ||
84 | 85 | | |||
85 | }; | 86 | }; | ||
86 | 87 | | |||
87 | } | 88 | } | ||
88 | 89 | | |||
89 | } | 90 | } | ||
90 | 91 | | |||
91 | #endif // POWERDEVIL_BUNDLEDACTIONS_SUSPENDSESSION_H | 92 | #endif // POWERDEVIL_BUNDLEDACTIONS_SUSPENDSESSION_H |