summaryrefslogtreecommitdiffstats
path: root/src/debugwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/debugwindow.cpp')
-rw-r--r--src/debugwindow.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/debugwindow.cpp b/src/debugwindow.cpp
index 7df259e..d6e5b0e 100644
--- a/src/debugwindow.cpp
+++ b/src/debugwindow.cpp
@@ -18,42 +18,42 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#include <qlayout.h>
-#include <qtextbrowser.h>
-#include <qstring.h>
-#include <qevent.h>
+#include <tqlayout.h>
+#include <tqtextbrowser.h>
+#include <tqstring.h>
+#include <tqevent.h>
#include <klocale.h>
#include "global.h"
#include "debugwindow.h"
-DebugWindow::DebugWindow(QWidget *parent, const char *name )
- : QWidget(parent, name != 0 ? name : "DebugWindow")
+DebugWindow::DebugWindow(TQWidget *tqparent, const char *name )
+ : TQWidget(tqparent, name != 0 ? name : "DebugWindow")
{
Global::debugWindow = this;
setCaption(i18n("Debug Window"));
- layout = new QVBoxLayout(this);
- textBrowser = new QTextBrowser(this);
+ tqlayout = new TQVBoxLayout(this);
+ textBrowser = new TQTextBrowser(this);
- textBrowser->setWordWrap(QTextBrowser::NoWrap);
+ textBrowser->setWordWrap(TQTextBrowser::NoWrap);
- layout->addWidget(textBrowser);
+ tqlayout->addWidget(textBrowser);
textBrowser->show();
}
DebugWindow::~DebugWindow()
{
delete textBrowser;
- delete layout;
+ delete tqlayout;
}
-void DebugWindow::postMessage(const QString msg)
+void DebugWindow::postMessage(const TQString msg)
{
textBrowser->append(msg);
}
-DebugWindow& DebugWindow::operator<<(const QString msg)
+DebugWindow& DebugWindow::operator<<(const TQString msg)
{
textBrowser->append(msg);
return *this;
@@ -64,10 +64,10 @@ void DebugWindow::insertHLine()
textBrowser->append("<hr>");
}
-void DebugWindow::closeEvent(QCloseEvent *event)
+void DebugWindow::closeEvent(TQCloseEvent *event)
{
Global::debugWindow = 0L;
- QWidget::closeEvent(event);
+ TQWidget::closeEvent(event);
}
#include "debugwindow.moc"