kmilo
kmilo_kvaio.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 _KMILO_KVAIO_H_
00023 #define _KMILO_KVAIO_H_
00024
00025 #include <kxmlguiwindow.h>
00026 #include <kglobalaccel.h>
00027 #include <kapplication.h>
00028
00029 #include "kmilod.h"
00030 #include "monitor.h"
00031 #include "kmilointerface.h"
00032
00033 class KVaio;
00034
00035 class KMiloKVaio : public KMilo::Monitor {
00036
00037
00038 public:
00039 KMiloKVaio(QObject *parent, const QVariantList&);
00040 virtual ~KMiloKVaio();
00041
00042 virtual bool init();
00043 virtual DisplayType poll();
00044 virtual int progress() const;
00045
00046 virtual void reconfigure(KConfig*);
00047
00048
00049 bool showTextMsg(const QString& msg) {
00050 _interface->displayText(msg);
00051 return true;
00052 }
00053 bool showProgressMsg(const QString& msg, int progress) {
00054 _interface->displayProgress(msg,progress);
00055 return true;
00056 }
00057
00058 private:
00059 KVaio *m_kvaio;
00060 Monitor::DisplayType m_displayType;
00061 };
00062
00063
00064 #endif