summaryrefslogtreecommitdiffstats
path: root/kvoctrain
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:53:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-04 10:10:24 +0900
commit7a9e5fefa81e292e306c727fab3e2a2b29c35c6e (patch)
treec8228cbdd6ab9c518a234013eb41e07f50ef3284 /kvoctrain
parenta4d6089d3190091585de62066433167bc70007ab (diff)
downloadtdeedu-7a9e5fefa81e292e306c727fab3e2a2b29c35c6e.tar.gz
tdeedu-7a9e5fefa81e292e306c727fab3e2a2b29c35c6e.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit f673794b12fa8685c6682fad9ce67a3a971e25f9)
Diffstat (limited to 'kvoctrain')
-rw-r--r--kvoctrain/kvoctrain/kva_init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvoctrain/kvoctrain/kva_init.cpp b/kvoctrain/kvoctrain/kva_init.cpp
index f4f36e70..e31bfff7 100644
--- a/kvoctrain/kvoctrain/kva_init.cpp
+++ b/kvoctrain/kvoctrain/kva_init.cpp
@@ -208,14 +208,14 @@ void kvoctrainApp::initActions()
lessons = new KComboBox(this);
lessons->setMinimumWidth(160);
connect(lessons, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(slotChooseLesson(int)));
- lessons->setFocusPolicy(TQ_NoFocus);
+ lessons->setFocusPolicy(TQWidget::NoFocus);
vocabLessons = new KWidgetAction(lessons, i18n("Lessons"), 0, TQT_TQOBJECT(this), 0, actionCollection(), "vocab_lessons");
vocabLessons->setWhatsThis(i18n("Choose current lesson"));
vocabLessons->setToolTip(vocabLessons->whatsThis());
searchLine = new KLineEdit(this);
- searchLine->setFocusPolicy(TQ_ClickFocus);
+ searchLine->setFocusPolicy(TQWidget::ClickFocus);
connect (searchLine, TQT_SIGNAL(returnPressed()), this, TQT_SLOT(slotSearchNext()));
connect (searchLine, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotResumeSearch(const TQString&)));