diff options
Diffstat (limited to 'src/libgui/console.cpp')
-rw-r--r-- | src/libgui/console.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/libgui/console.cpp b/src/libgui/console.cpp index 99c996c..cff0c42 100644 --- a/src/libgui/console.cpp +++ b/src/libgui/console.cpp @@ -8,35 +8,35 @@ ***************************************************************************/ #include "console.h" -#include <qlayout.h> -#include <qlabel.h> -#include <qdir.h> +#include <tqlayout.h> +#include <tqlabel.h> +#include <tqdir.h> #include <klibloader.h> #include <klocale.h> #include <kparts/part.h> #include <kde_terminal_interface.h> -ConsoleView::ConsoleView(QWidget *parent) - : QWidget(parent, "console_view"), _initialized(false) +ConsoleView::ConsoleView(TQWidget *tqparent) + : TQWidget(tqparent, "console_view"), _initialized(false) {} -void ConsoleView::showEvent(QShowEvent *e) +void ConsoleView::showEvent(TQShowEvent *e) { if ( !_initialized ) { _initialized = true; KLibFactory *factory = KLibLoader::self()->factory("libkonsolepart"); - QVBoxLayout *top = new QVBoxLayout(this, 0, 10); + TQVBoxLayout *top = new TQVBoxLayout(this, 0, 10); if ( factory==0 ) { - QLabel *label = new QLabel(i18n("Could not find \"konsolepart\"; please install kdebase."), this); + TQLabel *label = new TQLabel(i18n("Could not tqfind \"konsolepart\"; please install kdebase."), this); label->show(); top->addWidget(label); return; } else { - QWidget *pwidget = static_cast<KParts::Part *>(factory->create(this, "konsole"))->widget(); + TQWidget *pwidget = static_cast<KParts::Part *>(factory->create(TQT_TQOBJECT(this), "konsole"))->widget(); pwidget->show(); top->addWidget(pwidget); setFocusProxy(pwidget); } } - QWidget::showEvent(e); + TQWidget::showEvent(e); } |