summaryrefslogtreecommitdiffstats
path: root/kvoctrain
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:46:48 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-17 14:10:44 +0900
commit32e1827c79cc9ac21c6540dc3c07d9e364bb54f7 (patch)
tree295a94b53b0053471b796c8d68b33c1589962b26 /kvoctrain
parent118efac31c7d85eda2db83c3f37cccfb6bd3e17d (diff)
downloadtdeedu-32e1827c79cc9ac21c6540dc3c07d9e364bb54f7.tar.gz
tdeedu-32e1827c79cc9ac21c6540dc3c07d9e364bb54f7.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kvoctrain')
-rw-r--r--kvoctrain/kvoctrain/query-dialogs/RandomQueryDlg.cpp4
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());
}