summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:48:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-03 22:42:31 +0900
commitc063a706bb5c136b364ff0b391d9e06746d102b9 (patch)
treeafb85141498b0b77e4eaa6ea2b12e6844e6fe357 /src
parent04086637d9bcdd8b39d1ae2c4025a92d248e7755 (diff)
downloadk3b-c063a706bb5c136b364ff0b391d9e06746d102b9.tar.gz
k3b-c063a706bb5c136b364ff0b391d9e06746d102b9.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ed876dc3743b8e65fa280010fb53abb079b982ef)
Diffstat (limited to 'src')
-rw-r--r--src/fastscale/scale.cpp2
-rw-r--r--src/fastscale/scale.h2
-rw-r--r--src/k3bjobprogressosd.cpp2
-rw-r--r--src/k3bminibutton.cpp2
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()