You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
794 B
53 lines
794 B
#ifndef _LOGINTERM_H_
|
|
#define _LOGINTERM_H_
|
|
|
|
#include <tqdialog.h>
|
|
#include <tqmultilineedit.h>
|
|
#include <tqapplication.h>
|
|
#include <tqtimer.h>
|
|
|
|
class LoginMultiLineEdit : public TQMultiLineEdit {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
public:
|
|
|
|
LoginMultiLineEdit(TQWidget *parent, const char *name);
|
|
~LoginMultiLineEdit();
|
|
|
|
void keyPressEvent(TQKeyEvent *k);
|
|
void insertChar(unsigned char c);
|
|
void myreturn();
|
|
void mynewline();
|
|
|
|
public slots:
|
|
void readChar(unsigned char);
|
|
};
|
|
|
|
|
|
class LoginTerm : public TQDialog {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
LoginTerm(TQWidget *parent, const char *name);
|
|
|
|
bool pressedContinue();
|
|
|
|
public slots:
|
|
void cancelbutton();
|
|
void continuebutton();
|
|
|
|
private:
|
|
LoginMultiLineEdit *text_window;
|
|
TQPushButton *cancel_b;
|
|
TQPushButton *continue_b;
|
|
|
|
bool cont;
|
|
};
|
|
|
|
#endif
|
|
|
|
|
|
|