summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}