summaryrefslogtreecommitdiffstats
path: root/src/tdepowersave.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tdepowersave.h')
-rw-r--r--src/tdepowersave.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tdepowersave.h b/src/tdepowersave.h
index bb46fc0..931fbe5 100644
--- a/src/tdepowersave.h
+++ b/src/tdepowersave.h
@@ -188,6 +188,9 @@ private:
/*! contains the ID of the menuentry for suspend-to-disk */
int SUSPEND2DISK_MENU_ID;
//! a menu entry ID
+ /*! contains the ID of the menuentry for hybrid suspend */
+ int SUSPEND_HYBRID_MENU_ID;
+ //! a menu entry ID
/*! contains the ID of the menuentry for suspend-to-ram */
int SUSPEND2RAM_MENU_ID;
//! a menu entry ID
@@ -322,6 +325,8 @@ private slots:
bool do_suspend2disk();
//! send command for suspend_to_RAM to the TDE hardware library
bool do_suspend2ram();
+ //! send command for hybrid suspend to the TDE hardware library
+ bool do_suspend_hybrid();
//! show warning dialog or call autosuspend if signal \ref inactivity::inactivityTimeExpired() recieved
void do_autosuspendWarn();
@@ -432,6 +437,8 @@ k_dcop:
bool do_setCPUFreqPolicy( TQString );
//! dcop function to send 'suspend to disk' command to powersaved
bool do_suspendToDisk();
+ //! dcop function to send 'hybrid suspend' command to powersaved
+ bool do_suspendHybrid();
//! dcop function to send 'suspend to RAM' command to powersaved
bool do_suspendToRAM();
//! dcop function to send 'freeze' command to powersaved