[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/plasma/applets/toggle-compositing
From: Christian Weilbach <christian () whiletaker ! homeip ! net>
Date: 2008-09-26 9:42:05
Message-ID: 1222422125.136845.10063.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 864974 by weilbach:
Remove my half done switching on ac on/off, since this is now by default possible in PowerDevil.
M +0 -11 toggle_compositing.cpp
M +0 -3 toggle_compositing.hpp
--- trunk/playground/base/plasma/applets/toggle-compositing/toggle_compositing.cpp #864973:864974
@@ -58,12 +58,6 @@
connect(state_tmr, SIGNAL(timeout()),
this,SLOT(checkState()));
-
- Solid::PowerManagement::Notifier *notifier = Solid::PowerManagement::notifier();
-
- connect(notifier,SIGNAL(appShouldConserveResourcesChanged(bool)),
- this,SLOT(conservePower(bool)));
-
}
void ToggleCompositing::init(){
@@ -105,11 +99,6 @@
}
}
-void ToggleCompositing::conservePower(bool state){
- kDebug() << "new power state: " << state;
- writeState(!state);
-}
-
void ToggleCompositing::toggleState(void){
kDebug() <<"state was :" << m_state;
--- trunk/playground/base/plasma/applets/toggle-compositing/toggle_compositing.hpp #864973:864974
@@ -67,9 +67,6 @@
QTimer *state_tmr;
bool m_state;
Plasma::Svg *m_btn;
-
- private slots:
- void conservePower(bool);
};
K_EXPORT_PLASMA_APPLET(toggle_compositing, ToggleCompositing )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic