summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/plined.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/puke/plined.h')
-rw-r--r--ksirc/puke/plined.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/ksirc/puke/plined.h b/ksirc/puke/plined.h
new file mode 100644
index 00000000..78f04bdf
--- /dev/null
+++ b/ksirc/puke/plined.h
@@ -0,0 +1,33 @@
+#ifndef PLINEEDIT_H
+#define PLINEEDIT_H
+
+class PLineEdit;
+
+#include <qlineedit.h>
+#include "pmessage.h"
+#include "pwidget.h"
+#include "controller.h"
+
+class PLineEdit : public PWidget
+{
+ Q_OBJECT
+public:
+ static PObject *createWidget(CreateArgs &ca);
+
+ PLineEdit ( PObject * parent );
+ virtual ~PLineEdit ();
+
+ virtual void messageHandler(int fd, PukeMessage *pm);
+
+ virtual void setWidget(QObject *_f);
+ virtual QLineEdit *widget();
+
+public slots:
+ void updateText(const char *);
+ void returnPress();
+
+private:
+ QLineEdit *lineedit;
+};
+
+#endif