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/kbfxbutton.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/kbfxbutton.cpp')
-rw-r--r-- | src/kbfxbutton.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kbfxbutton.cpp b/src/kbfxbutton.cpp index 1d4b91a..f89a61a 100644 --- a/src/kbfxbutton.cpp +++ b/src/kbfxbutton.cpp @@ -69,23 +69,23 @@ void KbfxButton::loadSkins() : TQImage ( ConfigInit ().m_KbfxNormalButtonPathDefault ); TQSize _sizeNormal = _tmpNormal.size(); - _tmpHover = _tmpHover.smoothScale ( _sizeNormal, TQ_ScaleFree ); - _tmpPressed = _tmpPressed.smoothScale ( _sizeNormal, TQ_ScaleFree ); + _tmpHover = _tmpHover.smoothScale ( _sizeNormal, TQImage::ScaleFree ); + _tmpPressed = _tmpPressed.smoothScale ( _sizeNormal, TQImage::ScaleFree ); if ( !m_kicker_auto_adjust ) { if ( m_sizeHeight ) { - _tmpHover = _tmpHover.smoothScale ( _tmpHover.width(), m_size, TQ_ScaleMin ); - _tmpPressed = _tmpPressed.smoothScale ( _tmpPressed.width(), m_size, TQ_ScaleMin ); - _tmpNormal = _tmpNormal.smoothScale ( _tmpNormal.width(), m_size, TQ_ScaleMin ); + _tmpHover = _tmpHover.smoothScale ( _tmpHover.width(), m_size, TQImage::ScaleMin ); + _tmpPressed = _tmpPressed.smoothScale ( _tmpPressed.width(), m_size, TQImage::ScaleMin ); + _tmpNormal = _tmpNormal.smoothScale ( _tmpNormal.width(), m_size, TQImage::ScaleMin ); } else { - _tmpHover = _tmpHover.smoothScale ( m_size, _tmpHover.height(), TQ_ScaleMin ); - _tmpPressed = _tmpPressed.smoothScale ( m_size, _tmpPressed.height(), TQ_ScaleMin ); - _tmpNormal = _tmpNormal.smoothScale ( m_size, _tmpNormal.height(), TQ_ScaleMin ); + _tmpHover = _tmpHover.smoothScale ( m_size, _tmpHover.height(), TQImage::ScaleMin ); + _tmpPressed = _tmpPressed.smoothScale ( m_size, _tmpPressed.height(), TQImage::ScaleMin ); + _tmpNormal = _tmpNormal.smoothScale ( m_size, _tmpNormal.height(), TQImage::ScaleMin ); } } m_over_skin = TQPixmap ( _tmpHover ); |