diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:46:48 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-17 17:49:55 +0900 |
commit | ca19a0f2b445232de321d2c194edf13a12f3f537 (patch) | |
tree | eed9c3eea0145746fa836b8dcb405ae3835153c3 /kvoctrain | |
parent | 54816bc0576ee9d560cd1be85e0c6589ce9d8c28 (diff) | |
download | tdeedu-ca19a0f2b445232de321d2c194edf13a12f3f537.tar.gz tdeedu-ca19a0f2b445232de321d2c194edf13a12f3f537.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 32e1827c79cc9ac21c6540dc3c07d9e364bb54f7)
Diffstat (limited to 'kvoctrain')
-rw-r--r-- | kvoctrain/kvoctrain/query-dialogs/RandomQueryDlg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvoctrain/kvoctrain/query-dialogs/RandomQueryDlg.cpp b/kvoctrain/kvoctrain/query-dialogs/RandomQueryDlg.cpp index 6b047be3..819ed2a2 100644 --- a/kvoctrain/kvoctrain/query-dialogs/RandomQueryDlg.cpp +++ b/kvoctrain/kvoctrain/query-dialogs/RandomQueryDlg.cpp @@ -486,7 +486,7 @@ void RandomQueryDlg::slotTransChanged(const TQString&) { mw->verify->setDefault(true); bool suggestions = Prefs::suggestions(); - if ( suggestions && sender() && TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender())) -> isA ("TQComboBox") ) + if ( suggestions && sender() && sender() -> isA ("TQComboBox") ) { TQLineEdit* edit = ((TQComboBox*) sender()) -> lineEdit(); resetField (edit); @@ -497,7 +497,7 @@ void RandomQueryDlg::slotTransChanged(const TQString&) else mw->status -> clear(); } - else if ( ! suggestions && sender() && TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender())) -> isA ("TQLineEdit") ) + else if ( ! suggestions && sender() && sender() -> isA ("TQLineEdit") ) resetField ((TQLineEdit*) sender()); } |