summaryrefslogtreecommitdiffstats
path: root/src/modules/theme
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:48:23 +0900
committerMichele Calgaro <[email protected]>2023-09-02 15:48:23 +0900
commitee077affc0b8b1df873d13d00e66e8044e5d505b (patch)
treee50a36dbab12daad47a22a079f6a7dac6e9caaf3 /src/modules/theme
parenta7254dccf58f3884d9237d4cb6620430e93abf69 (diff)
downloadkvirc-ee077affc0b8b1df873d13d00e66e8044e5d505b.tar.gz
kvirc-ee077affc0b8b1df873d13d00e66e8044e5d505b.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/modules/theme')
-rw-r--r--src/modules/theme/packthemedialog.cpp4
-rw-r--r--src/modules/theme/savethemedialog.cpp2
2 files changed, 3 insertions, 3 deletions
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);