diff options
author | Michele Calgaro <[email protected]> | 2023-11-18 16:43:52 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-20 13:16:58 +0900 |
commit | 8f924d271a4771b8046697fefd778d895a54d93d (patch) | |
tree | dee126661eaa1600216fef50aff302c8603f8ad6 /konqueror/konq_viewmgr.cpp | |
parent | d2412f01de96943fe2cb62e9104506a6b9b9b7e6 (diff) | |
download | tdebase-8f924d271a4771b8046697fefd778d895a54d93d.tar.gz tdebase-8f924d271a4771b8046697fefd778d895a54d93d.zip |
Replace various strings '#define'd in tqtinterface
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'konqueror/konq_viewmgr.cpp')
-rw-r--r-- | konqueror/konq_viewmgr.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/konqueror/konq_viewmgr.cpp b/konqueror/konq_viewmgr.cpp index 2bcd3e52c..5c5bdc29b 100644 --- a/konqueror/konq_viewmgr.cpp +++ b/konqueror/konq_viewmgr.cpp @@ -408,7 +408,7 @@ void KonqViewManager::duplicateTab( KonqFrameBase* tab, bool openAfterCurrentPag KonqFrameBase* currentFrame; if ( tab == 0L ) - currentFrame = tqt_dynamic_cast<KonqFrameBase*>(tabContainer->currentPage()); + currentFrame = dynamic_cast<KonqFrameBase*>(tabContainer->currentPage()); else currentFrame = tab; @@ -449,7 +449,7 @@ void KonqViewManager::duplicateTab( KonqFrameBase* tab, bool openAfterCurrentPag else tabContainer->setCurrentPage( tabContainer->count() - 1 ); - KonqFrameBase* duplicatedFrame = tqt_dynamic_cast<KonqFrameBase*>(tabContainer->currentPage()); + KonqFrameBase* duplicatedFrame = dynamic_cast<KonqFrameBase*>(tabContainer->currentPage()); if (duplicatedFrame) duplicatedFrame->copyHistory( currentFrame ); @@ -478,7 +478,7 @@ void KonqViewManager::breakOffTab( KonqFrameBase* tab ) KonqFrameBase* currentFrame; if ( tab == 0L ) - currentFrame = tqt_dynamic_cast<KonqFrameBase*>(tabContainer->currentPage()); + currentFrame = dynamic_cast<KonqFrameBase*>(tabContainer->currentPage()); else currentFrame = tab; @@ -506,7 +506,7 @@ void KonqViewManager::breakOffTab( KonqFrameBase* tab ) if( newDocContainer && newDocContainer->frameType() == "Tabs") { KonqFrameTabs *kft = static_cast<KonqFrameTabs *>(newDocContainer); - KonqFrameBase *newFrame = tqt_dynamic_cast<KonqFrameBase*>(kft->currentPage()); + KonqFrameBase *newFrame = dynamic_cast<KonqFrameBase*>(kft->currentPage()); if(newFrame) newFrame->copyHistory( currentFrame ); } @@ -551,7 +551,7 @@ void KonqViewManager::removeTab( KonqFrameBase* tab ) if ( tab != 0L ) { currentFrame = tab; } else { - currentFrame = tqt_dynamic_cast<KonqFrameBase*>(tabContainer->currentPage()); + currentFrame = dynamic_cast<KonqFrameBase*>(tabContainer->currentPage()); if (!currentFrame) { return; } @@ -620,7 +620,7 @@ void KonqViewManager::removeOtherTabs( KonqFrameBase* tab ) KonqFrameBase *currentFrame; if ( tab == 0L ) - currentFrame = tqt_dynamic_cast<KonqFrameBase*>(tabContainer->currentPage()); + currentFrame = dynamic_cast<KonqFrameBase*>(tabContainer->currentPage()); else currentFrame = tab; @@ -1641,7 +1641,7 @@ void KonqViewManager::loadItem( TDEConfig &cfg, KonqFrameContainerBase *parent, loadItem( cfg, newContainer, *it, defaultURL, openURL ); TQWidget* currentPage = newContainer->currentPage(); if (currentPage != 0L) { - KonqView* activeChildView = tqt_dynamic_cast<KonqFrameBase*>(currentPage)->activeChildView(); + KonqView* activeChildView = dynamic_cast<KonqFrameBase*>(currentPage)->activeChildView(); if (activeChildView != 0L) { activeChildView->setCaption( activeChildView->caption() ); activeChildView->setTabIcon( activeChildView->url() ); @@ -1649,7 +1649,7 @@ void KonqViewManager::loadItem( TDEConfig &cfg, KonqFrameContainerBase *parent, } } - newContainer->setActiveChild( tqt_dynamic_cast<KonqFrameBase*>(newContainer->page(index)) ); + newContainer->setActiveChild( dynamic_cast<KonqFrameBase*>(newContainer->page(index)) ); newContainer->setCurrentPage( index ); newContainer->show(); |