kmilo
main.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef KCMKVAIO_MAIN_H
00023 #define KCMKVAIO_MAIN_H
00024
00025 #define KDE3_SUPPORT
00026 #include <kcmodule.h>
00027 #undef KDE3_SUPPORT
00028 #include "../kvaiodriverinterface.h"
00029
00030 class QTimer;
00031 class KCMKVaioGeneral;
00032
00033 class KVaioModule : public KCModule
00034 {
00035 Q_OBJECT
00036
00037 public:
00038 KVaioModule(QWidget *parent, const QStringList &);
00039
00040 void save();
00041 void load();
00042 void defaults();
00043
00044 protected slots:
00045 void timeout();
00046 void vaioEvent (int);
00047 private:
00048 KCMKVaioGeneral *mKVaioGeneral;
00049 KVaioDriverInterface *mDriver;
00050 QTimer *mTimer;
00051 bool mDriverAvailable;
00052 };
00053
00054 #endif // KCMKVAIO_MAIN_H