diff options
Diffstat (limited to 'src/tdepowersave.h')
-rw-r--r-- | src/tdepowersave.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/tdepowersave.h b/src/tdepowersave.h index e7f198d..49f9bff 100644 --- a/src/tdepowersave.h +++ b/src/tdepowersave.h @@ -69,7 +69,7 @@ class TDEGlobalAccel; class tdepowersave : public KSystemTray, public DCOPObject { Q_OBJECT -// +// K_DCOP private: @@ -190,6 +190,9 @@ private: /*! contains the ID of the menuentry for suspend-to-ram */ int SUSPEND2RAM_MENU_ID; //! a menu entry ID + /*! contains the ID of the menuentry for freeze */ + int FREEZE_MENU_ID; + //! a menu entry ID /*! contains the ID of the menuentry for stand-by */ int STANDBY_MENU_ID; //! a menu seperator ID @@ -312,6 +315,8 @@ private slots: //! send command for stand-by to the TDE hardware library bool do_standby(); + //! send command for freeze to the TDE hardware library + bool do_freeze(); //! send command for suspend_to_disk to the TDE hardware library bool do_suspend2disk(); //! send command for suspend_to_RAM to the TDE hardware library @@ -428,6 +433,8 @@ k_dcop: bool do_suspendToDisk(); //! dcop function to send 'suspend to RAM' command to powersaved bool do_suspendToRAM(); + //! dcop function to send 'freeze' command to powersaved + bool do_suspendFreeze(); //! dcop function to send 'standby' command to powersaved bool do_standBy(); //! dcop function to set the brightness down |