summaryrefslogtreecommitdiffstats
path: root/knode/knode_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/knode_part.cpp')
-rw-r--r--knode/knode_part.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/knode/knode_part.cpp b/knode/knode_part.cpp
index b1280ced5..52b3e4dd6 100644
--- a/knode/knode_part.cpp
+++ b/knode/knode_part.cpp
@@ -41,14 +41,14 @@
#include <kstatusbar.h>
#include <krsqueezedtextlabel.h>
-#include <qlayout.h>
+#include <tqlayout.h>
typedef KParts::GenericFactory< KNodePart > KNodeFactory;
K_EXPORT_COMPONENT_FACTORY( libknodepart, KNodeFactory )
-KNodePart::KNodePart(QWidget *parentWidget, const char *widgetName,
- QObject *parent, const char *name, const QStringList &)
+KNodePart::KNodePart(TQWidget *parentWidget, const char *widgetName,
+ TQObject *parent, const char *name, const TQStringList &)
: KParts::ReadOnlyPart(parent, name),
mParentWidget( parentWidget )
{
@@ -67,14 +67,14 @@ KNodePart::KNodePart(QWidget *parentWidget, const char *widgetName,
knGlobals.instance = KNodeFactory::instance();
// create a canvas to insert our widget
- QWidget *canvas = new QWidget(parentWidget, widgetName);
- canvas->setFocusPolicy(QWidget::ClickFocus);
+ TQWidget *canvas = new TQWidget(parentWidget, widgetName);
+ canvas->setFocusPolicy(TQWidget::ClickFocus);
setWidget(canvas);
mainWidget = new KNMainWidget( this, false, canvas, "knode_widget" );
- QVBoxLayout *topLayout = new QVBoxLayout(canvas);
+ TQVBoxLayout *topLayout = new TQVBoxLayout(canvas);
topLayout->addWidget(mainWidget);
- mainWidget->setFocusPolicy(QWidget::ClickFocus);
+ mainWidget->setFocusPolicy(TQWidget::ClickFocus);
kapp->dcopClient()->resume(); // Ok. We are ready for DCOP requests.
@@ -114,7 +114,7 @@ void KNodePart::guiActivateEvent(KParts::GUIActivateEvent *e)
}
-QWidget* KNodePart::parentWidget() const
+TQWidget* KNodePart::parentWidget() const
{
return mParentWidget;
}