From 27c4f9d521b001349222740b1980871cc62f6cf4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 7 Jan 2024 19:46:19 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit e9d5585a3efa2fafce1a10dccc411ad2315732de) --- src/part/progressBox.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/part/progressBox.cpp') diff --git a/src/part/progressBox.cpp b/src/part/progressBox.cpp index 2b0d093..ba8fef5 100644 --- a/src/part/progressBox.cpp +++ b/src/part/progressBox.cpp @@ -22,10 +22,10 @@ ProgressBox::ProgressBox( TQWidget *parent, TQObject *part ) setText( 999999 ); setMinimumWidth( sizeHint().width() ); - connect( &m_timer, TQT_SIGNAL(timeout()), TQT_SLOT(report()) ); - connect( part, TQT_SIGNAL(started( TDEIO::Job* )), TQT_SLOT(start()) ); - connect( part, TQT_SIGNAL(completed()), TQT_SLOT(stop()) ); - connect( part, TQT_SIGNAL(canceled( const TQString& )), TQT_SLOT(halt()) ); + connect( &m_timer, TQ_SIGNAL(timeout()), TQ_SLOT(report()) ); + connect( part, TQ_SIGNAL(started( TDEIO::Job* )), TQ_SLOT(start()) ); + connect( part, TQ_SIGNAL(completed()), TQ_SLOT(stop()) ); + connect( part, TQ_SIGNAL(canceled( const TQString& )), TQ_SLOT(halt()) ); } void @@ -53,7 +53,7 @@ ProgressBox::halt() { // canceled by stop button m_timer.stop(); - TQTimer::singleShot( 2000, this, TQT_SLOT(hide()) ); + TQTimer::singleShot( 2000, this, TQ_SLOT(hide()) ); } void -- cgit v1.2.3