diff options
Diffstat (limited to 'src/part/progressBox.cpp')
-rw-r--r-- | src/part/progressBox.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/part/progressBox.cpp b/src/part/progressBox.cpp index 5bf205a..b608ae6 100644 --- a/src/part/progressBox.cpp +++ b/src/part/progressBox.cpp @@ -10,22 +10,22 @@ #include "progressBox.h" -ProgressBox::ProgressBox( QWidget *parent, QObject *part ) - : QLabel( parent, "ProgressBox" ) +ProgressBox::ProgressBox( TQWidget *tqparent, TQObject *part ) + : TQLabel( tqparent, "ProgressBox" ) { hide(); - setAlignment( Qt::AlignCenter ); + tqsetAlignment( TQt::AlignCenter ); setFont( KGlobalSettings::fixedFont() ); - setSizePolicy( QSizePolicy::Minimum, QSizePolicy::Fixed ); + tqsetSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Fixed ); setText( 999999 ); - setMinimumWidth( sizeHint().width() ); + setMinimumWidth( tqsizeHint().width() ); - connect( &m_timer, SIGNAL(timeout()), SLOT(report()) ); - connect( part, SIGNAL(started( KIO::Job* )), SLOT(start()) ); - connect( part, SIGNAL(completed()), SLOT(stop()) ); - connect( part, SIGNAL(canceled( const QString& )), SLOT(halt()) ); + connect( &m_timer, TQT_SIGNAL(timeout()), TQT_SLOT(report()) ); + connect( part, TQT_SIGNAL(started( KIO::Job* )), TQT_SLOT(start()) ); + connect( part, TQT_SIGNAL(completed()), TQT_SLOT(stop()) ); + connect( part, TQT_SIGNAL(canceled( const TQString& )), TQT_SLOT(halt()) ); } void @@ -53,13 +53,13 @@ ProgressBox::halt() { // canceled by stop button m_timer.stop(); - QTimer::singleShot( 2000, this, SLOT(hide()) ); + TQTimer::singleShot( 2000, this, TQT_SLOT(hide()) ); } void ProgressBox::setText( int files ) { - QLabel::setText( i18n("%n File", "%n Files", files) ); + TQLabel::setText( i18n("%n File", "%n Files", files) ); } #include "progressBox.moc" |