summaryrefslogtreecommitdiffstats
path: root/kbugbuster/gui/cwloadingwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbugbuster/gui/cwloadingwidget.cpp')
-rw-r--r--kbugbuster/gui/cwloadingwidget.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kbugbuster/gui/cwloadingwidget.cpp b/kbugbuster/gui/cwloadingwidget.cpp
index 24eb70b9..8bff359d 100644
--- a/kbugbuster/gui/cwloadingwidget.cpp
+++ b/kbugbuster/gui/cwloadingwidget.cpp
@@ -27,16 +27,16 @@
using namespace KBugBusterMainWindow;
-CWLoadingWidget::CWLoadingWidget( WidgetMode mode, TQWidget *parent,
+CWLoadingWidget::CWLoadingWidget( WidgetMode mode, TQWidget *tqparent,
const char * name )
-: TQFrame( parent, name )
+: TQFrame( tqparent, name )
{
init( mode );
}
CWLoadingWidget::CWLoadingWidget( const TQString &text, WidgetMode mode,
- TQWidget *parent, const char * name )
-: TQFrame( parent, name )
+ TQWidget *tqparent, const char * name )
+: TQFrame( tqparent, name )
{
init( mode );
setText( text );
@@ -107,7 +107,7 @@ void CWLoadingWidget::setText( const TQString &text )
{
m_text = text;
updatePixmap();
- repaint();
+ tqrepaint();
}
void CWLoadingWidget::updatePixmap()
@@ -197,9 +197,9 @@ void CWLoadingWidget::updatePixmap()
box.setHeight( box.height() + 2 * fheight );
box.setWidth( box.width() + 2 * 10 );
if( box.width() < cr.width() - 2 * boxX )
- box.setWidth( QMIN( cr.width() - 2 * boxX, 500 + 2 * 10 ) );
+ box.setWidth( TQMIN( cr.width() - 2 * boxX, 500 + 2 * 10 ) );
if( box.height() < 100 )
- box.setHeight( QMIN( cr.height() - boxY - 2 * fheight - 10, 100 ) );
+ box.setHeight( TQMIN( cr.height() - boxY - 2 * fheight - 10, 100 ) );
p.setClipRect( box );
p.fillRect( box, TQBrush( TQColor( 204, 222, 234 ) ) );
@@ -209,7 +209,7 @@ void CWLoadingWidget::updatePixmap()
p.setWindow( 0, 0, box.width(), box.height() );
p.drawText( 10, fheight, br.width(),
- QMAX( br.height(), box.height() - 2 * fheight ),
+ TQMAX( br.height(), box.height() - 2 * fheight ),
AlignAuto | AlignVCenter | WordBreak, m_text );
}
}