kmilo
kmilointerface.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
00023 #ifndef _KMILOI_H_
00024 #define _KMILOI_H_
00025
00026 #include <QObject>
00027
00028
00029 #include <QPixmap>
00030 #include "kmilod.h"
00031 #include <kdemacros.h>
00032
00033
00034 namespace KMilo {
00035
00036
00037 class KDE_EXPORT KMiloInterface : public QObject {
00038 Q_OBJECT
00039 public:
00040 KMiloInterface(KMiloD *p);
00041 virtual ~KMiloInterface();
00042
00043 public slots:
00044 int pollMilliSeconds() const;
00045 bool setPollMilliSeconds(int ms);
00046 void displayText(const QString& text);
00047 void displayText(const QString& text, const QPixmap& customPixmap);
00048 void displayProgress(const QString& text, int progress, const QPixmap&
00049 customPixmap);
00050 void displayProgress(const QString& text, int progress);
00051 void reconfigure();
00052
00053 private:
00054 KMiloD *_p;
00055 };
00056
00057 }
00058
00059 #endif