summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/ppushbt.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/puke/ppushbt.h')
-rw-r--r--ksirc/puke/ppushbt.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/ksirc/puke/ppushbt.h b/ksirc/puke/ppushbt.h
new file mode 100644
index 00000000..87336679
--- /dev/null
+++ b/ksirc/puke/ppushbt.h
@@ -0,0 +1,33 @@
+#ifndef PPUSHBUTTON_H
+#define PPUSHBUTTON_H
+
+class PPushButton;
+
+#include <qpushbutton.h>
+#include "pmessage.h"
+#include "pbutton.h"
+#include "pobject.h"
+#include "controller.h"
+
+class PPushButton : public PButton
+{
+ Q_OBJECT
+public:
+ static PObject *createWidget(CreateArgs &ca);
+
+ PPushButton ( PObject * parent );
+ virtual ~PPushButton ();
+
+ virtual void messageHandler(int fd, PukeMessage *pm);
+
+ virtual void setWidget(QObject *_b = 0);
+ virtual QPushButton *widget();
+
+public slots:
+
+private:
+ QPushButton *button;
+
+};
+
+#endif