diff options
Diffstat (limited to 'mathemagics/keypad.h')
-rw-r--r-- | mathemagics/keypad.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/mathemagics/keypad.h b/mathemagics/keypad.h index 79d12ec..df5ffee 100644 --- a/mathemagics/keypad.h +++ b/mathemagics/keypad.h @@ -1,41 +1,41 @@ #ifndef KEYPAD_H #define KEYPAD_H -#include <qwidget.h> -#include <qpushbutton.h> -#include <qstring.h> +#include <ntqwidget.h> +#include <ntqpushbutton.h> +#include <ntqstring.h> -class QCloseEvent; +class TQCloseEvent; -class CharButton : public QPushButton +class CharButton : public TQPushButton { Q_OBJECT public: - CharButton(const QString &text, QWidget *parent=0, const char *name=0); + CharButton(const TQString &text, TQWidget *parent=0, const char *name=0); ~CharButton() {} signals: - void clicked(const QString &); + void clicked(const TQString &); private slots: void emitClicked(); private: - QString m_text; + TQString m_text; }; -class MathKeypad : public QWidget +class MathKeypad : public TQWidget { Q_OBJECT public: - MathKeypad(QWidget *parent=0, const char *name=0); + MathKeypad(TQWidget *parent=0, const char *name=0); ~MathKeypad() {} signals: void closing(); - void insertChar(const QString &); + void insertChar(const TQString &); void add(); void subtract(); @@ -46,7 +46,7 @@ signals: void eex(); protected: - void closeEvent(QCloseEvent *); + void closeEvent(TQCloseEvent *); }; #endif |