summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:47:10 +0900
committerMichele Calgaro <[email protected]>2023-09-02 15:47:10 +0900
commitba71773a92f2cc979c252f790be280c8486ebfd0 (patch)
treefd9cf336828b6d2c1f80b55d48271c7fa191fad1
parentd2352699254c72129fbdcb2729d6fc9f913d155b (diff)
downloadktechlab-ba71773a92f2cc979c252f790be280c8486ebfd0.tar.gz
ktechlab-ba71773a92f2cc979c252f790be280c8486ebfd0.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
-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);
}