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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/settings/light-and-power/light.h b/core/settings/light-and-power/light.h index c48e5f6..83d5520 100644 --- a/core/settings/light-and-power/light.h +++ b/core/settings/light-and-power/light.h @@ -21,48 +21,49 @@ -. .:....=;==+<; General Public License along with this file; -_. . . )=. = see the file COPYING. If not, write to the -- :-=` Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef __LIGHT_H__ #define __LIGHT_H__ #include <qstringlist.h> #include <qlistbox.h> #include "lightsettingsbase.h" class QTimer; class LightSettings : public LightSettingsBase { Q_OBJECT public: LightSettings( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~LightSettings(); + static QString appName() { return QString::fromLatin1("light-and-power"); } protected: virtual void accept(); virtual void done ( int r ); 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; }; |