diff options
author | Michele Calgaro <[email protected]> | 2023-08-09 17:18:13 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-09 17:18:13 +0900 |
commit | 23278d259378e17087bf9aeaa5e45974dfb74bce (patch) | |
tree | 6f823898e2ef1c01fc119740aa337e885db4d4f8 /tdeui/tdeactioncollection.cpp | |
parent | c0b74ba868682f39c41a9f70ae11297425b711e1 (diff) | |
download | tdelibs-23278d259378e17087bf9aeaa5e45974dfb74bce.tar.gz tdelibs-23278d259378e17087bf9aeaa5e45974dfb74bce.zip |
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeui/tdeactioncollection.cpp')
-rw-r--r-- | tdeui/tdeactioncollection.cpp | 6 |
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 ) |