summaryrefslogtreecommitdiffstats
path: root/tdemdi/tdemdimainfrm.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-18 16:44:23 +0900
committerMichele Calgaro <[email protected]>2023-11-20 13:29:51 +0900
commit0e4a5c95a4675da94170d7c8997bf14f76451e31 (patch)
treed275a38208f309ad1270af8c6f782f0ad7fa5b7c /tdemdi/tdemdimainfrm.cpp
parent303b6445011a6ed10c48ac6e1eda415e5c371264 (diff)
downloadtdelibs-0e4a5c95a4675da94170d7c8997bf14f76451e31.tar.gz
tdelibs-0e4a5c95a4675da94170d7c8997bf14f76451e31.zip
Replace various strings '#define'd in tqtinterface
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 57e0ed66347db15cb1cd66488f095107e7772ad9)
Diffstat (limited to 'tdemdi/tdemdimainfrm.cpp')
-rw-r--r--tdemdi/tdemdimainfrm.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdemdi/tdemdimainfrm.cpp b/tdemdi/tdemdimainfrm.cpp
index 09b5f7382..ab59f63df 100644
--- a/tdemdi/tdemdimainfrm.cpp
+++ b/tdemdi/tdemdimainfrm.cpp
@@ -1777,7 +1777,7 @@ void KMdiMainFrm::setToolviewStyle( int flag )
TQMap<TQWidget*, KMdiToolViewAccessor*>::Iterator it;
for ( it = m_pToolViews->begin(); it != m_pToolViews->end(); ++it )
{
- KDockWidget *dockWidget = tqt_dynamic_cast<KDockWidget*>( it.data()->wrapperWidget() );
+ KDockWidget *dockWidget = dynamic_cast<KDockWidget*>( it.data()->wrapperWidget() );
if ( dockWidget )
{
switch ( flag )
@@ -1886,7 +1886,7 @@ void KMdiMainFrm::findToolViewsDockedToMain( TQPtrList<KDockWidget>* list, KDock
KDockWidget* mainDock = getMainDockWidget();
if ( mainDock->parentDockTabGroup() )
{
- mainDock = tqt_dynamic_cast<KDockWidget*>( mainDock->parentDockTabGroup()->parent() );
+ mainDock = dynamic_cast<KDockWidget*>( mainDock->parentDockTabGroup()->parent() );
// FIXME: will likely crash below due to unchecked cast
}
@@ -1903,7 +1903,7 @@ void KMdiMainFrm::findToolViewsDockedToMain( TQPtrList<KDockWidget>* list, KDock
if ( widget )
{
- KDockTabGroup* tg = tqt_dynamic_cast<KDockTabGroup*>( widget->getWidget() );
+ KDockTabGroup* tg = dynamic_cast<KDockTabGroup*>( widget->getWidget() );
if ( tg )
{
kdDebug(760) << k_funcinfo << "KDockTabGroup found" << endl;
@@ -2118,7 +2118,7 @@ void KMdiMainFrm::finishIDEAlMode( bool full )
TQStringList KMdiMainFrm::prepareIdealToTabs( KDockWidget* container )
{
- KDockContainer * pDW = tqt_dynamic_cast<KDockContainer*>( container->getWidget() );
+ KDockContainer * pDW = dynamic_cast<KDockContainer*>( container->getWidget() );
TQStringList widgetNames = ( ( KMdiDockContainer* ) pDW ) ->containedWidgets();
for ( TQStringList::iterator it = widgetNames.begin();it != widgetNames.end();++it )
{