diff options
Diffstat (limited to 'src/debugwindow.h')
-rw-r--r-- | src/debugwindow.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/debugwindow.h b/src/debugwindow.h index c078aec..2ab099e 100644 --- a/src/debugwindow.h +++ b/src/debugwindow.h @@ -21,32 +21,33 @@ #ifndef DEBUGWINDOW_H #define DEBUGWINDOW_H -#include <qwidget.h> +#include <tqwidget.h> -class QVBoxLayout; -class QTextBrowser; -class QString; -class QCloseEvent; +class TQVBoxLayout; +class TQTextBrowser; +class TQString; +class TQCloseEvent; /**A simple window that display text through debuging messages. *@author Sébastien Laoût */ -class DebugWindow : public QWidget { +class DebugWindow : public TQWidget { Q_OBJECT + TQ_OBJECT public: /** Construtor and destructor */ - DebugWindow(QWidget *parent = 0, const char *name = 0); + DebugWindow(TQWidget *tqparent = 0, const char *name = 0); ~DebugWindow(); /** Methods to post a message to the debug window */ - void postMessage(const QString msg); - DebugWindow& operator<<(const QString msg); + void postMessage(const TQString msg); + DebugWindow& operator<<(const TQString msg); void insertHLine(); protected: - virtual void closeEvent(QCloseEvent *event); + virtual void closeEvent(TQCloseEvent *event); private: - QVBoxLayout *layout; - QTextBrowser *textBrowser; + TQVBoxLayout *tqlayout; + TQTextBrowser *textBrowser; }; #define DEBUG_WIN if (Global::debugWindow) *Global::debugWindow |