From f59d6e174b10b252d4a97bed11ff868f71b2b245 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 2 Sep 2023 15:48:59 +0900 Subject: [PATCH] Replace TQ_*Focus* and TQ_Scale* defines Signed-off-by: Michele Calgaro (cherry picked from commit 5e8c1c961f1bc34bc46c9434d2c697a3af192cd2) --- k9author/k9import.cpp | 2 +- k9author/k9menuedit.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/k9author/k9import.cpp b/k9author/k9import.cpp index 7cf8d77..e2a6620 100644 --- a/k9author/k9import.cpp +++ b/k9author/k9import.cpp @@ -118,7 +118,7 @@ void k9Import::buttonUpdated(k9MenuButton *_button, const TQImage &_image) { k9LvItemImport *itemTitle = (k9LvItemImport*)m_root->firstChild(); while (itemTitle) { if (itemTitle->getTitle()->getButton()==_button) { - TQImage img=_image.smoothScale(50,40,TQ_ScaleFree); + TQImage img=_image.smoothScale(50,40,TQImage::ScaleFree); TQPixmap pix(img); itemTitle->setPixmap(0,pix); } diff --git a/k9author/k9menuedit.cpp b/k9author/k9menuedit.cpp index 129b252..54a9a7a 100644 --- a/k9author/k9menuedit.cpp +++ b/k9author/k9menuedit.cpp @@ -120,7 +120,7 @@ void k9MenuEdit::urBackgroundSelected(const TQString &_fileName) { //...otherwise, set the menu background image TQImage img; img.load(_fileName); - img=img.smoothScale(720,m_imageHeight,TQ_ScaleMax); + img=img.smoothScale(720,m_imageHeight,TQImage::ScaleMax); setBackgroundImage(img); } }