From 7a9e5fefa81e292e306c727fab3e2a2b29c35c6e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 2 Sep 2023 15:53:00 +0900 Subject: Replace TQ_*Focus* and TQ_Scale* defines Signed-off-by: Michele Calgaro (cherry picked from commit f673794b12fa8685c6682fad9ce67a3a971e25f9) --- kvoctrain/kvoctrain/kva_init.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kvoctrain') 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&))); -- cgit v1.2.1