From ba71773a92f2cc979c252f790be280c8486ebfd0 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 2 Sep 2023 15:47:10 +0900 Subject: Replace TQ_*Focus* and TQ_Scale* defines Signed-off-by: Michele Calgaro --- src/itemlibrary.cpp | 2 +- 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); } -- cgit v1.2.1