summaryrefslogtreecommitdiffstats
path: root/konversation/src/konsolepanel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konversation/src/konsolepanel.cpp')
-rw-r--r--konversation/src/konsolepanel.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/konversation/src/konsolepanel.cpp b/konversation/src/konsolepanel.cpp
index e604d37..483bd35 100644
--- a/konversation/src/konsolepanel.cpp
+++ b/konversation/src/konsolepanel.cpp
@@ -25,15 +25,15 @@ KonsolePanel::KonsolePanel(TQWidget *p) : ChatWindow( p ), k_part (0)
KLibFactory *fact = KLibLoader::self()->factory("libkonsolepart");
if (!fact) return;
- k_part = (KParts::ReadOnlyPart *) fact->create(TQT_TQOBJECT(this));
+ k_part = (KParts::ReadOnlyPart *) fact->create(this);
if (!k_part) return;
- k_part->widget()->setFocusPolicy(TQ_WheelFocus);
+ k_part->widget()->setFocusPolicy(TQWidget::WheelFocus);
setFocusProxy(k_part->widget());
k_part->widget()->setFocus();
- connect(k_part, TQT_SIGNAL(destroyed()), this, TQT_SLOT(partDestroyed()));
- connect(k_part, TQT_SIGNAL(receivedData(const TQString&)), this, TQT_SLOT(konsoleChanged(const TQString&)));
+ connect(k_part, TQ_SIGNAL(destroyed()), this, TQ_SLOT(partDestroyed()));
+ connect(k_part, TQ_SIGNAL(receivedData(const TQString&)), this, TQ_SLOT(konsoleChanged(const TQString&)));
}
KonsolePanel::~KonsolePanel()
@@ -42,7 +42,7 @@ KonsolePanel::~KonsolePanel()
if ( k_part )
{
// make sure to prevent partDestroyed() signals from being sent
- disconnect(k_part, TQT_SIGNAL(destroyed()), this, TQT_SLOT(partDestroyed()));
+ disconnect(k_part, TQ_SIGNAL(destroyed()), this, TQ_SLOT(partDestroyed()));
delete k_part;
}
}