diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 19:02:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 19:02:47 +0000 |
commit | e985f7e545f4739493965aad69bbecb136dc9346 (patch) | |
tree | 54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /kommander/part/kommander_part.cpp | |
parent | f7670c198945adc3b95ad69a959fe5f8ae55b493 (diff) | |
download | tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip |
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kommander/part/kommander_part.cpp')
-rw-r--r-- | kommander/part/kommander_part.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kommander/part/kommander_part.cpp b/kommander/part/kommander_part.cpp index d8645bc9..58912dd9 100644 --- a/kommander/part/kommander_part.cpp +++ b/kommander/part/kommander_part.cpp @@ -33,13 +33,13 @@ typedef KParts::GenericFactory<KommanderPart> KommanderPartFactory; K_EXPORT_COMPONENT_FACTORY( libkommander_part, KommanderPartFactory ) -KommanderPart::KommanderPart( TQWidget *parentWidget, const char * /*widgetName*/, - TQObject *parent, const char *name, const TQStringList & /*args*/ ) - : KParts::ReadOnlyPart(parent, name) +KommanderPart::KommanderPart( TQWidget *tqparentWidget, const char * /*widgetName*/, + TQObject *tqparent, const char *name, const TQStringList & /*args*/ ) + : KParts::ReadOnlyPart(tqparent, name) { setInstance( KommanderPartFactory::instance() ); m_instance = 0L; - m_widget = new TQWidget(parentWidget); + m_widget = new TQWidget(tqparentWidget); setWidget(m_widget); m_layout = new TQGridLayout(m_widget); } @@ -79,7 +79,7 @@ void KommanderPart::slotRun() { w->reparent(m_widget, 0, TQPoint(0,0)); m_layout->addWidget(w, 0, 0); - w->show(); //show, not execute, so it doesn't block the parent + w->show(); //show, not execute, so it doesn't block the tqparent } } |