summaryrefslogtreecommitdiffstats
path: root/kcontrol/tdm
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:52:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:52:49 +0900
commita8f627e6d45af521718176586daf0253b4daa597 (patch)
treecb97fd20da95f86ceac149162040a2907cd0acad /kcontrol/tdm
parent547c7d72cf8f8eccd79e6114d3252ae01f1accde (diff)
downloadtdebase-a8f627e6d45af521718176586daf0253b4daa597.tar.gz
tdebase-a8f627e6d45af521718176586daf0253b4daa597.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kcontrol/tdm')
-rw-r--r--kcontrol/tdm/tdm-appear.cpp2
-rw-r--r--kcontrol/tdm/tdm-users.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/kcontrol/tdm/tdm-appear.cpp b/kcontrol/tdm/tdm-appear.cpp
index 8e49087d1..a1ee6bda4 100644
--- a/kcontrol/tdm/tdm-appear.cpp
+++ b/kcontrol/tdm/tdm-appear.cpp
@@ -370,7 +370,7 @@ bool TDMAppearanceWidget::setLogo(TQString logo)
if (p.isNull())
return false;
if (p.width() > 100 || p.height() > 100)
- p = p.smoothScale(100, 100, TQ_ScaleMin);
+ p = p.smoothScale(100, 100, TQImage::ScaleMin);
logobutton->setPixmap(p);
uint bd = style().pixelMetric( TQStyle::PM_ButtonMargin ) * 2;
logobutton->setFixedSize(p.width() + bd, p.height() + bd);
diff --git a/kcontrol/tdm/tdm-users.cpp b/kcontrol/tdm/tdm-users.cpp
index d8fbd6bcd..c7e155565 100644
--- a/kcontrol/tdm/tdm-users.cpp
+++ b/kcontrol/tdm/tdm-users.cpp
@@ -272,7 +272,7 @@ void TDMUsersWidget::slotUserSelected()
rstuserbutton->setEnabled( false );
}
if (!p.isNull()) {
- userbutton->setPixmap( p.smoothScale( 48, 48, TQ_ScaleMin ) );
+ userbutton->setPixmap( p.smoothScale( 48, 48, TQImage::ScaleMin ) );
}
}
@@ -296,7 +296,7 @@ void TDMUsersWidget::changeUserPix(const TQString &pix)
return;
}
- p = p.smoothScale( 48, 48, TQ_ScaleMin );
+ p = p.smoothScale( 48, 48, TQImage::ScaleMin );
TQString userpix = m_userPixDir + user + ".face.icon";
if (!p.save( userpix, "PNG" ))
KMessageBox::sorry(this,