summaryrefslogtreecommitdiff
path: root/core/settings/light-and-power/light.h
authorschurig <schurig>2003-06-06 14:32:51 (UTC)
committer schurig <schurig>2003-06-06 14:32:51 (UTC)
commit802e9457b1bc158c61849755215fe2a5bad6231d (patch) (side-by-side diff)
tree81b8a5cdb9d4b5beaee2f18eec6ca995ec8e77d2 /core/settings/light-and-power/light.h
parent225486a1c3714b4b0c0e60286df13d8ede029768 (diff)
downloadopie-802e9457b1bc158c61849755215fe2a5bad6231d.zip
opie-802e9457b1bc158c61849755215fe2a5bad6231d.tar.gz
opie-802e9457b1bc158c61849755215fe2a5bad6231d.tar.bz2
frequency change works now
Diffstat (limited to 'core/settings/light-and-power/light.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/light-and-power/light.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/settings/light-and-power/light.h b/core/settings/light-and-power/light.h
index 4a8bf6b..c48e5f6 100644
--- a/core/settings/light-and-power/light.h
+++ b/core/settings/light-and-power/light.h
@@ -27,12 +27,13 @@
*/
#ifndef __LIGHT_H__
#define __LIGHT_H__
#include <qstringlist.h>
+#include <qlistbox.h>
#include "lightsettingsbase.h"
class QTimer;
class LightSettings : public LightSettingsBase
{
@@ -48,18 +49,20 @@ protected:
protected slots:
virtual void calibrateSensor ( );
virtual void calibrateSensorAC ( );
void setBacklight ( int );
void setContrast ( int );
+ void setFrequency ( int );
void resetBacklight ( );
private:
int m_bres;
int m_cres;
int m_oldcontrast;
+ int m_oldfreq;
QTimer *m_resettimer;
QStringList m_sensordata;
QStringList m_sensordata_ac;
};