diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:03 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:03 -0600 |
commit | 9c9412b30c54468adc9e506cc76c5d113fbf5056 (patch) | |
tree | 68a0c0d5bc770fc58596b8c5624cdf33d8625027 /ksirc/mditoplevel.cpp | |
parent | 2e53bd0b77676f879fad7baeecea5879bf496a7d (diff) | |
download | tdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.tar.gz tdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.zip |
Rename a number of classes to enhance compatibility with KDE4
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; |