summaryrefslogtreecommitdiffstats
path: root/k9author
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:48:59 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-03 22:42:53 +0900
commitf59d6e174b10b252d4a97bed11ff868f71b2b245 (patch)
treea5c2db7bff619d4a4912a3132924de12c111a5c8 /k9author
parent77d2d0f439b94164c8c2c53f1529cd750cf3f0de (diff)
downloadk9copy-f59d6e174b10b252d4a97bed11ff868f71b2b245.tar.gz
k9copy-f59d6e174b10b252d4a97bed11ff868f71b2b245.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 5e8c1c961f1bc34bc46c9434d2c697a3af192cd2)
Diffstat (limited to 'k9author')
-rw-r--r--k9author/k9import.cpp2
-rw-r--r--k9author/k9menuedit.cpp2
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);
}
}