summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:48:59 +0900
committerMichele Calgaro <[email protected]>2023-09-02 15:48:59 +0900
commit5e8c1c961f1bc34bc46c9434d2c697a3af192cd2 (patch)
tree2ad702609a927b77e4dbbb006d978e4558ee4cc2
parentaeb889609e2496f99b93bfa62364a58f9ec06126 (diff)
downloadk9copy-5e8c1c961f1bc34bc46c9434d2c697a3af192cd2.tar.gz
k9copy-5e8c1c961f1bc34bc46c9434d2c697a3af192cd2.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
-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);
}
}