diff options
author | Michele Calgaro <[email protected]> | 2023-09-02 15:48:50 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-03 22:42:31 +0900 |
commit | c063a706bb5c136b364ff0b391d9e06746d102b9 (patch) | |
tree | afb85141498b0b77e4eaa6ea2b12e6844e6fe357 /src | |
parent | 04086637d9bcdd8b39d1ae2c4025a92d248e7755 (diff) | |
download | k3b-c063a706bb5c136b364ff0b391d9e06746d102b9.tar.gz k3b-c063a706bb5c136b364ff0b391d9e06746d102b9.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit ed876dc3743b8e65fa280010fb53abb079b982ef)
Diffstat (limited to 'src')
-rw-r--r-- | src/fastscale/scale.cpp | 2 | ||||
-rw-r--r-- | src/fastscale/scale.h | 2 | ||||
-rw-r--r-- | src/k3bjobprogressosd.cpp | 2 | ||||
-rw-r--r-- | src/k3bminibutton.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/fastscale/scale.cpp b/src/fastscale/scale.cpp index fb6a612..62320bf 100644 --- a/src/fastscale/scale.cpp +++ b/src/fastscale/scale.cpp @@ -1920,7 +1920,7 @@ void MImageScale::mimageScaleAARGB(MImageScaleInfo *isi, unsigned int *dest, // } TQImage scale(const TQImage& image, int width, int height, - SmoothAlgorithm alg, TQ_ScaleMode mode, double blur ) + SmoothAlgorithm alg, TQImage::ScaleMode mode, double blur ) { if( image.isNull()) return image.copy(); diff --git a/src/fastscale/scale.h b/src/fastscale/scale.h index 9aab7db..e02062a 100644 --- a/src/fastscale/scale.h +++ b/src/fastscale/scale.h @@ -27,7 +27,7 @@ namespace ImageUtils { enum SmoothAlgorithm { SMOOTH_NONE, SMOOTH_FAST, SMOOTH_NORMAL, SMOOTH_BEST }; TQImage scale(const TQImage& image, int width, int height, - SmoothAlgorithm alg, TQ_ScaleMode mode = TQ_ScaleFree, double blur = 1.0); + SmoothAlgorithm alg, TQImage::ScaleMode mode = TQImage::ScaleFree, double blur = 1.0); } #endif diff --git a/src/k3bjobprogressosd.cpp b/src/k3bjobprogressosd.cpp index ee035e0..659ab81 100644 --- a/src/k3bjobprogressosd.cpp +++ b/src/k3bjobprogressosd.cpp @@ -41,7 +41,7 @@ K3bJobProgressOSD::K3bJobProgressOSD( TQWidget* parent, const char* name ) m_screen(0), m_position(s_outerMargin, s_outerMargin) { - setFocusPolicy( TQ_NoFocus ); + setFocusPolicy( TQWidget::NoFocus ); setBackgroundMode( NoBackground ); // dummy size diff --git a/src/k3bminibutton.cpp b/src/k3bminibutton.cpp index b20399d..3e52d12 100644 --- a/src/k3bminibutton.cpp +++ b/src/k3bminibutton.cpp @@ -27,7 +27,7 @@ K3bMiniButton::K3bMiniButton( TQWidget *parent, const char * name ) :TQPushButton( parent, name ), m_mouseOver( false ) { - setFocusPolicy( TQ_NoFocus ); + setFocusPolicy( TQWidget::NoFocus ); } K3bMiniButton::~K3bMiniButton() |