@ -101,7 +101,7 @@ tdepowersave::tdepowersave( bool force_acpi_check, bool trace_func ) : KSystemTr
connect ( hwinfo , TQT_SIGNAL ( ACStatus ( bool ) ) , this , TQT_SLOT ( handleACStatusChange ( bool ) ) ) ;
connect ( hwinfo , TQT_SIGNAL ( resumed ( int ) ) , this , TQT_SLOT ( forwardResumeSignal ( int ) ) ) ;
// connect to error mes ages
// connect to error mes s ages
connect ( autoSuspend , TQT_SIGNAL ( displayErrorMsg ( TQString ) ) , this , TQT_SLOT ( showErrorMessage ( TQString ) ) ) ;
// connect to events
@ -747,7 +747,7 @@ bool tdepowersave::do_suspend2disk(){
/*!
* \ b TQT_SLOT to send the command for " suspend to RAM " to the TDE hardware library .
* If there is a error while " suspend to RAM " the user get e messagebox .
* If there is a error while " suspend to RAM " the user get a messagebox .
* This function need a power management backend in TDE hardware library for " suspend to RAM " .
* \ return boolean with the result of the operation
* \ retval true if successful
@ -986,11 +986,11 @@ void tdepowersave::do_autosuspendWarn() {
/*!
* \ b TQT_SLOT to send the related suspend command for autosuspend
* \ param chancel boolean with info if the autosuspend should get c h anceld
* \ param chancel boolean with info if the autosuspend should get c ancele d
* \ return boolean with the result of the operation
* \ retval true if successful
* \ retval false if command not supported or on any other error
* \ todo add check if the requested command is supported befor send and
* \ todo add check if the requested command is supported befor e send and
* add message for this case to tell that maybe changed config !
*/
bool tdepowersave : : do_autosuspend ( bool chancel ) {
@ -1021,7 +1021,7 @@ bool tdepowersave::do_autosuspend(bool chancel) {
return false ;
}
} else {
kdDebug ( ) < < " The autosuspend was c h anceled (via the ch ancel dialog), start again." < < endl ;
kdDebug ( ) < < " The autosuspend was c anceled (via the cancel dialog), start again." < < endl ;
setAutoSuspend ( false ) ;
return false ;
}