summaryrefslogtreecommitdiffstats
path: root/src/kpowersave.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-04-15 17:42:29 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-04-15 17:42:29 -0500
commit3ec8230e9f10645de684b5e03471e293481183d7 (patch)
tree0a9f15fcc62fb8a0e84eb8270ff30262274f3f4c /src/kpowersave.h
parent82806a03ea419871940eb3c03c792f3ea15734d9 (diff)
downloadtdepowersave-3ec8230e9f10645de684b5e03471e293481183d7.tar.gz
tdepowersave-3ec8230e9f10645de684b5e03471e293481183d7.zip
Initial migration off of HAL
Diffstat (limited to 'src/kpowersave.h')
-rw-r--r--src/kpowersave.h33
1 files changed, 4 insertions, 29 deletions
diff --git a/src/kpowersave.h b/src/kpowersave.h
index 6d3f124..574d5c8 100644
--- a/src/kpowersave.h
+++ b/src/kpowersave.h
@@ -156,14 +156,6 @@ private:
* \li false: if not
*/
bool suspend_dialog_shown;
- //! represent display state of HAL error message
- /*!
- * This boolean represent information about the current state of
- * the HAL error message
- * \li true: if the errormessage was already displayed in this context
- * \li false: if not
- */
- bool hal_error_shown;
//! tell if the display should get dimmed down
/*!
@@ -238,13 +230,6 @@ private:
*/
static const int BAT_icon_BG_intervall = 1000;
- //! TQTimer-interval for display HAL error message
- /*!
- * Time intervall to delay display the HAL error message to prevent displayed
- * the message if only HAL or powersave is restarted. The value is 15000 msec/ 15 sec.
- */
- static const int HAL_ERROR_MSG_intervall = 15000;
-
//! type of current running suspend
/*! TQString store the name of the current running suspend*/
TQString suspendType;
@@ -288,12 +273,6 @@ private:
* The timerinterval is defined in \ref BAT_icon_BG_intervall .
*/
TQTimer *BAT_WARN_ICON_Timer;
- //! Timer to delay the HAL error message
- /*!
- * This timer is used to add a delay befor display the HAL error message
- * The timerinterval is defined in \ref HAL_ERROR_MSG_intervall .
- */
- TQTimer *DISPLAY_HAL_ERROR_Timer;
//! Timer to dimm down/up the brightness
/*!
* This timer is used dimm the display up and down. The timerinterval
@@ -329,11 +308,11 @@ private:
private slots:
- //! send command for stand-by to the HAL daemon
+ //! send command for stand-by to the TDE hardware library
bool do_standby();
- //! send command for suspend_to_disk to the HAL daemon
+ //! send command for suspend_to_disk to the TDE hardware library
bool do_suspend2disk();
- //! send command for suspend_to_RAM to the HAL daemon
+ //! send command for suspend_to_RAM to the TDE hardware library
bool do_suspend2ram();
//! show warning dialog or call autosuspend if signal \ref inactivity::inactivityTimeExpired() recieved
@@ -348,7 +327,7 @@ private slots:
void do_setIconBG();
//! to set the autosuspend on/off over the menu
void do_setAutosuspend();
- //! sets the CPU Freq policy via the HAL daemon
+ //! sets the CPU Freq policy via the TDE hardware library
void do_setSpeedPolicy( int );
//! called if there are problems with starting yast module
void slotConfigProcessExited( KProcess * );
@@ -423,10 +402,6 @@ private slots:
//! this emit the KNotify events if the machine resumed
void handleResumeSignal();
- //! to display HAL error msg
- void showHalErrorMsg( );
- //! this is invoked to display powersave error message
- void showDBusErrorMsg( int );
//! this show a blocking dialog from kpowersave with the given message
void showErrorMessage( TQString msg );