diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:48:23 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-03 22:40:13 +0900 |
commit | 84057ea26e8662283fd441a21067bdf1f599e82e (patch) | |
tree | 1a2427a48fc75ef8b75e3b5ad2e61faf8148490a /src/modules/theme | |
parent | 33c7bc399db613fbeabadce7090cdffe7ad90615 (diff) | |
download | kvirc-84057ea26e8662283fd441a21067bdf1f599e82e.tar.gz kvirc-84057ea26e8662283fd441a21067bdf1f599e82e.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ee077affc0b8b1df873d13d00e66e8044e5d505b)
Diffstat (limited to 'src/modules/theme')
-rw-r--r-- | src/modules/theme/packthemedialog.cpp | 4 | ||||
-rw-r--r-- | src/modules/theme/savethemedialog.cpp | 2 |
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); |