summaryrefslogtreecommitdiffstats
path: root/kcontrol/energy/energy.h
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2014-09-20 14:05:53 +0900
committerMichele Calgaro <[email protected]>2014-09-20 14:05:53 +0900
commit5a0695b39107650840062ccf46682e7c3074f005 (patch)
tree140d5830da2f86b25561e8c3cf2b9dd50bd93602 /kcontrol/energy/energy.h
parent10e8d4c0a4113ffe90ea92dc0a63977a3b2e7306 (diff)
downloadtdebase-5a0695b39107650840062ccf46682e7c3074f005.tar.gz
tdebase-5a0695b39107650840062ccf46682e7c3074f005.zip
Fixed detecting tdepowersave in tdecmshell energy. This resolves bug 2122.
Diffstat (limited to 'kcontrol/energy/energy.h')
-rw-r--r--kcontrol/energy/energy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kcontrol/energy/energy.h b/kcontrol/energy/energy.h
index 54005dfb0..765fdb2b9 100644
--- a/kcontrol/energy/energy.h
+++ b/kcontrol/energy/energy.h
@@ -45,6 +45,7 @@ private slots:
void slotChangeSuspend(int);
void slotChangeOff(int);
void slotLaunchKPowersave();
+ void slotLaunchTDEPowersave();
void openURL(const TQString &);
private:
@@ -55,7 +56,7 @@ private:
static void applySettings(bool, int, int, int);
friend void init_energy();
- bool m_bChanged, m_bDPMS, m_bKPowersave, m_bEnabled, m_bMaintainSanity;
+ bool m_bChanged, m_bDPMS, m_bKPowersave, m_bTDEPowersave, m_bEnabled, m_bMaintainSanity;
int m_Standby, m_Suspend, m_Off;
int m_StandbyDesired, m_SuspendDesired, m_OffDesired;