summaryrefslogtreecommitdiffstats
path: root/knode/knode_part.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /knode/knode_part.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;
}