Changeset View
Changeset View
Standalone View
Standalone View
daemon/actions/bundled/handlebuttonevents.h
Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Line(s) | 69 | private: | |||
---|---|---|---|---|---|
71 | void triggerAction(const QString &action, const QVariant &type); | 71 | void triggerAction(const QString &action, const QVariant &type); | ||
72 | 72 | | |||
73 | KScreen::ConfigPtr m_screenConfiguration; | 73 | KScreen::ConfigPtr m_screenConfiguration; | ||
74 | uint m_lidAction = 0; | 74 | uint m_lidAction = 0; | ||
75 | bool m_triggerLidActionWhenExternalMonitorPresent = false; | 75 | bool m_triggerLidActionWhenExternalMonitorPresent = false; | ||
76 | bool m_externalMonitorPresent = false; | 76 | bool m_externalMonitorPresent = false; | ||
77 | 77 | | |||
78 | uint m_powerButtonAction = 0; | 78 | uint m_powerButtonAction = 0; | ||
79 | uint m_powerDownButtonAction = 0; | ||||
79 | uint m_sleepButtonAction = 1; | 80 | uint m_sleepButtonAction = 1; | ||
80 | uint m_hibernateButtonAction = 2; | 81 | uint m_hibernateButtonAction = 2; | ||
81 | }; | 82 | }; | ||
82 | 83 | | |||
83 | } | 84 | } | ||
84 | 85 | | |||
85 | } | 86 | } | ||
86 | 87 | | |||
87 | #endif // POWERDEVIL_BUNDLEDACTIONS_HANDLEBUTTONEVENTS_H | 88 | #endif // POWERDEVIL_BUNDLEDACTIONS_HANDLEBUTTONEVENTS_H |