diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:52:49 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-04 10:33:38 +0900 |
commit | 7ff24388e9d913479dd269cf29ba9aae5f6bde48 (patch) | |
tree | a5eecb895074ce87f4225b37f4e4b930f8cf046d /kcontrol/tdm | |
parent | 88a3a73f276d3e2f49ee25f57fb8e8660ebe2228 (diff) | |
download | tdebase-7ff24388e9d913479dd269cf29ba9aae5f6bde48.tar.gz tdebase-7ff24388e9d913479dd269cf29ba9aae5f6bde48.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a8f627e6d45af521718176586daf0253b4daa597)
Diffstat (limited to 'kcontrol/tdm')
-rw-r--r-- | kcontrol/tdm/tdm-appear.cpp | 2 | ||||
-rw-r--r-- | kcontrol/tdm/tdm-users.cpp | 4 |
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, |