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()