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-09 17:17:58 +0900 |
commit | 67f2b0da2c80c3ee335aecda5dfedf3176edd8b9 (patch) | |
tree | 24062384f6f95b5407af0708c477cbfa4a39198e /kcontrol | |
parent | 7bc43c68b3c095631628e1fb691242315687d15b (diff) | |
download | tdebase-67f2b0da2c80c3ee335aecda5dfedf3176edd8b9.tar.gz tdebase-67f2b0da2c80c3ee335aecda5dfedf3176edd8b9.zip |
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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); |