From ee077affc0b8b1df873d13d00e66e8044e5d505b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 2 Sep 2023 15:48:23 +0900 Subject: Replace TQ_*Focus* and TQ_Scale* defines Signed-off-by: Michele Calgaro --- src/modules/theme/packthemedialog.cpp | 4 ++-- src/modules/theme/savethemedialog.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/theme') diff --git a/src/modules/theme/packthemedialog.cpp b/src/modules/theme/packthemedialog.cpp index 7ae09b77..8afd2b3b 100644 --- a/src/modules/theme/packthemedialog.cpp +++ b/src/modules/theme/packthemedialog.cpp @@ -328,7 +328,7 @@ void KviPackThemeDialog::imageSelectionChanged(const TQString &szImagePath) { TQPixmap out; if(pix.width() > 300 || pix.height() > 225) - out.convertFromImage(pix.smoothScale(300,225,TQ_ScaleMin)); + out.convertFromImage(pix.smoothScale(300,225,TQImage::ScaleMin)); else out.convertFromImage(pix); m_pImageLabel->setPixmap(out); @@ -365,7 +365,7 @@ bool KviPackThemeDialog::packTheme() if(!pix.isNull()) { if(pix.width() > 300 || pix.height() > 225) - out.convertFromImage(pix.smoothScale(300,225,TQ_ScaleMin)); + out.convertFromImage(pix.smoothScale(300,225,TQImage::ScaleMin)); else out.convertFromImage(pix); } else { diff --git a/src/modules/theme/savethemedialog.cpp b/src/modules/theme/savethemedialog.cpp index 8e015309..e7b78334 100644 --- a/src/modules/theme/savethemedialog.cpp +++ b/src/modules/theme/savethemedialog.cpp @@ -187,7 +187,7 @@ void KviSaveThemeDialog::imageSelectionChanged(const TQString &szImagePath) { TQPixmap out; if(pix.width() > 300 || pix.height() > 225) - out.convertFromImage(pix.smoothScale(300,225,TQ_ScaleMin)); + out.convertFromImage(pix.smoothScale(300,225,TQImage::ScaleMin)); else out.convertFromImage(pix); m_pImageLabel->setPixmap(out); -- cgit v1.2.1