summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:47:10 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-03 22:32:03 +0900
commit4f72176a0ff3c10fa366a67a45a11cf538d1c4eb (patch)
treefd9cf336828b6d2c1f80b55d48271c7fa191fad1
parent11a949b4d167fd13d6435c581797f6dbad0aa108 (diff)
downloadktechlab-4f72176a0ff3c10fa366a67a45a11cf538d1c4eb.tar.gz
ktechlab-4f72176a0ff3c10fa366a67a45a11cf538d1c4eb.zip
Replace TQ_*Focus* and TQ_Scale* definesr14.1.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ba71773a92f2cc979c252f790be280c8486ebfd0)
-rw-r--r--src/itemlibrary.cpp2
-rw-r--r--src/libraryitem.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/itemlibrary.cpp b/src/itemlibrary.cpp
index bbf144e..6b215cf 100644
--- a/src/itemlibrary.cpp
+++ b/src/itemlibrary.cpp
@@ -456,7 +456,7 @@ TQImage ItemLibrary::itemImage( Item *item, const uint maxSize )
// Now, rotate the image so that it's the right way up, and scale it to size
TQImage im = pm.convertToImage();
im = im.xForm(transMatrix);
- im = im.smoothScale( 50, 50, TQ_ScaleMin );
+ im = im.smoothScale( 50, 50, TQImage::ScaleMin );
if (cache)
m_imageMap[item->type()] = im;
diff --git a/src/libraryitem.cpp b/src/libraryitem.cpp
index 09a4379..4aadd90 100644
--- a/src/libraryitem.cpp
+++ b/src/libraryitem.cpp
@@ -71,7 +71,7 @@ void LibraryItem::createIcon16()
}
TQImage im = m_icon_full.convertToImage();
- im = im.smoothScale( size, size, TQ_ScaleMin );
+ im = im.smoothScale( size, size, TQImage::ScaleMin );
m_icon_16.convertFromImage(im);
}