diff options
Diffstat (limited to 'kdbg/ttywnd.h')
-rw-r--r-- | kdbg/ttywnd.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kdbg/ttywnd.h b/kdbg/ttywnd.h index 3995ffc..51be8e9 100644 --- a/kdbg/ttywnd.h +++ b/kdbg/ttywnd.h @@ -7,10 +7,10 @@ #ifndef TTYWND_H #define TTYWND_H -#include <qtextedit.h> +#include <ntqtextedit.h> -class QSocketNotifier; -class QPopupMenu; +class TQSocketNotifier; +class TQPopupMenu; /** * This class is cortesy Judin Max <novaprint@mtu-net.ru>. @@ -23,14 +23,14 @@ class QPopupMenu; * establish the stdin, stdout, and stderr channels the file descriptor * obtained by this must be dup'd to file descriptors 0, 1, and 2, resp. */ -class STTY : public QObject +class STTY : public TQObject { Q_OBJECT public: STTY(); ~STTY(); - QString slaveTTY(){ return m_slavetty; }; + TQString slaveTTY(){ return m_slavetty; }; protected slots: void outReceived(int); @@ -41,24 +41,24 @@ signals: protected: int m_masterfd; int m_slavefd; - QSocketNotifier* m_outNotifier; - QString m_slavetty; + TQSocketNotifier* m_outNotifier; + TQString m_slavetty; bool findTTY(); }; -class TTYWindow : public QTextEdit +class TTYWindow : public TQTextEdit { Q_OBJECT public: - TTYWindow(QWidget* parent, const char* name); + TTYWindow(TQWidget* parent, const char* name); ~TTYWindow(); - QString activate(); + TQString activate(); void deactivate(); protected: STTY* m_tty; - virtual QPopupMenu* createPopupMenu(const QPoint& pos); + virtual TQPopupMenu* createPopupMenu(const TQPoint& pos); int m_hPos; //!< tracks horizontal cursor position protected slots: |