summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/pprogress.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/puke/pprogress.h')
-rw-r--r--ksirc/puke/pprogress.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/ksirc/puke/pprogress.h b/ksirc/puke/pprogress.h
new file mode 100644
index 00000000..f81fd976
--- /dev/null
+++ b/ksirc/puke/pprogress.h
@@ -0,0 +1,32 @@
+#ifndef PPROGRESS_H
+#define PPROGRESS_H
+
+class PProgress;
+
+#include "../KSProgress/ksprogress.h"
+#include "pmessage.h"
+//#include "pwidget.h"
+#include "pobject.h"
+#include "controller.h"
+
+class PProgress : public PWidget {
+ Q_OBJECT
+public:
+ static PObject *createWidget(CreateArgs &ca);
+
+ PProgress ( PObject * parent = 0);
+ virtual ~PProgress ();
+
+ virtual void messageHandler(int fd, PukeMessage *pm);
+
+ virtual void setWidget(QObject *_f);
+ virtual KSProgress *widget();
+
+protected slots:
+ void cancelPressed();
+
+private:
+ KSProgress *ksp;
+};
+
+#endif