summaryrefslogtreecommitdiffstats
path: root/lib/util/kdevshellwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/kdevshellwidget.cpp')
-rw-r--r--lib/util/kdevshellwidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/util/kdevshellwidget.cpp b/lib/util/kdevshellwidget.cpp
index f9f07fd8..0ea05299 100644
--- a/lib/util/kdevshellwidget.cpp
+++ b/lib/util/kdevshellwidget.cpp
@@ -20,8 +20,8 @@
#include "kdevshellwidget.h"
-KDevShellWidget::KDevShellWidget(TQWidget *parent, const char *name)
- : TQVBox(parent, name), m_doAutoActivate( false ), m_isRunning( false )
+KDevShellWidget::KDevShellWidget(TQWidget *tqparent, const char *name)
+ : TQVBox(tqparent, name), m_doAutoActivate( false ), m_isRunning( false )
{
}
@@ -41,14 +41,14 @@ void KDevShellWidget::activate( )
KLibFactory *factory = KLibLoader::self()->factory("libkonsolepart");
if ( !factory ) return;
- m_konsolePart = (KParts::ReadOnlyPart *) factory->create( this, "libkonsolepart", "KParts::ReadOnlyPart" );
+ m_konsolePart = (KParts::ReadOnlyPart *) factory->create( TQT_TQOBJECT(this), "libkonsolepart", "KParts::ReadOnlyPart" );
if ( !m_konsolePart ) return;
connect( m_konsolePart, TQT_SIGNAL( processExited(KProcess *) ), this, TQT_SLOT( processExited(KProcess *) ) );
connect( m_konsolePart, TQT_SIGNAL( receivedData( const TQString& ) ), this, TQT_SIGNAL( receivedData( const TQString& ) ) );
connect( m_konsolePart, TQT_SIGNAL(destroyed()), this, TQT_SLOT(partDestroyed()) );
- m_konsolePart->widget()->setFocusPolicy( TQWidget::WheelFocus );
+ m_konsolePart->widget()->setFocusPolicy( TQ_WheelFocus );
setFocusProxy( m_konsolePart->widget() );
m_konsolePart->widget()->setFocus();