summaryrefslogtreecommitdiffstats
path: root/parts/konsole/konsoleviewwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/konsole/konsoleviewwidget.cpp')
-rw-r--r--parts/konsole/konsoleviewwidget.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/parts/konsole/konsoleviewwidget.cpp b/parts/konsole/konsoleviewwidget.cpp
index e7a84d94..1604a321 100644
--- a/parts/konsole/konsoleviewwidget.cpp
+++ b/parts/konsole/konsoleviewwidget.cpp
@@ -9,9 +9,9 @@
* *
***************************************************************************/
-#include <qlayout.h>
-#include <qframe.h>
-#include <qdir.h>
+#include <tqlayout.h>
+#include <tqframe.h>
+#include <tqdir.h>
#include <kparts/part.h>
#include <klibloader.h>
@@ -28,10 +28,10 @@
#include "konsoleviewwidget.h"
KonsoleViewWidget::KonsoleViewWidget(KonsoleViewPart *part)
- : QWidget(0, "konsole widget"), part(0), owner( part )
+ : TQWidget(0, "konsole widget"), part(0), owner( part )
{
- connect(part->partController(), SIGNAL(activePartChanged(KParts::Part*)), this, SLOT(activePartChanged(KParts::Part*)));
- vbox = new QVBoxLayout(this);
+ connect(part->partController(), TQT_SIGNAL(activePartChanged(KParts::Part*)), this, TQT_SLOT(activePartChanged(KParts::Part*)));
+ vbox = new TQVBoxLayout(this);
}
KonsoleViewWidget::~KonsoleViewWidget()
@@ -41,7 +41,7 @@ KonsoleViewWidget::~KonsoleViewWidget()
void KonsoleViewWidget::show()
{
activate();
- QWidget::show();
+ TQWidget::show();
}
void KonsoleViewWidget::activate()
@@ -58,19 +58,19 @@ void KonsoleViewWidget::activate()
if (!part)
return;
- part->widget()->setFocusPolicy(QWidget::WheelFocus);
+ part->widget()->setFocusPolicy(TQWidget::WheelFocus);
setFocusProxy(part->widget());
part->widget()->setFocus();
- if (part->widget()->inherits("QFrame"))
- ((QFrame*)part->widget())->setFrameStyle(QFrame::Panel|QFrame::Sunken);
+ if (part->widget()->inherits("TQFrame"))
+ ((TQFrame*)part->widget())->setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
vbox->addWidget(part->widget());
// this->activePartChanged( owner->partController()->activePart() );
part->widget()->show();
- connect(part, SIGNAL(destroyed()), this, SLOT(partDestroyed()));
+ connect(part, TQT_SIGNAL(destroyed()), this, TQT_SLOT(partDestroyed()));
}
@@ -84,7 +84,7 @@ void KonsoleViewWidget::activePartChanged(KParts::Part *activatedPart)
kdDebug(9035) << k_funcinfo << "part is null or not local" << endl;
return;
}
- QString dir;
+ TQString dir;
if (ro_part)
dir = ro_part->url().directory();
else if (owner->project())