diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:47:10 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:47:10 +0900 |
commit | ba71773a92f2cc979c252f790be280c8486ebfd0 (patch) | |
tree | fd9cf336828b6d2c1f80b55d48271c7fa191fad1 /src | |
parent | d2352699254c72129fbdcb2729d6fc9f913d155b (diff) | |
download | ktechlab-ba71773a92f2cc979c252f790be280c8486ebfd0.tar.gz ktechlab-ba71773a92f2cc979c252f790be280c8486ebfd0.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src')
-rw-r--r-- | src/itemlibrary.cpp | 2 | ||||
-rw-r--r-- | src/libraryitem.cpp | 2 |
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); } |