diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-09 17:17:58 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-10 10:58:36 +0900 |
commit | 3515607e5ac48686510e60e2e67e4bc15ff03e46 (patch) | |
tree | 438d015eaa54fc439546794db480c5b39d42c404 /kcontrol | |
parent | 196b1629b9f5de20f3769eb5ec755a635df3c3e7 (diff) | |
download | tdebase-3515607e5ac48686510e60e2e67e4bc15ff03e46.tar.gz tdebase-3515607e5ac48686510e60e2e67e4bc15ff03e46.zip |
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 67f2b0da2c80c3ee335aecda5dfedf3176edd8b9)
Diffstat (limited to 'kcontrol')
-rw-r--r-- | kcontrol/display/display.cpp | 2 | ||||
-rw-r--r-- | kcontrol/kcontrol/indexwidget.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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<TDECModule*, bool>::Iterator currentModule = m_modules.find(static_cast<TDECModule*>(TQT_TQWIDGET(const_cast<TQObject*>(TQT_TQOBJECT_CONST(sender()))))); + TQMap<TDECModule*, bool>::Iterator currentModule = m_modules.find(static_cast<TDECModule*>(const_cast<TQObject*>(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); |