diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-09 17:18:13 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-09 21:29:52 +0900 |
commit | 34a191d96f3f9223b8c71da76ad6d8f3c2c9863d (patch) | |
tree | 977ab30a83c5a2cbf48f0353b58b915307c66b6e /tdeui/tdeaction.cpp | |
parent | 18c573e806f0dcf0a7fcde805aaa528ef11ebc88 (diff) | |
download | tdelibs-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/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 ); |