diff options
Diffstat (limited to 'ksirc/mditoplevel.cpp')
-rw-r--r-- | ksirc/mditoplevel.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ksirc/mditoplevel.cpp b/ksirc/mditoplevel.cpp index c6047674..55992ccb 100644 --- a/ksirc/mditoplevel.cpp +++ b/ksirc/mditoplevel.cpp @@ -30,7 +30,7 @@ void KSTabWidget::mousePressEvent(TQMouseEvent *e) } MDITopLevel::MDITopLevel(TQWidget *parent, const char *name) - : KMainWindow(parent, name) + : TDEMainWindow(parent, name) { m_closing = false; @@ -53,7 +53,7 @@ MDITopLevel::MDITopLevel(TQWidget *parent, const char *name) m_dirtyIcon = UserIcon( "star" ); m_addressedIcon = UserIcon( "info" ); - m_pop = new KPopupMenu(m_tab, ""); + m_pop = new TDEPopupMenu(m_tab, ""); m_pop->insertItem( SmallIcon("fileclose"), i18n("Close"), this, TQT_SLOT( slotCloseLastWid() )); } @@ -161,7 +161,7 @@ void MDITopLevel::closeEvent( TQCloseEvent *ev ) delete (TQWidget *)w; } - KMainWindow::closeEvent( ev ); + TDEMainWindow::closeEvent( ev ); m_closing = false; } @@ -207,7 +207,7 @@ void MDITopLevel::slotMarkPageDirty( bool addressed ) { // This is called when a line appeared in this channel. // addressed is true if it was addressed to the user - KMainWindow *window = dynamic_cast<KMainWindow *>( TQT_TQWIDGET(const_cast<TQT_BASE_OBJECT_NAME *>( sender() )) ); + TDEMainWindow *window = dynamic_cast<TDEMainWindow *>( TQT_TQWIDGET(const_cast<TQT_BASE_OBJECT_NAME *>( sender() )) ); if ( !window ) return; @@ -225,7 +225,7 @@ void MDITopLevel::slotMarkPageDirty( bool addressed ) void MDITopLevel::slotChangeChannelName( const TQString &, const TQString &channelName ) { - KMainWindow *window = dynamic_cast<KMainWindow *>( TQT_TQWIDGET(const_cast<TQT_BASE_OBJECT_NAME *>( sender() )) ); + TDEMainWindow *window = dynamic_cast<TDEMainWindow *>( TQT_TQWIDGET(const_cast<TQT_BASE_OBJECT_NAME *>( sender() )) ); if ( !window ) return; |