diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:50:59 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-04 09:50:47 +0900 |
commit | 612b41af2bb0590663f6488c00ebb3636f73ed8b (patch) | |
tree | b317b50b210a33eb6013ce50cb004f9d52ed017a /src/kbfxplasmacanvasitemwrapper.cpp | |
parent | fce56fa71d1fcad9648d2c9376cd5709a508060a (diff) | |
download | kbfx-r14.1.1.tar.gz kbfx-r14.1.1.zip |
Replace TQ_*Focus* and TQ_Scale* definesr14.1.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 9119aa80e2361c34c3e03919f97262a068c4d5d8)
Diffstat (limited to 'src/kbfxplasmacanvasitemwrapper.cpp')
-rw-r--r-- | src/kbfxplasmacanvasitemwrapper.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kbfxplasmacanvasitemwrapper.cpp b/src/kbfxplasmacanvasitemwrapper.cpp index 294eead..08c8ec5 100644 --- a/src/kbfxplasmacanvasitemwrapper.cpp +++ b/src/kbfxplasmacanvasitemwrapper.cpp @@ -36,17 +36,17 @@ KbfxPlasmaCanvasItemWrapper::item ( KbfxPlasmaCanvasItem::Type __type ) { TQPixmap _img_sep = ( *KbfxPlasmaPixmapProvider::pixmap ( "separator" ) ); TQImage _tmp_img = _img_sep.convertToImage(); - _tmp_img = _tmp_img.smoothScale ( ConfigInit().m_itemView_w, _img_sep.height (),TQ_ScaleFree ); + _tmp_img = _tmp_img.smoothScale ( ConfigInit().m_itemView_w, _img_sep.height (),TQImage::ScaleFree ); _img_sep = TQPixmap ( _tmp_img ); TQPixmap _img_tnorm = ( *KbfxPlasmaPixmapProvider::pixmap ( "tilenormal" ) ); _tmp_img = _img_tnorm.convertToImage(); - _tmp_img = _tmp_img.smoothScale ( ConfigInit().m_itemView_w, _img_tnorm.height (),TQ_ScaleFree ); + _tmp_img = _tmp_img.smoothScale ( ConfigInit().m_itemView_w, _img_tnorm.height (),TQImage::ScaleFree ); _img_tnorm = TQPixmap ( _tmp_img ); TQPixmap _img_thov = ( *KbfxPlasmaPixmapProvider::pixmap ( "tilehover" ) ); _tmp_img = _img_thov.convertToImage(); - _tmp_img = _tmp_img.smoothScale ( ConfigInit().m_itemView_w, _img_thov.height (),TQ_ScaleFree ); + _tmp_img = _tmp_img.smoothScale ( ConfigInit().m_itemView_w, _img_thov.height (),TQImage::ScaleFree ); _img_thov = TQPixmap ( _tmp_img ); if ( __type == KbfxPlasmaCanvasItem::SEPARATOR ) @@ -85,17 +85,17 @@ KbfxPlasmaCanvasItemWrapper::itemIndex ( KbfxPlasmaCanvasItem::Type __type ) { TQPixmap _img_isep = ( *KbfxPlasmaPixmapProvider::pixmap ( "indexseparator" ) ); TQImage _tmp_img = _img_isep.convertToImage(); - _tmp_img = _tmp_img.smoothScale ( ConfigInit().m_listBox_w, _img_isep.height (),TQ_ScaleFree ); + _tmp_img = _tmp_img.smoothScale ( ConfigInit().m_listBox_w, _img_isep.height (),TQImage::ScaleFree ); _img_isep = TQPixmap ( _tmp_img ); TQPixmap _img_r = ( *KbfxPlasmaPixmapProvider::pixmap ( "rhstile" ) ); _tmp_img = _img_r.convertToImage(); - _tmp_img = _tmp_img.smoothScale ( ConfigInit().m_listBox_w, _img_r.height (),TQ_ScaleFree ); + _tmp_img = _tmp_img.smoothScale ( ConfigInit().m_listBox_w, _img_r.height (),TQImage::ScaleFree ); _img_r = TQPixmap ( _tmp_img ); TQPixmap _img_rhov = ( *KbfxPlasmaPixmapProvider::pixmap ( "rhshovertile" ) ); _tmp_img = _img_rhov.convertToImage(); - _tmp_img = _tmp_img.smoothScale ( ConfigInit().m_listBox_w, _img_rhov.height (),TQ_ScaleFree ); + _tmp_img = _tmp_img.smoothScale ( ConfigInit().m_listBox_w, _img_rhov.height (),TQImage::ScaleFree ); _img_rhov = TQPixmap ( _tmp_img ); if ( __type == KbfxPlasmaCanvasItem::SEPARATOR ) |