summaryrefslogtreecommitdiffstats
path: root/kommander/part/kommander_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/part/kommander_part.cpp')
-rw-r--r--kommander/part/kommander_part.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kommander/part/kommander_part.cpp b/kommander/part/kommander_part.cpp
index ef8ab5e1..d8645bc9 100644
--- a/kommander/part/kommander_part.cpp
+++ b/kommander/part/kommander_part.cpp
@@ -19,9 +19,9 @@
#include <kinstance.h>
#include <kparts/genericfactory.h>
-#include <qpoint.h>
-#include <qlayout.h>
-#include <qtimer.h>
+#include <tqpoint.h>
+#include <tqlayout.h>
+#include <tqtimer.h>
#include "instance.h"
#include "kommanderversion.h"
@@ -33,15 +33,15 @@ typedef KParts::GenericFactory<KommanderPart> KommanderPartFactory;
K_EXPORT_COMPONENT_FACTORY( libkommander_part, KommanderPartFactory )
-KommanderPart::KommanderPart( QWidget *parentWidget, const char * /*widgetName*/,
- QObject *parent, const char *name, const QStringList & /*args*/ )
+KommanderPart::KommanderPart( TQWidget *parentWidget, const char * /*widgetName*/,
+ TQObject *parent, const char *name, const TQStringList & /*args*/ )
: KParts::ReadOnlyPart(parent, name)
{
setInstance( KommanderPartFactory::instance() );
m_instance = 0L;
- m_widget = new QWidget(parentWidget);
+ m_widget = new TQWidget(parentWidget);
setWidget(m_widget);
- m_layout = new QGridLayout(m_widget);
+ m_layout = new TQGridLayout(m_widget);
}
KommanderPart::~KommanderPart()
@@ -66,7 +66,7 @@ bool KommanderPart::openFile()
delete m_instance;
m_instance = new Instance(0L);
m_instance->build(m_url);
- QTimer::singleShot(0, this, SLOT(slotRun()));
+ TQTimer::singleShot(0, this, TQT_SLOT(slotRun()));
emit setStatusBarText( m_url.prettyURL() );
return true;
@@ -74,10 +74,10 @@ bool KommanderPart::openFile()
void KommanderPart::slotRun()
{
- QWidget *w = m_instance->widget();
+ TQWidget *w = m_instance->widget();
if (w)
{
- w->reparent(m_widget, 0, QPoint(0,0));
+ 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
}