Changeset View
Changeset View
Standalone View
Standalone View
daemon/actions/bundled/handlebuttonevents.h
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | |||||
55 | 55 | | |||
56 | public Q_SLOTS: | 56 | public Q_SLOTS: | ||
57 | int lidAction() const; | 57 | int lidAction() const; | ||
58 | bool triggersLidAction() const; | 58 | bool triggersLidAction() const; | ||
59 | 59 | | |||
60 | private Q_SLOTS: | 60 | private Q_SLOTS: | ||
61 | void onButtonPressed(PowerDevil::BackendInterface::ButtonType type); | 61 | void onButtonPressed(PowerDevil::BackendInterface::ButtonType type); | ||
62 | void powerOffButtonTriggered(); | 62 | void powerOffButtonTriggered(); | ||
63 | void powerDownButtonTriggered(); | ||||
63 | void suspendToRam(); | 64 | void suspendToRam(); | ||
64 | void suspendToDisk(); | 65 | void suspendToDisk(); | ||
65 | 66 | | |||
66 | void checkOutputs(); | 67 | void checkOutputs(); | ||
67 | 68 | | |||
68 | private: | 69 | private: | ||
69 | void processAction(uint action); | 70 | void processAction(uint action); | ||
70 | void triggerAction(const QString &action, const QVariant &type); | 71 | void triggerAction(const QString &action, const QVariant &type); | ||
Show All 16 Lines |