summaryrefslogtreecommitdiffstats
path: root/src/misc
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-09 18:25:41 +0900
committerMichele Calgaro <[email protected]>2023-12-10 00:55:58 +0900
commit6a101aa2ef54f02a292d6c28f23e2554a72e2bce (patch)
treef09a5825791af56e09934f662c82894dd4544edb /src/misc
parent386d824e48f9c050b839ba313234cf7fa1ba833f (diff)
downloadk3b-6a101aa2ef54f02a292d6c28f23e2554a72e2bce.tar.gz
k3b-6a101aa2ef54f02a292d6c28f23e2554a72e2bce.zip
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 766478630b5e0f435d8aef9ee7ba44651e4e431d)
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/k3bblankingdialog.cpp2
-rw-r--r--src/misc/k3bcdcopydialog.cpp6
-rw-r--r--src/misc/k3bcdimagewritingdialog.cpp8
-rw-r--r--src/misc/k3bdvdcopydialog.cpp2
-rw-r--r--src/misc/k3bdvdformattingdialog.cpp2
-rw-r--r--src/misc/k3bisoimagewritingdialog.cpp2
6 files changed, 11 insertions, 11 deletions
diff --git a/src/misc/k3bblankingdialog.cpp b/src/misc/k3bblankingdialog.cpp
index ea3cdff..c9baae8 100644
--- a/src/misc/k3bblankingdialog.cpp
+++ b/src/misc/k3bblankingdialog.cpp
@@ -131,7 +131,7 @@ void K3bBlankingDialog::slotStartClicked()
d->debugFile.open();
if( d->job == 0 ) {
- d->job = new K3bBlankingJob( this, TQT_TQOBJECT(this) );
+ d->job = new K3bBlankingJob( this, this );
connect( d->job, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
d->debugDialog, TQT_SLOT(addOutput(const TQString&, const TQString&)) );
connect( d->job, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
diff --git a/src/misc/k3bcdcopydialog.cpp b/src/misc/k3bcdcopydialog.cpp
index ea56cb5..a38bfab 100644
--- a/src/misc/k3bcdcopydialog.cpp
+++ b/src/misc/k3bcdcopydialog.cpp
@@ -309,7 +309,7 @@ void K3bCdCopyDialog::slotStartClicked()
return;
}
- K3bCloneJob* job = new K3bCloneJob( dlg, TQT_TQOBJECT(this) );
+ K3bCloneJob* job = new K3bCloneJob( dlg, this );
job->setWriterDevice( m_writerSelectionWidget->writerDevice() );
job->setReaderDevice( m_comboSourceDevice->selectedDevice() );
@@ -325,7 +325,7 @@ void K3bCdCopyDialog::slotStartClicked()
burnJob = job;
}
else {
- K3bCdCopyJob* job = new K3bCdCopyJob( dlg, TQT_TQOBJECT(this) );
+ K3bCdCopyJob* job = new K3bCdCopyJob( dlg, this );
job->setWriterDevice( m_writerSelectionWidget->writerDevice() );
job->setReaderDevice( m_comboSourceDevice->selectedDevice() );
@@ -392,7 +392,7 @@ void K3bCdCopyDialog::toggleAll()
- TQT_TQWIDGET( child( "audio_options" ) )->setDisabled( m_comboCopyMode->currentItem() == 1 );
+ static_cast<TQWidget*>( child( "audio_options" ) )->setDisabled( m_comboCopyMode->currentItem() == 1 );
m_checkIgnoreDataReadErrors->setDisabled( m_comboCopyMode->currentItem() == 1 );
diff --git a/src/misc/k3bcdimagewritingdialog.cpp b/src/misc/k3bcdimagewritingdialog.cpp
index 6f73194..51431fe 100644
--- a/src/misc/k3bcdimagewritingdialog.cpp
+++ b/src/misc/k3bcdimagewritingdialog.cpp
@@ -126,7 +126,7 @@ K3bCdImageWritingDialog::K3bCdImageWritingDialog( TQWidget* parent, const char*
setupGui();
- d->md5Job = new K3bMd5Job( 0, TQT_TQOBJECT(this) );
+ d->md5Job = new K3bMd5Job( 0, this );
connect( d->md5Job, TQT_SIGNAL(finished(bool)),
this, TQT_SLOT(slotMd5JobFinished(bool)) );
connect( d->md5Job, TQT_SIGNAL(percent(int)),
@@ -354,7 +354,7 @@ void K3bCdImageWritingDialog::slotStartClicked()
switch( currentImageType() ) {
case IMAGE_CDRECORD_CLONE:
{
- K3bCloneJob* _job = new K3bCloneJob( &dlg, TQT_TQOBJECT(this) );
+ K3bCloneJob* _job = new K3bCloneJob( &dlg, this );
_job->setWriterDevice( m_writerSelectionWidget->writerDevice() );
_job->setImagePath( d->imageFile );
_job->setSimulate( m_checkDummy->isChecked() );
@@ -368,7 +368,7 @@ void K3bCdImageWritingDialog::slotStartClicked()
case IMAGE_AUDIO_CUE:
{
- K3bAudioCueFileWritingJob* job_ = new K3bAudioCueFileWritingJob( &dlg, TQT_TQOBJECT(this) );
+ K3bAudioCueFileWritingJob* job_ = new K3bAudioCueFileWritingJob( &dlg, this );
job_->setBurnDevice( m_writerSelectionWidget->writerDevice() );
job_->setSpeed( m_writerSelectionWidget->writerSpeed() );
@@ -387,7 +387,7 @@ void K3bCdImageWritingDialog::slotStartClicked()
// for now the K3bBinImageWritingJob decides if it's a toc or a cue file
case IMAGE_CDRDAO_TOC:
{
- K3bBinImageWritingJob* job_ = new K3bBinImageWritingJob( &dlg, TQT_TQOBJECT(this) );
+ K3bBinImageWritingJob* job_ = new K3bBinImageWritingJob( &dlg, this );
job_->setWriter( m_writerSelectionWidget->writerDevice() );
job_->setSpeed( m_writerSelectionWidget->writerSpeed() );
diff --git a/src/misc/k3bdvdcopydialog.cpp b/src/misc/k3bdvdcopydialog.cpp
index 41b2b98..8340c90 100644
--- a/src/misc/k3bdvdcopydialog.cpp
+++ b/src/misc/k3bdvdcopydialog.cpp
@@ -253,7 +253,7 @@ void K3bDvdCopyDialog::slotStartClicked()
dlg = new K3bBurnProgressDialog( kapp->mainWidget() );
}
- K3bDvdCopyJob* job = new K3bDvdCopyJob( dlg, TQT_TQOBJECT(this) );
+ K3bDvdCopyJob* job = new K3bDvdCopyJob( dlg, this );
job->setWriterDevice( m_writerSelectionWidget->writerDevice() );
job->setReaderDevice( m_comboSourceDevice->selectedDevice() );
diff --git a/src/misc/k3bdvdformattingdialog.cpp b/src/misc/k3bdvdformattingdialog.cpp
index bb6a3f9..9ea269b 100644
--- a/src/misc/k3bdvdformattingdialog.cpp
+++ b/src/misc/k3bdvdformattingdialog.cpp
@@ -128,7 +128,7 @@ void K3bDvdFormattingDialog::slotStartClicked()
K3bJobProgressDialog d( kapp->mainWidget(), "formattingProgress", false );
- K3bDvdFormattingJob* job = new K3bDvdFormattingJob( &d, TQT_TQOBJECT(this) );
+ K3bDvdFormattingJob* job = new K3bDvdFormattingJob( &d, this );
job->setDevice( m_writerSelectionWidget->writerDevice() );
job->setMode( m_writingModeWidget->writingMode() );
job->setForce( m_checkForce->isChecked() );
diff --git a/src/misc/k3bisoimagewritingdialog.cpp b/src/misc/k3bisoimagewritingdialog.cpp
index 81f5722..c2942c7 100644
--- a/src/misc/k3bisoimagewritingdialog.cpp
+++ b/src/misc/k3bisoimagewritingdialog.cpp
@@ -102,7 +102,7 @@ K3bIsoImageWritingDialog::K3bIsoImageWritingDialog( TQWidget* parent, const char
m_writerSelectionWidget->setSupportedWritingApps( K3b::GROWISOFS );
m_writingModeWidget->setSupportedModes( K3b::DAO|K3b::WRITING_MODE_INCR_SEQ|K3b::WRITING_MODE_RES_OVWR );
- m_md5Job = new K3bMd5Job( 0, TQT_TQOBJECT(this) );
+ m_md5Job = new K3bMd5Job( 0, this );
connect( m_md5Job, TQT_SIGNAL(finished(bool)),
this, TQT_SLOT(slotMd5JobFinished(bool)) );
connect( m_md5Job, TQT_SIGNAL(percent(int)),