diff options
author | Michele Calgaro <[email protected]> | 2023-11-18 16:43:52 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-20 13:18:04 +0900 |
commit | 4a6f4a17320917d60610036649b6192289c3f4a5 (patch) | |
tree | 27f568667018288fd8ba55ba98f8266867104db2 /konqueror/konq_viewmgr.cpp | |
parent | 06606d2ade0b66ab64cee3da0ac9792f55359121 (diff) | |
download | tdebase-4a6f4a17320917d60610036649b6192289c3f4a5.tar.gz tdebase-4a6f4a17320917d60610036649b6192289c3f4a5.zip |
Replace various strings '#define'd in tqtinterface
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 8f924d271a4771b8046697fefd778d895a54d93d)
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(); |