summaryrefslogtreecommitdiffstats
path: root/src/k3bemptydiscwaiter.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-02 11:37:05 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-02 11:37:05 +0900
commit61b79fc39298cb8646cee439dc032d5bf0169063 (patch)
treede0059ceac6459f416369e6e59ffa116be4a60e1 /src/k3bemptydiscwaiter.cpp
parent766478630b5e0f435d8aef9ee7ba44651e4e431d (diff)
downloadk3b-61b79fc39298cb8646cee439dc032d5bf0169063.tar.gz
k3b-61b79fc39298cb8646cee439dc032d5bf0169063.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/k3bemptydiscwaiter.cpp')
-rw-r--r--src/k3bemptydiscwaiter.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/k3bemptydiscwaiter.cpp b/src/k3bemptydiscwaiter.cpp
index 7e43a41..ec1f938 100644
--- a/src/k3bemptydiscwaiter.cpp
+++ b/src/k3bemptydiscwaiter.cpp
@@ -117,8 +117,8 @@ K3bEmptyDiscWaiter::K3bEmptyDiscWaiter( K3bDevice::Device* device, TQWidget* par
grid->setColStretch( 3, 1 );
// -----------------------------
- connect( k3bappcore->mediaCache(), TQT_SIGNAL(mediumChanged(K3bDevice::Device*)),
- this, TQT_SLOT(slotMediumChanged(K3bDevice::Device*)) );
+ connect( k3bappcore->mediaCache(), TQ_SIGNAL(mediumChanged(K3bDevice::Device*)),
+ this, TQ_SLOT(slotMediumChanged(K3bDevice::Device*)) );
TQToolTip::add( actionButton(KDialogBase::User1),
i18n("Force K3b to continue if it seems not to detect your empty CD/DVD.") );
@@ -314,9 +314,9 @@ void K3bEmptyDiscWaiter::slotMediumChanged( K3bDevice::Device* dev )
job.setForceNoEject( true );
d->erasingInfoDialog->setText( i18n("Preformatting DVD+RW") );
- connect( &job, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotErasingFinished(bool)) );
- connect( &job, TQT_SIGNAL(percent(int)), d->erasingInfoDialog, TQT_SLOT(setProgress(int)) );
- connect( d->erasingInfoDialog, TQT_SIGNAL(cancelClicked()), &job, TQT_SLOT(cancel()) );
+ connect( &job, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotErasingFinished(bool)) );
+ connect( &job, TQ_SIGNAL(percent(int)), d->erasingInfoDialog, TQ_SLOT(setProgress(int)) );
+ connect( d->erasingInfoDialog, TQ_SIGNAL(cancelClicked()), &job, TQ_SLOT(cancel()) );
job.start( medium.diskInfo() );
d->erasingInfoDialog->exec( true );
}
@@ -492,9 +492,9 @@ void K3bEmptyDiscWaiter::slotMediumChanged( K3bDevice::Device* dev )
job.setForceNoEject(true);
d->erasingInfoDialog->setText( i18n("Formatting DVD-RW") );
- connect( &job, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotErasingFinished(bool)) );
- connect( &job, TQT_SIGNAL(percent(int)), d->erasingInfoDialog, TQT_SLOT(setProgress(int)) );
- connect( d->erasingInfoDialog, TQT_SIGNAL(cancelClicked()), &job, TQT_SLOT(cancel()) );
+ connect( &job, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotErasingFinished(bool)) );
+ connect( &job, TQ_SIGNAL(percent(int)), d->erasingInfoDialog, TQ_SLOT(setProgress(int)) );
+ connect( d->erasingInfoDialog, TQ_SIGNAL(cancelClicked()), &job, TQ_SLOT(cancel()) );
job.start( medium.diskInfo() );
d->erasingInfoDialog->exec( true );
}
@@ -566,8 +566,8 @@ void K3bEmptyDiscWaiter::slotMediumChanged( K3bDevice::Device* dev )
job.setForceNoEject(true);
job.setSpeed( 0 ); // Auto
job.setWritingApp( erasingApp );
- connect( &job, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotErasingFinished(bool)) );
- connect( d->erasingInfoDialog, TQT_SIGNAL(cancelClicked()), &job, TQT_SLOT(cancel()) );
+ connect( &job, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotErasingFinished(bool)) );
+ connect( d->erasingInfoDialog, TQ_SIGNAL(cancelClicked()), &job, TQ_SLOT(cancel()) );
job.start();
d->erasingInfoDialog->exec( false );
}
@@ -664,9 +664,9 @@ void K3bEmptyDiscWaiter::slotErasingFinished( bool success )
{
if( success ) {
connect( K3bDevice::reload( d->device ),
- TQT_SIGNAL(finished(K3bDevice::DeviceHandler*)),
+ TQ_SIGNAL(finished(K3bDevice::DeviceHandler*)),
this,
- TQT_SLOT(slotReloadingAfterErasingFinished(K3bDevice::DeviceHandler*)) );
+ TQ_SLOT(slotReloadingAfterErasingFinished(K3bDevice::DeviceHandler*)) );
}
else {
K3bDevice::eject( d->device );