Replace TQ_*Focus* and TQ_Scale* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/28/head
Michele Calgaro 1 year ago
parent c19b14663d
commit ed876dc374
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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,

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

@ -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

@ -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

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

Loading…
Cancel
Save