summaryrefslogtreecommitdiffstats
path: root/tdeparts/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeparts/mainwindow.cpp')
-rw-r--r--tdeparts/mainwindow.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/tdeparts/mainwindow.cpp b/tdeparts/mainwindow.cpp
index b3245da9b..26adbd838 100644
--- a/tdeparts/mainwindow.cpp
+++ b/tdeparts/mainwindow.cpp
@@ -61,21 +61,21 @@ MainWindow::MainWindow( TQWidget* parent, const char *name, WFlags f )
: TDEMainWindow( parent, name, f )
{
d = new MainWindowPrivate();
- PartBase::setPartObject( TQT_TQOBJECT(this) );
+ PartBase::setPartObject( this );
}
MainWindow::MainWindow( const char *name, WFlags f )
: TDEMainWindow( 0L, name, f )
{
d = new MainWindowPrivate();
- PartBase::setPartObject( TQT_TQOBJECT(this) );
+ PartBase::setPartObject( this );
}
MainWindow::MainWindow( int cflags, TQWidget* parent, const char *name, WFlags f )
: TDEMainWindow( cflags, parent, name, f )
{
d = new MainWindowPrivate();
- PartBase::setPartObject( TQT_TQOBJECT(this) );
+ PartBase::setPartObject( this );
}
MainWindow::~MainWindow()
@@ -107,15 +107,15 @@ void MainWindow::createGUI( Part * part )
factory->removeClient( d->m_activePart );
- disconnect( d->m_activePart, TQT_SIGNAL( setWindowCaption( const TQString & ) ),
- this, TQT_SLOT( setCaption( const TQString & ) ) );
- disconnect( d->m_activePart, TQT_SIGNAL( setStatusBarText( const TQString & ) ),
- this, TQT_SLOT( slotSetStatusBarText( const TQString & ) ) );
+ disconnect( d->m_activePart, TQ_SIGNAL( setWindowCaption( const TQString & ) ),
+ this, TQ_SLOT( setCaption( const TQString & ) ) );
+ disconnect( d->m_activePart, TQ_SIGNAL( setStatusBarText( const TQString & ) ),
+ this, TQ_SLOT( slotSetStatusBarText( const TQString & ) ) );
}
if ( !d->m_bShellGUIActivated )
{
- loadPlugins( TQT_TQOBJECT(this), this, TDEGlobal::instance() );
+ loadPlugins( this, this, TDEGlobal::instance() );
createShellGUI();
d->m_bShellGUIActivated = true;
}
@@ -123,10 +123,10 @@ void MainWindow::createGUI( Part * part )
if ( part )
{
// do this before sending the activate event
- connect( part, TQT_SIGNAL( setWindowCaption( const TQString & ) ),
- this, TQT_SLOT( setCaption( const TQString & ) ) );
- connect( part, TQT_SIGNAL( setStatusBarText( const TQString & ) ),
- this, TQT_SLOT( slotSetStatusBarText( const TQString & ) ) );
+ connect( part, TQ_SIGNAL( setWindowCaption( const TQString & ) ),
+ this, TQ_SLOT( setCaption( const TQString & ) ) );
+ connect( part, TQ_SIGNAL( setStatusBarText( const TQString & ) ),
+ this, TQ_SLOT( slotSetStatusBarText( const TQString & ) ) );
factory->addClient( part );