diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:29:52 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:29:52 -0600 |
commit | ef5831dd5c8811c94c9b1bc1377a90174d17c82c (patch) | |
tree | 32b4c7307b74026be725950a33d6ec56d0561b3f /libk3b/projects/k3bgrowisofshandler.cpp | |
parent | db733144770616f45d2d6e89bd3c424538a9fd92 (diff) | |
download | k3b-ef5831dd5c8811c94c9b1bc1377a90174d17c82c.tar.gz k3b-ef5831dd5c8811c94c9b1bc1377a90174d17c82c.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'libk3b/projects/k3bgrowisofshandler.cpp')
-rw-r--r-- | libk3b/projects/k3bgrowisofshandler.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libk3b/projects/k3bgrowisofshandler.cpp b/libk3b/projects/k3bgrowisofshandler.cpp index fabaaed..d38e0d2 100644 --- a/libk3b/projects/k3bgrowisofshandler.cpp +++ b/libk3b/projects/k3bgrowisofshandler.cpp @@ -65,7 +65,7 @@ void K3bGrowisofsHandler::reset( K3bDevice::Device* dev, bool dao ) void K3bGrowisofsHandler::handleStart() { -// TQTimer::singleShot( 2000, this, TQT_SLOT(slotCheckBuffertqStatus()) ); +// TQTimer::singleShot( 2000, this, TQT_SLOT(slotCheckBufferStatus()) ); } @@ -177,8 +177,8 @@ void K3bGrowisofsHandler::handleLine( const TQString& line ) double speed = line.mid( pos, endPos-pos ).toDouble(&ok); if( ok ) emit infoMessage( i18n("Writing speed: %1 KB/s (%2x)") - .tqarg((int)(speed*1385.0)) - .tqarg(KGlobal::locale()->formatNumber(speed)), K3bJob::INFO ); + .arg((int)(speed*1385.0)) + .arg(KGlobal::locale()->formatNumber(speed)), K3bJob::INFO ); else kdDebug() << "(K3bGrowisofsHandler) parsing error: '" << line.mid( pos, endPos-pos ) << "'" << endl; } @@ -274,7 +274,7 @@ void K3bGrowisofsHandler::handleExit( int exitCode ) // for now we just emit a message with the error // in the future when I know more about what kinds of errors may occur // we will enhance this - emit infoMessage( i18n("Fatal error at startup: %1").tqarg(strerror(exitCode-128)), + emit infoMessage( i18n("Fatal error at startup: %1").arg(strerror(exitCode-128)), K3bJob::ERROR ); } else if( exitCode == 1 ) { @@ -286,7 +286,7 @@ void K3bGrowisofsHandler::handleExit( int exitCode ) emit infoMessage( i18n("Most likely mkisofs failed in some way."), K3bJob::ERROR ); } else { - emit infoMessage( i18n("Fatal error during recording: %1").tqarg(strerror(exitCode)), + emit infoMessage( i18n("Fatal error during recording: %1").arg(strerror(exitCode)), K3bJob::ERROR ); } } @@ -295,7 +295,7 @@ void K3bGrowisofsHandler::handleExit( int exitCode ) } -void K3bGrowisofsHandler::slotCheckBuffertqStatus() +void K3bGrowisofsHandler::slotCheckBufferStatus() { connect( K3bDevice::sendCommand( K3bDevice::DeviceHandler::BUFFER_CAPACITY, m_device ), TQT_SIGNAL(finished(K3bDevice::DeviceHandler*)), @@ -308,7 +308,7 @@ void K3bGrowisofsHandler::slotCheckBufferStatusDone( K3bDevice::DeviceHandler* d { if( dh->success() && dh->bufferCapacity() > 0 ) { emit deviceBuffer( 100 * (dh->bufferCapacity() - dh->availableBufferCapacity() ) / dh->bufferCapacity() ); - TQTimer::singleShot( 500, this, TQT_SLOT(slotCheckBuffertqStatus()) ); + TQTimer::singleShot( 500, this, TQT_SLOT(slotCheckBufferStatus()) ); } else { kdDebug() << "(K3bGrowisofsHandler) stopping buffer check." << endl; |