summaryrefslogtreecommitdiffstats
path: root/kppp/loginterm.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitbcb704366cb5e333a626c18c308c7e0448a8e69f (patch)
treef0d6ab7d78ecdd9207cf46536376b44b91a1ca71 /kppp/loginterm.h
downloadtdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.tar.gz
tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kppp/loginterm.h')
-rw-r--r--kppp/loginterm.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/kppp/loginterm.h b/kppp/loginterm.h
new file mode 100644
index 00000000..1fa3f05d
--- /dev/null
+++ b/kppp/loginterm.h
@@ -0,0 +1,50 @@
+#ifndef _LOGINTERM_H_
+#define _LOGINTERM_H_
+
+#include <qdialog.h>
+#include <qmultilineedit.h>
+#include <qapplication.h>
+#include <qtimer.h>
+
+class LoginMultiLineEdit : public QMultiLineEdit {
+
+ Q_OBJECT
+
+public:
+
+ LoginMultiLineEdit(QWidget *parent, const char *name);
+ ~LoginMultiLineEdit();
+
+ void keyPressEvent(QKeyEvent *k);
+ void insertChar(unsigned char c);
+ void myreturn();
+ void mynewline();
+
+public slots:
+ void readChar(unsigned char);
+};
+
+
+class LoginTerm : public QDialog {
+ Q_OBJECT
+public:
+ LoginTerm(QWidget *parent, const char *name);
+
+ bool pressedContinue();
+
+public slots:
+ void cancelbutton();
+ void continuebutton();
+
+private:
+ LoginMultiLineEdit *text_window;
+ QPushButton *cancel_b;
+ QPushButton *continue_b;
+
+ bool cont;
+};
+
+#endif
+
+
+