summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/plabel.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/puke/plabel.h')
-rw-r--r--ksirc/puke/plabel.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/ksirc/puke/plabel.h b/ksirc/puke/plabel.h
new file mode 100644
index 00000000..c53705b1
--- /dev/null
+++ b/ksirc/puke/plabel.h
@@ -0,0 +1,34 @@
+#ifndef PLABEL_H
+#define PLABEL_H
+
+class PLabel;
+
+#include <qlabel.h>
+#include "pmessage.h"
+#include "pframe.h"
+#include "controller.h"
+
+class PLabel : public PFrame
+{
+ Q_OBJECT
+public:
+ static PObject *createWidget(CreateArgs &ca);
+
+ PLabel ( PObject * parent );
+ virtual ~PLabel ();
+
+ virtual void messageHandler(int fd, PukeMessage *pm);
+
+ virtual void setWidget(QObject *_obj = 0);
+ virtual QLabel *widget();
+
+public slots:
+
+protected:
+ bool checkWidget();
+
+private:
+ QLabel *label;
+};
+
+#endif