From 3515607e5ac48686510e60e2e67e4bc15ff03e46 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 9 Aug 2023 17:17:58 +0900 Subject: Drop TQT_TQ*_CONST defines Signed-off-by: Michele Calgaro (cherry picked from commit 67f2b0da2c80c3ee335aecda5dfedf3176edd8b9) --- kcontrol/display/display.cpp | 2 +- kcontrol/kcontrol/indexwidget.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kcontrol') diff --git a/kcontrol/display/display.cpp b/kcontrol/display/display.cpp index b3e15d021..3555d0ddc 100644 --- a/kcontrol/display/display.cpp +++ b/kcontrol/display/display.cpp @@ -85,7 +85,7 @@ void KCMDisplay::save() void KCMDisplay::moduleChanged( bool isChanged ) { - TQMap::Iterator currentModule = m_modules.find(static_cast(TQT_TQWIDGET(const_cast(TQT_TQOBJECT_CONST(sender()))))); + TQMap::Iterator currentModule = m_modules.find(static_cast(const_cast(sender()))); Q_ASSERT(currentModule != m_modules.end()); if (currentModule.data() == isChanged) return; diff --git a/kcontrol/kcontrol/indexwidget.cpp b/kcontrol/kcontrol/indexwidget.cpp index 92b9cf0a0..cf57dc0e4 100644 --- a/kcontrol/kcontrol/indexwidget.cpp +++ b/kcontrol/kcontrol/indexwidget.cpp @@ -60,7 +60,7 @@ void IndexWidget::resizeEvent(TQResizeEvent *e) void IndexWidget::moduleSelected(ConfigModule *m) { - const TQObject *obj = TQT_TQOBJECT_CONST(sender()); + const TQObject *obj = sender(); if(!m) return; emit moduleActivated(m); -- cgit v1.2.1