diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
commit | d8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch) | |
tree | f295f1c545b319963d5357af79fe08991d8141d9 /libk3b/jobs/k3bblankingjob.cpp | |
parent | 2a39a080579fb52a2599c02b2939795385b89093 (diff) | |
download | k3b-d8cc8bdf.tar.gz k3b-d8cc8bdf.zip |
TQt4 port k3b
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk3b/jobs/k3bblankingjob.cpp')
-rw-r--r-- | libk3b/jobs/k3bblankingjob.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libk3b/jobs/k3bblankingjob.cpp b/libk3b/jobs/k3bblankingjob.cpp index c11f4b4..80eba84 100644 --- a/libk3b/jobs/k3bblankingjob.cpp +++ b/libk3b/jobs/k3bblankingjob.cpp @@ -27,12 +27,12 @@ #include <kio/job.h> #include <kdebug.h> -#include <qstring.h> +#include <tqstring.h> -K3bBlankingJob::K3bBlankingJob( K3bJobHandler* hdl, QObject* parent ) - : K3bBurnJob( hdl, parent ), +K3bBlankingJob::K3bBlankingJob( K3bJobHandler* hdl, TQObject* tqparent ) + : K3bBurnJob( hdl, tqparent ), m_writerJob(0), m_force(true), m_device(0), @@ -94,7 +94,7 @@ void K3bBlankingJob::slotStartErasing() K3bCdrecordWriter* writer = new K3bCdrecordWriter( m_device, this ); m_writerJob = writer; - QString mode; + TQString mode; switch( m_mode ) { case Fast: mode = "fast"; @@ -121,19 +121,19 @@ void K3bBlankingJob::slotStartErasing() writer->setForceNoEject( m_forceNoEject ); } - connect(m_writerJob, SIGNAL(finished(bool)), this, SLOT(slotFinished(bool))); - connect(m_writerJob, SIGNAL(infoMessage( const QString&, int)), - this,SIGNAL(infoMessage( const QString&, int))); - connect( m_writerJob, SIGNAL(debuggingOutput(const QString&, const QString&)), - this, SIGNAL(debuggingOutput(const QString&, const QString&)) ); + connect(m_writerJob, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotFinished(bool))); + connect(m_writerJob, TQT_SIGNAL(infoMessage( const TQString&, int)), + this,TQT_SIGNAL(infoMessage( const TQString&, int))); + connect( m_writerJob, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)), + this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) ); if( waitForMedia( m_device, K3bDevice::STATE_COMPLETE|K3bDevice::STATE_INCOMPLETE, K3bDevice::MEDIA_CD_RW, i18n("Please insert a rewritable CD medium into drive<p><b>%1 %2 (%3)</b>.") - .arg(m_device->vendor()) - .arg(m_device->description()) - .arg(m_device->devicename()) ) < 0 ) { + .tqarg(m_device->vendor()) + .tqarg(m_device->description()) + .tqarg(m_device->devicename()) ) < 0 ) { emit canceled(); jobFinished(false); return; |