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/tdeaction.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/tdeaction.cpp')
-rw-r--r-- | tdeui/tdeaction.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeui/tdeaction.cpp b/tdeui/tdeaction.cpp index 63f633d95..985782f33 100644 --- a/tdeui/tdeaction.cpp +++ b/tdeui/tdeaction.cpp @@ -1109,7 +1109,7 @@ void TDEAction::activate() void TDEAction::slotActivated() { - const TQObject *senderObj = TQT_TQOBJECT_CONST(sender()); + const TQObject *senderObj = sender(); if ( senderObj ) { if ( ::tqqt_cast<TDEAccelPrivate *>( senderObj ) ) @@ -1167,7 +1167,7 @@ void TDEAction::slotButtonClicked( int, TQt::ButtonState state ) void TDEAction::slotDestroyed() { kdDebug(129) << "TDEAction::slotDestroyed(): this = " << this << ", name = \"" << name() << "\", sender = " << sender() << endl; - const TQObject* const o = TQT_TQOBJECT_CONST(sender()); + const TQObject* const o = sender(); #ifndef KDE_NO_COMPAT // KDE 4: remove if ( o == d->m_tdeaccel ) @@ -1193,7 +1193,7 @@ void TDEAction::slotDestroyed() int i; do { - i = findContainer( TQT_TQWIDGET_CONST( static_cast<const QObject*>(o) ) ); + i = findContainer( static_cast<const TQWidget*>(o) ); if ( i != -1 ) removeContainer( i ); } while ( i != -1 ); |