summaryrefslogtreecommitdiffstats
path: root/kgpg
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:54:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:54:29 +0900
commit46c271a0c91e3bd1b018b1ff43be34a52f5c2cc8 (patch)
treef4e64eff8c96dc4a8eaaa30b6e234cc140409969 /kgpg
parentcb9417f415d9eb05966fbe27c323bccb8b801b52 (diff)
downloadtdeutils-46c271a0c91e3bd1b018b1ff43be34a52f5c2cc8.tar.gz
tdeutils-46c271a0c91e3bd1b018b1ff43be34a52f5c2cc8.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kgpg')
-rw-r--r--kgpg/keyinfowidget.cpp2
-rw-r--r--kgpg/listkeys.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/kgpg/keyinfowidget.cpp b/kgpg/keyinfowidget.cpp
index 1b833ac..578bd0c 100644
--- a/kgpg/keyinfowidget.cpp
+++ b/kgpg/keyinfowidget.cpp
@@ -374,7 +374,7 @@ void KgpgKeyInfo::slotSetPhoto(const TQPixmap &pix)
// kdDebug(2100) << k_funcinfo << endl;
TQImage dup=pix.convertToImage();
TQPixmap dup2;
- dup2.convertFromImage(dup.scale(prop->pLPhoto->width(),prop->pLPhoto->height(),TQ_ScaleMin));
+ dup2.convertFromImage(dup.scale(prop->pLPhoto->width(),prop->pLPhoto->height(),TQImage::ScaleMin));
prop->pLPhoto->setPixmap(dup2);
}
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);