summaryrefslogtreecommitdiffstats
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-02 15:48:50 +0900
commited876dc3743b8e65fa280010fb53abb079b982ef (patch)
treeafb85141498b0b77e4eaa6ea2b12e6844e6fe357
parentc19b14663d5ec4766ebd44c5daa8f1275077b0dd (diff)
downloadk3b-ed876dc3743b8e65fa280010fb53abb079b982ef.tar.gz
k3b-ed876dc3743b8e65fa280010fb53abb079b982ef.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--libk3b/tools/k3blistview.cpp2
-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
5 files changed, 5 insertions, 5 deletions
diff --git a/libk3b/tools/k3blistview.cpp b/libk3b/tools/k3blistview.cpp
index b6ab012..8d6b24c 100644
--- a/libk3b/tools/k3blistview.cpp
+++ b/libk3b/tools/k3blistview.cpp
@@ -1174,7 +1174,7 @@ void K3bListView::viewportResizeEvent( TQResizeEvent* e )
if( bgPix.width() < m_backgroundPixmap.width() ||
bgPix.height() < m_backgroundPixmap.height() ) {
- TQPixmap newBgPix( m_backgroundPixmap.convertToImage().scale( bgPix.size(), TQ_ScaleMin ) );
+ TQPixmap newBgPix( m_backgroundPixmap.convertToImage().scale( bgPix.size(), TQImage::ScaleMin ) );
if( m_backgroundPixmapPosition == TOP_LEFT )
bitBlt( &bgPix, 0, 0,
&newBgPix, 0, 0,
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()