summaryrefslogtreecommitdiffstats
path: root/src/debugwindow.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-17 08:20:48 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-17 08:20:48 +0000
commitaa0726b20f398264f0a2abc60215be044b106f9c (patch)
tree070fdbc19a1106cfdd7f651a8ce76bb1b89a513d /src/debugwindow.h
parentd3cf5b3e75aadc3b02d0b56f030d4c3f8c2c749d (diff)
downloadbasket-aa0726b20f398264f0a2abc60215be044b106f9c.tar.gz
basket-aa0726b20f398264f0a2abc60215be044b106f9c.zip
TQt4 port basket
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1232416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/debugwindow.h')
-rw-r--r--src/debugwindow.h25
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