summaryrefslogtreecommitdiffstats
path: root/tdeui/tdeactioncollection.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-09 17:18:13 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-09 21:29:52 +0900
commit34a191d96f3f9223b8c71da76ad6d8f3c2c9863d (patch)
tree977ab30a83c5a2cbf48f0353b58b915307c66b6e /tdeui/tdeactioncollection.cpp
parent18c573e806f0dcf0a7fcde805aaa528ef11ebc88 (diff)
downloadtdelibs-34a191d96f3f9223b8c71da76ad6d8f3c2c9863d.tar.gz
tdelibs-34a191d96f3f9223b8c71da76ad6d8f3c2c9863d.zip
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 23278d259378e17087bf9aeaa5e45974dfb74bce)
Diffstat (limited to 'tdeui/tdeactioncollection.cpp')
-rw-r--r--tdeui/tdeactioncollection.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeui/tdeactioncollection.cpp b/tdeui/tdeactioncollection.cpp
index 98e8264b6..fe0f123a9 100644
--- a/tdeui/tdeactioncollection.cpp
+++ b/tdeui/tdeactioncollection.cpp
@@ -547,7 +547,7 @@ void TDEActionCollection::slotMenuItemHighlighted( int id )
if ( d->m_currentHighlightAction )
emit actionHighlighted( d->m_currentHighlightAction, false );
- TQWidget *container = const_cast<TQWidget*>(TQT_TQWIDGET_CONST( sender() ));
+ TQWidget *container = static_cast<TQWidget *>( const_cast<TQObject *>( sender() ));
d->m_currentHighlightAction = findAction( container, id );
@@ -581,7 +581,7 @@ void TDEActionCollection::slotToolBarButtonHighlighted( int id, bool highlight )
if ( !d->m_highlight )
return;
- TQWidget *container = const_cast<TQWidget*>(TQT_TQWIDGET_CONST( sender() ));
+ TQWidget *container = static_cast<TQWidget *>( const_cast<TQObject *>( sender() ));
TDEAction *action = findAction( container, id );
@@ -606,7 +606,7 @@ void TDEActionCollection::slotToolBarButtonHighlighted( int id, bool highlight )
void TDEActionCollection::slotDestroyed()
{
- d->m_dctHighlightContainers.remove( reinterpret_cast<void *>( const_cast<TQObject*>(TQT_TQOBJECT_CONST(sender())) ) );
+ d->m_dctHighlightContainers.remove( reinterpret_cast<void *>( const_cast<TQObject*>(sender()) ) );
}
TDEAction *TDEActionCollection::findAction( TQWidget *container, int id )