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.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/parts/konsole/konsoleviewwidget.cpp b/parts/konsole/konsoleviewwidget.cpp
index 7c21cab2..76dfb6c3 100644
--- a/parts/konsole/konsoleviewwidget.cpp
+++ b/parts/konsole/konsoleviewwidget.cpp
@@ -30,7 +30,7 @@
KonsoleViewWidget::KonsoleViewWidget(KonsoleViewPart *part)
: TQWidget(0, "konsole widget"), part(0), owner( part )
{
- connect(part->partController(), TQT_SIGNAL(activePartChanged(KParts::Part*)), this, TQT_SLOT(activePartChanged(KParts::Part*)));
+ connect(part->partController(), TQ_SIGNAL(activePartChanged(KParts::Part*)), this, TQ_SLOT(activePartChanged(KParts::Part*)));
vbox = new TQVBoxLayout(this);
}
@@ -58,11 +58,11 @@ void KonsoleViewWidget::activate()
if (!part)
return;
- part->widget()->setFocusPolicy(TQ_WheelFocus);
+ part->widget()->setFocusPolicy(TQWidget::WheelFocus);
setFocusProxy(part->widget());
part->widget()->setFocus();
- if (part->widget()->inherits(TQFRAME_OBJECT_NAME_STRING))
+ if (part->widget()->inherits("TQFrame"))
((TQFrame*)part->widget())->setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
vbox->addWidget(part->widget());
@@ -70,7 +70,7 @@ void KonsoleViewWidget::activate()
// this->activePartChanged( owner->partController()->activePart() );
part->widget()->show();
- connect(part, TQT_SIGNAL(destroyed()), this, TQT_SLOT(partDestroyed()));
+ connect(part, TQ_SIGNAL(destroyed()), this, TQ_SLOT(partDestroyed()));
}
@@ -104,7 +104,7 @@ void KonsoleViewWidget::setDirectory(const KURL &dirUrl)
{
kdDebug(9035) << k_funcinfo << "Changing dirUrl.path() == " << dirUrl.path() << endl;
kdDebug(9035) << k_funcinfo << "Changing part->url.path() == " << part->url().path() << endl;
- TDEConfig* config = kapp->config();
+ TDEConfig* config = tdeApp->config();
kdDebug(9035) << k_funcinfo << "SyncTerminalEmulator: " << config->readBoolEntry("SyncTerminalEmulator") << endl;