summaryrefslogtreecommitdiffstats
path: root/kgpg/listkeys.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:54:29 +0900
committerMichele Calgaro <[email protected]>2023-09-04 10:30:58 +0900
commit07a7866b32ceee70e88008b14e739b83185637ac (patch)
treea98aa91f45d6ba163ddec7960c97d1e4a00d62ea /kgpg/listkeys.cpp
parent9aaf7457f36e13abc00c774db475bd5fdab9152e (diff)
downloadtdeutils-07a7866b32ceee70e88008b14e739b83185637ac.tar.gz
tdeutils-07a7866b32ceee70e88008b14e739b83185637ac.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 46c271a0c91e3bd1b018b1ff43be34a52f5c2cc8)
Diffstat (limited to 'kgpg/listkeys.cpp')
-rw-r--r--kgpg/listkeys.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kgpg/listkeys.cpp b/kgpg/listkeys.cpp
index ed1d7dc..c0f53a3 100644
--- a/kgpg/listkeys.cpp
+++ b/kgpg/listkeys.cpp
@@ -2641,9 +2641,9 @@ TQPixmap KeyView::slotGetPhoto(TQString photoId,bool mini)
TQImage dup=pixmap.convertToImage();
TQPixmap dup2;
if (!mini)
- dup2.convertFromImage(dup.scale(previewSize+5,previewSize,TQ_ScaleMin));
+ dup2.convertFromImage(dup.scale(previewSize+5,previewSize,TQImage::ScaleMin));
else
- dup2.convertFromImage(dup.scale(22,22,TQ_ScaleMin));
+ dup2.convertFromImage(dup.scale(22,22,TQImage::ScaleMin));
phototmp->unlink();
delete phototmp;
return dup2;
@@ -2721,7 +2721,7 @@ void KeyView::expandKey(TQListViewItem *item)
pixmap.load(kgpgphototmp->name());
TQImage dup=pixmap.convertToImage();
TQPixmap dup2;
- dup2.convertFromImage(dup.scale(previewSize+5,previewSize,TQ_ScaleMin));
+ dup2.convertFromImage(dup.scale(previewSize+5,previewSize,TQImage::ScaleMin));
itemuid->setPixmap(0,dup2);
delete kgpgphototmp;
//itemuid->setPixmap(0,keyPhotoId);