Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/38/head
Michele Calgaro 11 months ago
parent 766478630b
commit 61b79fc392
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -144,14 +144,14 @@ K3bSetup2::K3bSetup2( TQWidget *parent, const char *, const TQStringList& )
w->textLabel2->hide();
connect( w->m_checkUseBurningGroup, TQT_SIGNAL(toggled(bool)),
this, TQT_SLOT(updateViews()) );
connect( w->m_editBurningGroup, TQT_SIGNAL(textChanged(const TQString&)),
this, TQT_SLOT(updateViews()) );
connect( w->m_editSearchPath, TQT_SIGNAL(changed()),
this, TQT_SLOT(slotSearchPrograms()) );
connect( w->m_buttonAddDevice, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotAddDevice()) );
connect( w->m_checkUseBurningGroup, TQ_SIGNAL(toggled(bool)),
this, TQ_SLOT(updateViews()) );
connect( w->m_editBurningGroup, TQ_SIGNAL(textChanged(const TQString&)),
this, TQ_SLOT(updateViews()) );
connect( w->m_editSearchPath, TQ_SIGNAL(changed()),
this, TQ_SLOT(slotSearchPrograms()) );
connect( w->m_buttonAddDevice, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotAddDevice()) );
d->externalBinManager = new K3bExternalBinManager( this );
@ -171,7 +171,7 @@ K3bSetup2::K3bSetup2( TQWidget *parent, const char *, const TQStringList& )
// This is a hack to work around a kcm bug which makes the faulty assumption that
// every module starts without anything to apply
//
TQTimer::singleShot( 0, this, TQT_SLOT(updateViews()) );
TQTimer::singleShot( 0, this, TQ_SLOT(updateViews()) );
if( getuid() != 0 || !d->config->checkConfigFilesWritable( true ) )
makeReadOnly();
@ -383,7 +383,7 @@ void K3bSetup2::defaults()
// This is a hack to work around a kcm bug which makes the faulty assumption that
// every module defaults to a state where nothing is to be applied
//
TQTimer::singleShot( 0, this, TQT_SLOT(updateViews()) );
TQTimer::singleShot( 0, this, TQ_SLOT(updateViews()) );
}

@ -98,14 +98,14 @@ void K3bCddb::query( const K3bDevice::Toc& toc )
if( m_bLocalCddbQuery ) {
m_iCurrentQueriedLocalDir = 0;
TQTimer::singleShot( 0, this, TQT_SLOT(localQuery()) );
TQTimer::singleShot( 0, this, TQ_SLOT(localQuery()) );
}
else if( m_bRemoteCddbQuery ) {
m_iCurrentQueriedServer = 0;
TQTimer::singleShot( 0, this, TQT_SLOT(remoteQuery()) );
TQTimer::singleShot( 0, this, TQ_SLOT(remoteQuery()) );
}
else {
TQTimer::singleShot( 0, this, TQT_SLOT(slotNoEntry()) );
TQTimer::singleShot( 0, this, TQ_SLOT(slotNoEntry()) );
}
}
@ -178,12 +178,12 @@ K3bCddbQuery* K3bCddb::getQuery( const TQString& s )
if( s.startsWith("Http") ) {
if( !m_httpQuery ) {
m_httpQuery = new K3bCddbHttpQuery( this );
connect( m_httpQuery, TQT_SIGNAL(infoMessage(const TQString&)),
this, TQT_SIGNAL(infoMessage(const TQString&)) );
connect( m_httpQuery, TQT_SIGNAL(queryFinished(K3bCddbQuery*)),
this, TQT_SLOT(slotQueryFinished(K3bCddbQuery*)) );
connect( m_httpQuery, TQT_SIGNAL(inexactMatches(K3bCddbQuery*)),
this, TQT_SLOT(slotMultibleMatches(K3bCddbQuery*)) );
connect( m_httpQuery, TQ_SIGNAL(infoMessage(const TQString&)),
this, TQ_SIGNAL(infoMessage(const TQString&)) );
connect( m_httpQuery, TQ_SIGNAL(queryFinished(K3bCddbQuery*)),
this, TQ_SLOT(slotQueryFinished(K3bCddbQuery*)) );
connect( m_httpQuery, TQ_SIGNAL(inexactMatches(K3bCddbQuery*)),
this, TQ_SLOT(slotMultibleMatches(K3bCddbQuery*)) );
}
m_httpQuery->setServer( server, port );
@ -194,12 +194,12 @@ K3bCddbQuery* K3bCddb::getQuery( const TQString& s )
else {
if( !m_cddbpQuery ) {
m_cddbpQuery = new K3bCddbpQuery( this );
connect( m_cddbpQuery, TQT_SIGNAL(infoMessage(const TQString&)),
this, TQT_SIGNAL(infoMessage(const TQString&)) );
connect( m_cddbpQuery, TQT_SIGNAL(queryFinished(K3bCddbQuery*)),
this, TQT_SLOT(slotQueryFinished(K3bCddbQuery*)) );
connect( m_cddbpQuery, TQT_SIGNAL(inexactMatches(K3bCddbQuery*)),
this, TQT_SLOT(slotMultibleMatches(K3bCddbQuery*)) );
connect( m_cddbpQuery, TQ_SIGNAL(infoMessage(const TQString&)),
this, TQ_SIGNAL(infoMessage(const TQString&)) );
connect( m_cddbpQuery, TQ_SIGNAL(queryFinished(K3bCddbQuery*)),
this, TQ_SLOT(slotQueryFinished(K3bCddbQuery*)) );
connect( m_cddbpQuery, TQ_SIGNAL(inexactMatches(K3bCddbQuery*)),
this, TQ_SLOT(slotMultibleMatches(K3bCddbQuery*)) );
}
m_cddbpQuery->setServer( server, port );
@ -213,12 +213,12 @@ void K3bCddb::localQuery()
{
if( !m_localQuery ) {
m_localQuery = new K3bCddbLocalQuery( this );
connect( m_localQuery, TQT_SIGNAL(infoMessage(const TQString&)),
this, TQT_SIGNAL(infoMessage(const TQString&)) );
connect( m_localQuery, TQT_SIGNAL(queryFinished(K3bCddbQuery*)),
this, TQT_SLOT(slotQueryFinished(K3bCddbQuery*)) );
connect( m_localQuery, TQT_SIGNAL(inexactMatches(K3bCddbQuery*)),
this, TQT_SLOT(slotMultibleMatches(K3bCddbQuery*)) );
connect( m_localQuery, TQ_SIGNAL(infoMessage(const TQString&)),
this, TQ_SIGNAL(infoMessage(const TQString&)) );
connect( m_localQuery, TQ_SIGNAL(queryFinished(K3bCddbQuery*)),
this, TQ_SLOT(slotQueryFinished(K3bCddbQuery*)) );
connect( m_localQuery, TQ_SIGNAL(inexactMatches(K3bCddbQuery*)),
this, TQ_SLOT(slotMultibleMatches(K3bCddbQuery*)) );
}
m_localQuery->setCddbDir( m_localCddbDirs[m_iCurrentQueriedLocalDir] );
@ -261,8 +261,8 @@ void K3bCddb::saveEntry( const K3bCddbResultEntry& entry )
{
if( !m_localSubmit ) {
m_localSubmit = new K3bCddbLocalSubmit( this );
connect( m_localSubmit, TQT_SIGNAL(submitFinished(K3bCddbSubmit*)),
this, TQT_SLOT(slotSubmitFinished(K3bCddbSubmit*)) );
connect( m_localSubmit, TQ_SIGNAL(submitFinished(K3bCddbSubmit*)),
this, TQ_SLOT(slotSubmitFinished(K3bCddbSubmit*)) );
}
m_localSubmit->setCddbDir( m_localCddbDirs[0] );

@ -87,10 +87,10 @@ void K3bCddbHttpQuery::performCommand( const TQString& cmd )
return;
}
connect( job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQT_SLOT(slotData(TDEIO::Job*, const TQByteArray&)) );
connect( job, TQT_SIGNAL(result(TDEIO::Job*)),
TQT_SLOT(slotResult(TDEIO::Job*)) );
connect( job, TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),
TQ_SLOT(slotData(TDEIO::Job*, const TQByteArray&)) );
connect( job, TQ_SIGNAL(result(TDEIO::Job*)),
TQ_SLOT(slotResult(TDEIO::Job*)) );
}

@ -32,11 +32,11 @@ K3bCddbpQuery::K3bCddbpQuery( TQObject* parent, const char* name )
m_stream.setDevice( m_socket );
m_stream.setEncoding( TQTextStream::UnicodeUTF8 );
connect( m_socket, TQT_SIGNAL(connected()), this, TQT_SLOT(slotConnected()) );
connect( m_socket, TQT_SIGNAL(hostFound()), this, TQT_SLOT(slotHostFound()) );
connect( m_socket, TQT_SIGNAL(connectionClosed()), this, TQT_SLOT(slotConnectionClosed()) );
connect( m_socket, TQT_SIGNAL(error(int)), this, TQT_SLOT(slotError(int)) );
connect( m_socket, TQT_SIGNAL(readyRead()), this, TQT_SLOT(slotReadyRead()) );
connect( m_socket, TQ_SIGNAL(connected()), this, TQ_SLOT(slotConnected()) );
connect( m_socket, TQ_SIGNAL(hostFound()), this, TQ_SLOT(slotHostFound()) );
connect( m_socket, TQ_SIGNAL(connectionClosed()), this, TQ_SLOT(slotConnectionClosed()) );
connect( m_socket, TQ_SIGNAL(error(int)), this, TQ_SLOT(slotError(int)) );
connect( m_socket, TQ_SIGNAL(readyRead()), this, TQ_SLOT(slotReadyRead()) );
}

@ -53,7 +53,7 @@ void K3bCddbQuery::query( const K3bDevice::Toc& toc )
m_toc = toc;
m_inexactMatches.clear();
TQTimer::singleShot( 0, this, TQT_SLOT(doQuery()) );
TQTimer::singleShot( 0, this, TQ_SLOT(doQuery()) );
}
@ -64,7 +64,7 @@ void K3bCddbQuery::queryMatch( const K3bCddbResultHeader& header )
m_result.category = header.category;
m_result.discid = header.discid;
TQTimer::singleShot( 0, this, TQT_SLOT(doMatchQuery()) );
TQTimer::singleShot( 0, this, TQ_SLOT(doMatchQuery()) );
}

@ -37,7 +37,7 @@ void K3bCddbSubmit::submit( const K3bCddbResultEntry& entry )
if( m_resultEntry.rawData.isEmpty() )
createDataStream( m_resultEntry );
TQTimer::singleShot( 0, this, TQT_SLOT(doSubmit()) );
TQTimer::singleShot( 0, this, TQ_SLOT(doSubmit()) );
}

@ -202,10 +202,10 @@ void K3bCore::init()
externalBinManager()->search();
connect( K3bDevice::Connection::instance(), TQT_SIGNAL(deviceAdded(const TQString&)),
deviceManager(), TQT_SLOT(addDevice(const TQString&)) );
connect( K3bDevice::Connection::instance(), TQT_SIGNAL(deviceRemoved(const TQString&)),
deviceManager(), TQT_SLOT(removeDevice(const TQString&)) );
connect( K3bDevice::Connection::instance(), TQ_SIGNAL(deviceAdded(const TQString&)),
deviceManager(), TQ_SLOT(addDevice(const TQString&)) );
connect( K3bDevice::Connection::instance(), TQ_SIGNAL(deviceRemoved(const TQString&)),
deviceManager(), TQ_SLOT(removeDevice(const TQString&)) );
TQStringList devList = K3bDevice::Connection::instance()->devices();
if( devList.isEmpty() )
deviceManager()->scanBus();

@ -40,8 +40,8 @@ K3bJob::K3bJob( K3bJobHandler* handler, TQObject* parent, const char* name )
m_canceled(false),
m_active(false)
{
connect( this, TQT_SIGNAL(canceled()),
this, TQT_SLOT(slotCanceled()) );
connect( this, TQ_SIGNAL(canceled()),
this, TQ_SLOT(slotCanceled()) );
}
K3bJob::~K3bJob()
@ -128,23 +128,23 @@ void K3bJob::connectSubJob( K3bJob* subJob,
const char* processedSizeSlot,
const char* processedSubSizeSlot )
{
connect( subJob, TQT_SIGNAL(newTask(const TQString&)), this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( subJob, TQT_SIGNAL(newSubTask(const TQString&)), this, TQT_SLOT(slotNewSubTask(const TQString&)) );
connect( subJob, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( subJob, TQT_SIGNAL(infoMessage(const TQString&, int)),
this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( subJob, TQT_SIGNAL(finished(bool)), this, finishedSlot );
connect( subJob, TQ_SIGNAL(newTask(const TQString&)), this, TQ_SIGNAL(newSubTask(const TQString&)) );
connect( subJob, TQ_SIGNAL(newSubTask(const TQString&)), this, TQ_SLOT(slotNewSubTask(const TQString&)) );
connect( subJob, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( subJob, TQ_SIGNAL(infoMessage(const TQString&, int)),
this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( subJob, TQ_SIGNAL(finished(bool)), this, finishedSlot );
if( connectProgress ) {
connect( subJob, TQT_SIGNAL(percent(int)),
this, progressSlot != 0 ? progressSlot : TQT_SIGNAL(subPercent(int)) );
connect( subJob, TQ_SIGNAL(percent(int)),
this, progressSlot != 0 ? progressSlot : TQ_SIGNAL(subPercent(int)) );
if( subProgressSlot )
connect( subJob, TQT_SIGNAL(subPercent(int)), this, subProgressSlot );
connect( subJob, TQT_SIGNAL(processedSize(int, int)),
this, processedSizeSlot != 0 ? processedSizeSlot : TQT_SIGNAL(processedSubSize(int, int)) );
connect( subJob, TQ_SIGNAL(subPercent(int)), this, subProgressSlot );
connect( subJob, TQ_SIGNAL(processedSize(int, int)),
this, processedSizeSlot != 0 ? processedSizeSlot : TQ_SIGNAL(processedSubSize(int, int)) );
if( processedSubSizeSlot )
connect( subJob, TQT_SIGNAL(processedSubSize(int, int)), this, processedSubSizeSlot );
connect( subJob, TQ_SIGNAL(processedSubSize(int, int)), this, processedSubSizeSlot );
}
}
@ -159,42 +159,42 @@ void K3bJob::connectSubJob( K3bJob* subJob,
const char* processedSubSizeSlot )
{
// standard connections
connect( subJob, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( subJob, TQT_SIGNAL(infoMessage(const TQString&, int)),
this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( subJob, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( subJob, TQ_SIGNAL(infoMessage(const TQString&, int)),
this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
// task connections
if( newTaskSlot == DEFAULT_SIGNAL_CONNECTION )
connect( subJob, TQT_SIGNAL(newTask(const TQString&)), this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( subJob, TQ_SIGNAL(newTask(const TQString&)), this, TQ_SIGNAL(newSubTask(const TQString&)) );
else if( newTaskSlot )
connect( subJob, TQT_SIGNAL(newTask(const TQString&)), this, newTaskSlot );
connect( subJob, TQ_SIGNAL(newTask(const TQString&)), this, newTaskSlot );
if( newSubTaskSlot == DEFAULT_SIGNAL_CONNECTION )
connect( subJob, TQT_SIGNAL(newSubTask(const TQString&)), this, TQT_SLOT(slotNewSubTask(const TQString&)) );
connect( subJob, TQ_SIGNAL(newSubTask(const TQString&)), this, TQ_SLOT(slotNewSubTask(const TQString&)) );
else if( newSubTaskSlot )
connect( subJob, TQT_SIGNAL(newSubTask(const TQString&)), this, newSubTaskSlot );
connect( subJob, TQ_SIGNAL(newSubTask(const TQString&)), this, newSubTaskSlot );
if( finishedSlot && finishedSlot != DEFAULT_SIGNAL_CONNECTION )
connect( subJob, TQT_SIGNAL(finished(bool)), this, finishedSlot );
connect( subJob, TQ_SIGNAL(finished(bool)), this, finishedSlot );
// progress
if( progressSlot == DEFAULT_SIGNAL_CONNECTION )
connect( subJob, TQT_SIGNAL(percent(int)), this, TQT_SIGNAL(subPercent(int)) );
connect( subJob, TQ_SIGNAL(percent(int)), this, TQ_SIGNAL(subPercent(int)) );
else if( progressSlot )
connect( subJob, TQT_SIGNAL(percent(int)), this, progressSlot );
connect( subJob, TQ_SIGNAL(percent(int)), this, progressSlot );
if( subProgressSlot && subProgressSlot != DEFAULT_SIGNAL_CONNECTION )
connect( subJob, TQT_SIGNAL(subPercent(int)), this, subProgressSlot );
connect( subJob, TQ_SIGNAL(subPercent(int)), this, subProgressSlot );
// processed size
if( processedSizeSlot == DEFAULT_SIGNAL_CONNECTION )
connect( subJob, TQT_SIGNAL(processedSize(int, int)), this, TQT_SIGNAL(processedSubSize(int, int)) );
connect( subJob, TQ_SIGNAL(processedSize(int, int)), this, TQ_SIGNAL(processedSubSize(int, int)) );
else if( processedSizeSlot )
connect( subJob, TQT_SIGNAL(processedSize(int, int)), this, processedSizeSlot );
connect( subJob, TQ_SIGNAL(processedSize(int, int)), this, processedSizeSlot );
if( processedSubSizeSlot && processedSubSizeSlot != DEFAULT_SIGNAL_CONNECTION )
connect( subJob, TQT_SIGNAL(processedSubSize(int, int)), this, processedSubSizeSlot );
connect( subJob, TQ_SIGNAL(processedSubSize(int, int)), this, processedSubSizeSlot );
}

@ -104,12 +104,12 @@ K3bProcess& K3bProcess::operator<<( const TQStringList& args )
bool K3bProcess::start( RunMode run, Communication com )
{
if( com & Stderr ) {
connect( this, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
this, TQT_SLOT(slotSplitStderr(TDEProcess*, char*, int)) );
connect( this, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
this, TQ_SLOT(slotSplitStderr(TDEProcess*, char*, int)) );
}
if( com & Stdout ) {
connect( this, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
this, TQT_SLOT(slotSplitStdout(TDEProcess*, char*, int)) );
connect( this, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
this, TQ_SLOT(slotSplitStdout(TDEProcess*, char*, int)) );
}
return TDEProcess::start( run, com );
@ -425,10 +425,10 @@ void K3bProcessOutputCollector::setProcess( TDEProcess* p )
m_process = p;
if( p ) {
connect( p, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
this, TQT_SLOT(slotGatherStdout(TDEProcess*, char*, int)) );
connect( p, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
this, TQT_SLOT(slotGatherStderr(TDEProcess*, char*, int)) );
connect( p, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
this, TQ_SLOT(slotGatherStdout(TDEProcess*, char*, int)) );
connect( p, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
this, TQ_SLOT(slotGatherStderr(TDEProcess*, char*, int)) );
}
m_gatheredOutput.truncate( 0 );

@ -56,29 +56,29 @@ K3bAudioCueFileWritingJob::K3bAudioCueFileWritingJob( K3bJobHandler* jh, TQObjec
{
m_analyserThread = new AnalyserThread();
m_analyserJob = new K3bThreadJob( m_analyserThread, this, this );
connect( m_analyserJob, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotAnalyserThreadFinished(bool)) );
connect( m_analyserJob, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotAnalyserThreadFinished(bool)) );
m_audioDoc = new K3bAudioDoc( this );
m_audioDoc->newDocument();
m_audioJob = new K3bAudioJob( m_audioDoc, this, this );
// just loop all through
connect( m_audioJob, TQT_SIGNAL(newTask(const TQString&)), this, TQT_SIGNAL(newTask(const TQString&)) );
connect( m_audioJob, TQT_SIGNAL(newSubTask(const TQString&)), this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( m_audioJob, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( m_audioJob, TQT_SIGNAL(infoMessage(const TQString&, int)),
this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_audioJob, TQT_SIGNAL(finished(bool)), this, TQT_SIGNAL(finished(bool)) );
connect( m_audioJob, TQT_SIGNAL(canceled()), this, TQT_SIGNAL(canceled()) );
connect( m_audioJob, TQT_SIGNAL(percent(int)), this, TQT_SIGNAL(percent(int)) );
connect( m_audioJob, TQT_SIGNAL(subPercent(int)), this, TQT_SIGNAL(subPercent(int)) );
connect( m_audioJob, TQT_SIGNAL(processedSize(int, int)), this, TQT_SIGNAL(processedSubSize(int, int)) );
connect( m_audioJob, TQT_SIGNAL(processedSubSize(int, int)), this, TQT_SIGNAL(processedSubSize(int, int)) );
connect( m_audioJob, TQT_SIGNAL(burning(bool)), this, TQT_SIGNAL(burning(bool)) );
connect( m_audioJob, TQT_SIGNAL(bufferStatus(int)), this, TQT_SIGNAL(bufferStatus(int)) );
connect( m_audioJob, TQT_SIGNAL(deviceBuffer(int)), this, TQT_SIGNAL(deviceBuffer(int)) );
connect( m_audioJob, TQT_SIGNAL(writeSpeed(int, int)), this, TQT_SIGNAL(writeSpeed(int, int)) );
connect( m_audioJob, TQ_SIGNAL(newTask(const TQString&)), this, TQ_SIGNAL(newTask(const TQString&)) );
connect( m_audioJob, TQ_SIGNAL(newSubTask(const TQString&)), this, TQ_SIGNAL(newSubTask(const TQString&)) );
connect( m_audioJob, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( m_audioJob, TQ_SIGNAL(infoMessage(const TQString&, int)),
this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_audioJob, TQ_SIGNAL(finished(bool)), this, TQ_SIGNAL(finished(bool)) );
connect( m_audioJob, TQ_SIGNAL(canceled()), this, TQ_SIGNAL(canceled()) );
connect( m_audioJob, TQ_SIGNAL(percent(int)), this, TQ_SIGNAL(percent(int)) );
connect( m_audioJob, TQ_SIGNAL(subPercent(int)), this, TQ_SIGNAL(subPercent(int)) );
connect( m_audioJob, TQ_SIGNAL(processedSize(int, int)), this, TQ_SIGNAL(processedSubSize(int, int)) );
connect( m_audioJob, TQ_SIGNAL(processedSubSize(int, int)), this, TQ_SIGNAL(processedSubSize(int, int)) );
connect( m_audioJob, TQ_SIGNAL(burning(bool)), this, TQ_SIGNAL(burning(bool)) );
connect( m_audioJob, TQ_SIGNAL(bufferStatus(int)), this, TQ_SIGNAL(bufferStatus(int)) );
connect( m_audioJob, TQ_SIGNAL(deviceBuffer(int)), this, TQ_SIGNAL(deviceBuffer(int)) );
connect( m_audioJob, TQ_SIGNAL(writeSpeed(int, int)), this, TQ_SIGNAL(writeSpeed(int, int)) );
m_canceled = false;
m_audioJobRunning = false;

@ -144,18 +144,18 @@ bool K3bBinImageWritingJob::prepareWriter()
m_writer = writer;
}
connect( m_writer, TQT_SIGNAL(infoMessage(const TQString&, int)), this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_writer, TQT_SIGNAL(percent(int)), this, TQT_SLOT(copyPercent(int)) );
connect( m_writer, TQT_SIGNAL(subPercent(int)), this, TQT_SLOT(copySubPercent(int)) );
connect( m_writer, TQT_SIGNAL(processedSize(int, int)), this, TQT_SIGNAL(processedSize(int, int)) );
connect( m_writer, TQT_SIGNAL(buffer(int)), this, TQT_SIGNAL(bufferStatus(int)) );
connect( m_writer, TQT_SIGNAL(deviceBuffer(int)), this, TQT_SIGNAL(deviceBuffer(int)) );
connect( m_writer, TQT_SIGNAL(writeSpeed(int, int)), this, TQT_SIGNAL(writeSpeed(int, int)) );
connect( m_writer, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(writerFinished(bool)) );
connect( m_writer, TQT_SIGNAL(newTask(const TQString&)), this, TQT_SIGNAL(newTask(const TQString&)) );
connect( m_writer, TQT_SIGNAL(newSubTask(const TQString&)), this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( m_writer, TQT_SIGNAL(nextTrack(int, int)), this, TQT_SLOT(slotNextTrack(int, int)) );
connect( m_writer, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)), this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( m_writer, TQ_SIGNAL(infoMessage(const TQString&, int)), this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_writer, TQ_SIGNAL(percent(int)), this, TQ_SLOT(copyPercent(int)) );
connect( m_writer, TQ_SIGNAL(subPercent(int)), this, TQ_SLOT(copySubPercent(int)) );
connect( m_writer, TQ_SIGNAL(processedSize(int, int)), this, TQ_SIGNAL(processedSize(int, int)) );
connect( m_writer, TQ_SIGNAL(buffer(int)), this, TQ_SIGNAL(bufferStatus(int)) );
connect( m_writer, TQ_SIGNAL(deviceBuffer(int)), this, TQ_SIGNAL(deviceBuffer(int)) );
connect( m_writer, TQ_SIGNAL(writeSpeed(int, int)), this, TQ_SIGNAL(writeSpeed(int, int)) );
connect( m_writer, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(writerFinished(bool)) );
connect( m_writer, TQ_SIGNAL(newTask(const TQString&)), this, TQ_SIGNAL(newTask(const TQString&)) );
connect( m_writer, TQ_SIGNAL(newSubTask(const TQString&)), this, TQ_SIGNAL(newSubTask(const TQString&)) );
connect( m_writer, TQ_SIGNAL(nextTrack(int, int)), this, TQ_SLOT(slotNextTrack(int, int)) );
connect( m_writer, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)), this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
return true;
}

@ -121,11 +121,11 @@ void K3bBlankingJob::slotStartErasing()
writer->setForceNoEject( m_forceNoEject );
}
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&)) );
connect(m_writerJob, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotFinished(bool)));
connect(m_writerJob, TQ_SIGNAL(infoMessage( const TQString&, int)),
this,TQ_SIGNAL(infoMessage( const TQString&, int)));
connect( m_writerJob, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
if( waitForMedia( m_device,
K3bDevice::STATE_COMPLETE|K3bDevice::STATE_INCOMPLETE,

@ -173,8 +173,8 @@ void K3bCdCopyJob::start()
// FIXME: read ISRCs and MCN
connect( K3bDevice::diskInfo( m_readerDevice ), TQT_SIGNAL(finished(K3bDevice::DeviceHandler*)),
this, TQT_SLOT(slotDiskInfoReady(K3bDevice::DeviceHandler*)) );
connect( K3bDevice::diskInfo( m_readerDevice ), TQ_SIGNAL(finished(K3bDevice::DeviceHandler*)),
this, TQ_SLOT(slotDiskInfoReady(K3bDevice::DeviceHandler*)) );
}
@ -368,9 +368,9 @@ void K3bCdCopyJob::searchCdText()
emit newSubTask( i18n("Searching CD-TEXT") );
connect( K3bDevice::sendCommand( K3bDevice::DeviceHandler::CD_TEXT_RAW, m_readerDevice ),
TQT_SIGNAL(finished(K3bDevice::DeviceHandler*)),
TQ_SIGNAL(finished(K3bDevice::DeviceHandler*)),
this,
TQT_SLOT(slotCdTextReady(K3bDevice::DeviceHandler*)) );
TQ_SLOT(slotCdTextReady(K3bDevice::DeviceHandler*)) );
}
@ -411,8 +411,8 @@ void K3bCdCopyJob::queryCddb()
if( !d->cddb ) {
d->cddb = new K3bCddb( this );
connect( d->cddb, TQT_SIGNAL(queryFinished(int)),
this, TQT_SLOT(slotCddbQueryFinished(int)) );
connect( d->cddb, TQ_SIGNAL(queryFinished(int)),
this, TQ_SLOT(slotCddbQueryFinished(int)) );
}
TDEConfig* c = k3bcore->config();
@ -594,13 +594,13 @@ void K3bCdCopyJob::readNextSession()
if( d->currentReadSession == 1 && d->toc[0].type() == K3bDevice::Track::AUDIO ) {
if( !d->audioSessionReader ) {
d->audioSessionReader = new K3bAudioSessionReadingJob( this, this );
connect( d->audioSessionReader, TQT_SIGNAL(nextTrack(int, int)),
this, TQT_SLOT(slotReadingNextTrack(int, int)) );
connect( d->audioSessionReader, TQ_SIGNAL(nextTrack(int, int)),
this, TQ_SLOT(slotReadingNextTrack(int, int)) );
connectSubJob( d->audioSessionReader,
TQT_SLOT(slotSessionReaderFinished(bool)),
TQ_SLOT(slotSessionReaderFinished(bool)),
true,
TQT_SLOT(slotReaderProgress(int)),
TQT_SLOT(slotReaderSubProgress(int)) );
TQ_SLOT(slotReaderProgress(int)),
TQ_SLOT(slotReaderSubProgress(int)) );
}
d->audioSessionReader->setDevice( m_readerDevice );
@ -619,12 +619,12 @@ void K3bCdCopyJob::readNextSession()
else {
if( !d->dataTrackReader ) {
d->dataTrackReader = new K3bDataTrackReader( this, this );
connect( d->dataTrackReader, TQT_SIGNAL(percent(int)), this, TQT_SLOT(slotReaderProgress(int)) );
connect( d->dataTrackReader, TQT_SIGNAL(processedSize(int, int)), this, TQT_SLOT(slotReaderProcessedSize(int, int)) );
connect( d->dataTrackReader, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotSessionReaderFinished(bool)) );
connect( d->dataTrackReader, TQT_SIGNAL(infoMessage(const TQString&, int)), this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( d->dataTrackReader, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( d->dataTrackReader, TQ_SIGNAL(percent(int)), this, TQ_SLOT(slotReaderProgress(int)) );
connect( d->dataTrackReader, TQ_SIGNAL(processedSize(int, int)), this, TQ_SLOT(slotReaderProcessedSize(int, int)) );
connect( d->dataTrackReader, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotSessionReaderFinished(bool)) );
connect( d->dataTrackReader, TQ_SIGNAL(infoMessage(const TQString&, int)), this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( d->dataTrackReader, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
}
d->dataTrackReader->setDevice( m_readerDevice );
@ -707,20 +707,20 @@ bool K3bCdCopyJob::writeNextSession()
if( !d->cdrecordWriter ) {
d->cdrecordWriter = new K3bCdrecordWriter( m_writerDevice, this, this );
connect( d->cdrecordWriter, TQT_SIGNAL(infoMessage(const TQString&, int)), this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( d->cdrecordWriter, TQT_SIGNAL(percent(int)), this, TQT_SLOT(slotWriterProgress(int)) );
connect( d->cdrecordWriter, TQT_SIGNAL(processedSize(int, int)), this, TQT_SIGNAL(processedSize(int, int)) );
connect( d->cdrecordWriter, TQT_SIGNAL(subPercent(int)), this, TQT_SIGNAL(subPercent(int)) );
connect( d->cdrecordWriter, TQT_SIGNAL(processedSubSize(int, int)), this, TQT_SIGNAL(processedSubSize(int, int)) );
connect( d->cdrecordWriter, TQT_SIGNAL(nextTrack(int, int)), this, TQT_SLOT(slotWritingNextTrack(int, int)) );
connect( d->cdrecordWriter, TQT_SIGNAL(buffer(int)), this, TQT_SIGNAL(bufferStatus(int)) );
connect( d->cdrecordWriter, TQT_SIGNAL(deviceBuffer(int)), this, TQT_SIGNAL(deviceBuffer(int)) );
connect( d->cdrecordWriter, TQT_SIGNAL(writeSpeed(int, int)), this, TQT_SIGNAL(writeSpeed(int, int)) );
connect( d->cdrecordWriter, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotWriterFinished(bool)) );
// connect( d->cdrecordWriter, TQT_SIGNAL(newTask(const TQString&)), this, TQT_SIGNAL(newTask(const TQString&)) );
connect( d->cdrecordWriter, TQT_SIGNAL(newSubTask(const TQString&)), this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( d->cdrecordWriter, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( d->cdrecordWriter, TQ_SIGNAL(infoMessage(const TQString&, int)), this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( d->cdrecordWriter, TQ_SIGNAL(percent(int)), this, TQ_SLOT(slotWriterProgress(int)) );
connect( d->cdrecordWriter, TQ_SIGNAL(processedSize(int, int)), this, TQ_SIGNAL(processedSize(int, int)) );
connect( d->cdrecordWriter, TQ_SIGNAL(subPercent(int)), this, TQ_SIGNAL(subPercent(int)) );
connect( d->cdrecordWriter, TQ_SIGNAL(processedSubSize(int, int)), this, TQ_SIGNAL(processedSubSize(int, int)) );
connect( d->cdrecordWriter, TQ_SIGNAL(nextTrack(int, int)), this, TQ_SLOT(slotWritingNextTrack(int, int)) );
connect( d->cdrecordWriter, TQ_SIGNAL(buffer(int)), this, TQ_SIGNAL(bufferStatus(int)) );
connect( d->cdrecordWriter, TQ_SIGNAL(deviceBuffer(int)), this, TQ_SIGNAL(deviceBuffer(int)) );
connect( d->cdrecordWriter, TQ_SIGNAL(writeSpeed(int, int)), this, TQ_SIGNAL(writeSpeed(int, int)) );
connect( d->cdrecordWriter, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotWriterFinished(bool)) );
// connect( d->cdrecordWriter, TQ_SIGNAL(newTask(const TQString&)), this, TQ_SIGNAL(newTask(const TQString&)) );
connect( d->cdrecordWriter, TQ_SIGNAL(newSubTask(const TQString&)), this, TQ_SIGNAL(newSubTask(const TQString&)) );
connect( d->cdrecordWriter, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
}
d->cdrecordWriter->setBurnDevice( m_writerDevice );
@ -1015,8 +1015,8 @@ void K3bCdCopyJob::slotWriterFinished( bool success )
// reload the media
emit newSubTask( i18n("Reloading the medium") );
connect( K3bDevice::reload( m_writerDevice ), TQT_SIGNAL(finished(K3bDevice::DeviceHandler*)),
this, TQT_SLOT(slotMediaReloadedForNextSession(K3bDevice::DeviceHandler*)) );
connect( K3bDevice::reload( m_writerDevice ), TQ_SIGNAL(finished(K3bDevice::DeviceHandler*)),
this, TQ_SLOT(slotMediaReloadedForNextSession(K3bDevice::DeviceHandler*)) );
}
else {
d->doneCopies++;

@ -107,9 +107,9 @@ void K3bCdda2wavReader::start( bool onlyInfo )
d->process->setSplitStdout(true);
d->process->setSuppressEmptyLines(true);
d->process->setWorkingDirectory( m_imagePath );
connect( d->process, TQT_SIGNAL(stdoutLine(const TQString&)), this, TQT_SLOT(slotProcessLine(const TQString&)) );
connect( d->process, TQT_SIGNAL(stderrLine(const TQString&)), this, TQT_SLOT(slotProcessLine(const TQString&)) );
connect( d->process, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotProcessExited(TDEProcess*)) );
connect( d->process, TQ_SIGNAL(stdoutLine(const TQString&)), this, TQ_SLOT(slotProcessLine(const TQString&)) );
connect( d->process, TQ_SIGNAL(stderrLine(const TQString&)), this, TQ_SLOT(slotProcessLine(const TQString&)) );
connect( d->process, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(slotProcessExited(TDEProcess*)) );
// create the command line
*d->process << d->cdda2wavBin->path;

@ -152,14 +152,14 @@ void K3bCloneJob::prepareReader()
{
if( !m_readcdReader ) {
m_readcdReader = new K3bReadcdReader( this, this );
connect( m_readcdReader, TQT_SIGNAL(percent(int)), this, TQT_SLOT(slotReadingPercent(int)) );
connect( m_readcdReader, TQT_SIGNAL(percent(int)), this, TQT_SIGNAL(subPercent(int)) );
connect( m_readcdReader, TQT_SIGNAL(processedSize(int, int)), this, TQT_SIGNAL(processedSubSize(int, int)) );
connect( m_readcdReader, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotReadingFinished(bool)) );
connect( m_readcdReader, TQT_SIGNAL(infoMessage(const TQString&, int)), this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_readcdReader, TQT_SIGNAL(newTask(const TQString&)), this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( m_readcdReader, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( m_readcdReader, TQ_SIGNAL(percent(int)), this, TQ_SLOT(slotReadingPercent(int)) );
connect( m_readcdReader, TQ_SIGNAL(percent(int)), this, TQ_SIGNAL(subPercent(int)) );
connect( m_readcdReader, TQ_SIGNAL(processedSize(int, int)), this, TQ_SIGNAL(processedSubSize(int, int)) );
connect( m_readcdReader, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotReadingFinished(bool)) );
connect( m_readcdReader, TQ_SIGNAL(infoMessage(const TQString&, int)), this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_readcdReader, TQ_SIGNAL(newTask(const TQString&)), this, TQ_SIGNAL(newSubTask(const TQString&)) );
connect( m_readcdReader, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
}
m_readcdReader->setReadDevice( readingDevice() );
@ -175,19 +175,19 @@ void K3bCloneJob::prepareWriter()
{
if( !m_writerJob ) {
m_writerJob = new K3bCdrecordWriter( writer(), this, this );
connect( m_writerJob, TQT_SIGNAL(infoMessage(const TQString&, int)), this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_writerJob, TQT_SIGNAL(percent(int)), this, TQT_SLOT(slotWriterPercent(int)) );
connect( m_writerJob, TQT_SIGNAL(percent(int)), this, TQT_SIGNAL(subPercent(int)) );
connect( m_writerJob, TQT_SIGNAL(nextTrack(int, int)), this, TQT_SLOT(slotWriterNextTrack(int, int)) );
connect( m_writerJob, TQT_SIGNAL(processedSize(int, int)), this, TQT_SIGNAL(processedSubSize(int, int)) );
connect( m_writerJob, TQT_SIGNAL(buffer(int)), this, TQT_SIGNAL(bufferStatus(int)) );
connect( m_writerJob, TQT_SIGNAL(deviceBuffer(int)), this, TQT_SIGNAL(deviceBuffer(int)) );
connect( m_writerJob, TQT_SIGNAL(writeSpeed(int, int)), this, TQT_SIGNAL(writeSpeed(int, int)) );
connect( m_writerJob, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotWriterFinished(bool)) );
// connect( m_writerJob, TQT_SIGNAL(newTask(const TQString&)), this, TQT_SIGNAL(newTask(const TQString&)) );
connect( m_writerJob, TQT_SIGNAL(newSubTask(const TQString&)), this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( m_writerJob, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( m_writerJob, TQ_SIGNAL(infoMessage(const TQString&, int)), this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_writerJob, TQ_SIGNAL(percent(int)), this, TQ_SLOT(slotWriterPercent(int)) );
connect( m_writerJob, TQ_SIGNAL(percent(int)), this, TQ_SIGNAL(subPercent(int)) );
connect( m_writerJob, TQ_SIGNAL(nextTrack(int, int)), this, TQ_SLOT(slotWriterNextTrack(int, int)) );
connect( m_writerJob, TQ_SIGNAL(processedSize(int, int)), this, TQ_SIGNAL(processedSubSize(int, int)) );
connect( m_writerJob, TQ_SIGNAL(buffer(int)), this, TQ_SIGNAL(bufferStatus(int)) );
connect( m_writerJob, TQ_SIGNAL(deviceBuffer(int)), this, TQ_SIGNAL(deviceBuffer(int)) );
connect( m_writerJob, TQ_SIGNAL(writeSpeed(int, int)), this, TQ_SIGNAL(writeSpeed(int, int)) );
connect( m_writerJob, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotWriterFinished(bool)) );
// connect( m_writerJob, TQ_SIGNAL(newTask(const TQString&)), this, TQ_SIGNAL(newTask(const TQString&)) );
connect( m_writerJob, TQ_SIGNAL(newSubTask(const TQString&)), this, TQ_SIGNAL(newSubTask(const TQString&)) );
connect( m_writerJob, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
}
m_writerJob->clearArguments();

@ -141,9 +141,9 @@ void K3bDvdCopyJob::start()
emit newSubTask( i18n("Checking source medium") );
connect( K3bDevice::sendCommand( K3bDevice::DeviceHandler::DISKINFO, m_readerDevice ),
TQT_SIGNAL(finished(K3bDevice::DeviceHandler*)),
TQ_SIGNAL(finished(K3bDevice::DeviceHandler*)),
this,
TQT_SLOT(slotDiskInfoReady(K3bDevice::DeviceHandler*)) );
TQ_SLOT(slotDiskInfoReady(K3bDevice::DeviceHandler*)) );
}
@ -399,13 +399,13 @@ void K3bDvdCopyJob::prepareReader()
{
if( !d->dataTrackReader ) {
d->dataTrackReader = new K3bDataTrackReader( this );
connect( d->dataTrackReader, TQT_SIGNAL(percent(int)), this, TQT_SLOT(slotReaderProgress(int)) );
connect( d->dataTrackReader, TQT_SIGNAL(processedSize(int, int)), this, TQT_SLOT(slotReaderProcessedSize(int, int)) );
connect( d->dataTrackReader, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotReaderFinished(bool)) );
connect( d->dataTrackReader, TQT_SIGNAL(infoMessage(const TQString&, int)), this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( d->dataTrackReader, TQT_SIGNAL(newTask(const TQString&)), this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( d->dataTrackReader, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( d->dataTrackReader, TQ_SIGNAL(percent(int)), this, TQ_SLOT(slotReaderProgress(int)) );
connect( d->dataTrackReader, TQ_SIGNAL(processedSize(int, int)), this, TQ_SLOT(slotReaderProcessedSize(int, int)) );
connect( d->dataTrackReader, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotReaderFinished(bool)) );
connect( d->dataTrackReader, TQ_SIGNAL(infoMessage(const TQString&, int)), this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( d->dataTrackReader, TQ_SIGNAL(newTask(const TQString&)), this, TQ_SIGNAL(newSubTask(const TQString&)) );
connect( d->dataTrackReader, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
}
d->dataTrackReader->setDevice( m_readerDevice );
@ -430,18 +430,18 @@ void K3bDvdCopyJob::prepareWriter()
d->writerJob = new K3bGrowisofsWriter( m_writerDevice, this );
connect( d->writerJob, TQT_SIGNAL(infoMessage(const TQString&, int)), this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( d->writerJob, TQT_SIGNAL(percent(int)), this, TQT_SLOT(slotWriterProgress(int)) );
connect( d->writerJob, TQT_SIGNAL(processedSize(int, int)), this, TQT_SIGNAL(processedSize(int, int)) );
connect( d->writerJob, TQT_SIGNAL(processedSubSize(int, int)), this, TQT_SIGNAL(processedSubSize(int, int)) );
connect( d->writerJob, TQT_SIGNAL(buffer(int)), this, TQT_SIGNAL(bufferStatus(int)) );
connect( d->writerJob, TQT_SIGNAL(deviceBuffer(int)), this, TQT_SIGNAL(deviceBuffer(int)) );
connect( d->writerJob, TQT_SIGNAL(writeSpeed(int, int)), this, TQT_SIGNAL(writeSpeed(int, int)) );
connect( d->writerJob, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotWriterFinished(bool)) );
// connect( d->writerJob, TQT_SIGNAL(newTask(const TQString&)), this, TQT_SIGNAL(newTask(const TQString&)) );
connect( d->writerJob, TQT_SIGNAL(newSubTask(const TQString&)), this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( d->writerJob, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( d->writerJob, TQ_SIGNAL(infoMessage(const TQString&, int)), this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( d->writerJob, TQ_SIGNAL(percent(int)), this, TQ_SLOT(slotWriterProgress(int)) );
connect( d->writerJob, TQ_SIGNAL(processedSize(int, int)), this, TQ_SIGNAL(processedSize(int, int)) );
connect( d->writerJob, TQ_SIGNAL(processedSubSize(int, int)), this, TQ_SIGNAL(processedSubSize(int, int)) );
connect( d->writerJob, TQ_SIGNAL(buffer(int)), this, TQ_SIGNAL(bufferStatus(int)) );
connect( d->writerJob, TQ_SIGNAL(deviceBuffer(int)), this, TQ_SIGNAL(deviceBuffer(int)) );
connect( d->writerJob, TQ_SIGNAL(writeSpeed(int, int)), this, TQ_SIGNAL(writeSpeed(int, int)) );
connect( d->writerJob, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotWriterFinished(bool)) );
// connect( d->writerJob, TQ_SIGNAL(newTask(const TQString&)), this, TQ_SIGNAL(newTask(const TQString&)) );
connect( d->writerJob, TQ_SIGNAL(newSubTask(const TQString&)), this, TQ_SIGNAL(newSubTask(const TQString&)) );
connect( d->writerJob, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
// these do only make sense with DVD-R(W)
d->writerJob->setSimulate( m_simulate );
@ -602,18 +602,18 @@ void K3bDvdCopyJob::slotWriterFinished( bool success )
if( d->verifyData && !m_simulate ) {
if( !d->verificationJob ) {
d->verificationJob = new K3bVerificationJob( this, this );
connect( d->verificationJob, TQT_SIGNAL(infoMessage(const TQString&, int)),
this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( d->verificationJob, TQT_SIGNAL(newTask(const TQString&)),
this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( d->verificationJob, TQT_SIGNAL(percent(int)),
this, TQT_SLOT(slotVerificationProgress(int)) );
connect( d->verificationJob, TQT_SIGNAL(percent(int)),
this, TQT_SIGNAL(subPercent(int)) );
connect( d->verificationJob, TQT_SIGNAL(finished(bool)),
this, TQT_SLOT(slotVerificationFinished(bool)) );
connect( d->verificationJob, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( d->verificationJob, TQ_SIGNAL(infoMessage(const TQString&, int)),
this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( d->verificationJob, TQ_SIGNAL(newTask(const TQString&)),
this, TQ_SIGNAL(newSubTask(const TQString&)) );
connect( d->verificationJob, TQ_SIGNAL(percent(int)),
this, TQ_SLOT(slotVerificationProgress(int)) );
connect( d->verificationJob, TQ_SIGNAL(percent(int)),
this, TQ_SIGNAL(subPercent(int)) );
connect( d->verificationJob, TQ_SIGNAL(finished(bool)),
this, TQ_SLOT(slotVerificationFinished(bool)) );
connect( d->verificationJob, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
}
d->verificationJob->setDevice( m_writerDevice );

@ -153,9 +153,9 @@ void K3bDvdFormattingJob::start()
emit newTask( i18n("Checking media") );
connect( K3bDevice::sendCommand( K3bDevice::DeviceHandler::NG_DISKINFO, d->device ),
TQT_SIGNAL(finished(K3bDevice::DeviceHandler*)),
TQ_SIGNAL(finished(K3bDevice::DeviceHandler*)),
this,
TQT_SLOT(slotDeviceHandlerFinished(K3bDevice::DeviceHandler*)) );
TQ_SLOT(slotDeviceHandlerFinished(K3bDevice::DeviceHandler*)) );
}
@ -288,9 +288,9 @@ void K3bDvdFormattingJob::slotProcessFinished( TDEProcess* p )
else {
emit infoMessage( i18n("Ejecting DVD..."), INFO );
connect( K3bDevice::eject( d->device ),
TQT_SIGNAL(finished(K3bDevice::DeviceHandler*)),
TQ_SIGNAL(finished(K3bDevice::DeviceHandler*)),
this,
TQT_SLOT(slotEjectingFinished(K3bDevice::DeviceHandler*)) );
TQ_SLOT(slotEjectingFinished(K3bDevice::DeviceHandler*)) );
}
}
@ -467,8 +467,8 @@ void K3bDvdFormattingJob::startFormatting( const K3bDevice::DiskInfo& diskInfo )
d->process = new K3bProcess();
d->process->setRunPrivileged(true);
// d->process->setSuppressEmptyLines(false);
connect( d->process, TQT_SIGNAL(stderrLine(const TQString&)), this, TQT_SLOT(slotStderrLine(const TQString&)) );
connect( d->process, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotProcessFinished(TDEProcess*)) );
connect( d->process, TQ_SIGNAL(stderrLine(const TQString&)), this, TQ_SLOT(slotStderrLine(const TQString&)) );
connect( d->process, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(slotProcessFinished(TDEProcess*)) );
d->dvdFormatBin = k3bcore->externalBinManager()->binObject( "dvd+rw-format" );
if( !d->dvdFormatBin ) {

@ -121,10 +121,10 @@ void K3bIso9660ImageWritingJob::slotWriterJobFinished( bool success )
if( !m_verifyJob ) {
m_verifyJob = new K3bVerificationJob( this );
connectSubJob( m_verifyJob,
TQT_SLOT(slotVerificationFinished(bool)),
TQ_SLOT(slotVerificationFinished(bool)),
true,
TQT_SLOT(slotVerificationProgress(int)),
TQT_SIGNAL(subPercent(int)) );
TQ_SLOT(slotVerificationProgress(int)),
TQ_SIGNAL(subPercent(int)) );
}
m_verifyJob->setDevice( m_device );
m_verifyJob->clear();
@ -164,8 +164,8 @@ void K3bIso9660ImageWritingJob::slotVerificationFinished( bool success )
if( success && m_currentCopy < m_copies ) {
m_currentCopy++;
connect( K3bDevice::eject( m_device ), TQT_SIGNAL(finished(bool)),
this, TQT_SLOT(startWriting()) );
connect( K3bDevice::eject( m_device ), TQ_SIGNAL(finished(bool)),
this, TQ_SLOT(startWriting()) );
return;
}
@ -420,18 +420,18 @@ bool K3bIso9660ImageWritingJob::prepareWriter( int mediaType )
m_writer = writer;
}
connect( m_writer, TQT_SIGNAL(infoMessage(const TQString&, int)), this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_writer, TQT_SIGNAL(nextTrack(int, int)), this, TQT_SLOT(slotNextTrack(int, int)) );
connect( m_writer, TQT_SIGNAL(percent(int)), this, TQT_SLOT(slotWriterPercent(int)) );
connect( m_writer, TQT_SIGNAL(processedSize(int, int)), this, TQT_SIGNAL(processedSize(int, int)) );
connect( m_writer, TQT_SIGNAL(buffer(int)), this, TQT_SIGNAL(bufferStatus(int)) );
connect( m_writer, TQT_SIGNAL(deviceBuffer(int)), this, TQT_SIGNAL(deviceBuffer(int)) );
connect( m_writer, TQT_SIGNAL(writeSpeed(int, int)), this, TQT_SIGNAL(writeSpeed(int, int)) );
connect( m_writer, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotWriterJobFinished(bool)) );
connect( m_writer, TQT_SIGNAL(newTask(const TQString&)), this, TQT_SIGNAL(newTask(const TQString&)) );
connect( m_writer, TQT_SIGNAL(newSubTask(const TQString&)), this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( m_writer, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( m_writer, TQ_SIGNAL(infoMessage(const TQString&, int)), this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_writer, TQ_SIGNAL(nextTrack(int, int)), this, TQ_SLOT(slotNextTrack(int, int)) );
connect( m_writer, TQ_SIGNAL(percent(int)), this, TQ_SLOT(slotWriterPercent(int)) );
connect( m_writer, TQ_SIGNAL(processedSize(int, int)), this, TQ_SIGNAL(processedSize(int, int)) );
connect( m_writer, TQ_SIGNAL(buffer(int)), this, TQ_SIGNAL(bufferStatus(int)) );
connect( m_writer, TQ_SIGNAL(deviceBuffer(int)), this, TQ_SIGNAL(deviceBuffer(int)) );
connect( m_writer, TQ_SIGNAL(writeSpeed(int, int)), this, TQ_SIGNAL(writeSpeed(int, int)) );
connect( m_writer, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotWriterJobFinished(bool)) );
connect( m_writer, TQ_SIGNAL(newTask(const TQString&)), this, TQ_SIGNAL(newTask(const TQString&)) );
connect( m_writer, TQ_SIGNAL(newSubTask(const TQString&)), this, TQ_SIGNAL(newSubTask(const TQString&)) );
connect( m_writer, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
return true;
}

@ -138,8 +138,8 @@ void K3bReadcdReader::start()
// create the commandline
delete d->process;
d->process = new K3bProcess();
connect( d->process, TQT_SIGNAL(stderrLine(const TQString&)), this, TQT_SLOT(slotStdLine(const TQString&)) );
connect( d->process, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotProcessExited(TDEProcess*)) );
connect( d->process, TQ_SIGNAL(stderrLine(const TQString&)), this, TQ_SLOT(slotStdLine(const TQString&)) );
connect( d->process, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(slotProcessExited(TDEProcess*)) );
*d->process << d->readcdBinObject;

@ -95,10 +95,10 @@ K3bVerificationJob::K3bVerificationJob( K3bJobHandler* hdl, TQObject* parent, co
d = new Private();
d->md5Job = new K3bMd5Job( this );
connect( d->md5Job, TQT_SIGNAL(infoMessage(const TQString&, int)), this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( d->md5Job, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotMd5JobFinished(bool)) );
connect( d->md5Job, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( d->md5Job, TQ_SIGNAL(infoMessage(const TQString&, int)), this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( d->md5Job, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotMd5JobFinished(bool)) );
connect( d->md5Job, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
}
@ -155,9 +155,9 @@ void K3bVerificationJob::start()
d->mediumHasBeenReloaded = false;
connect( K3bDevice::sendCommand( K3bDevice::DeviceHandler::DISKINFO, d->device ),
TQT_SIGNAL(finished(K3bDevice::DeviceHandler*)),
TQ_SIGNAL(finished(K3bDevice::DeviceHandler*)),
this,
TQT_SLOT(slotDiskInfoReady(K3bDevice::DeviceHandler*)) );
TQ_SLOT(slotDiskInfoReady(K3bDevice::DeviceHandler*)) );
}
@ -174,9 +174,9 @@ void K3bVerificationJob::slotMediaReloaded( bool /*success*/ )
emit newTask( i18n("Checking medium") );
connect( K3bDevice::sendCommand( K3bDevice::DeviceHandler::DISKINFO, d->device ),
TQT_SIGNAL(finished(K3bDevice::DeviceHandler*)),
TQ_SIGNAL(finished(K3bDevice::DeviceHandler*)),
this,
TQT_SLOT(slotDiskInfoReady(K3bDevice::DeviceHandler*)) );
TQ_SLOT(slotDiskInfoReady(K3bDevice::DeviceHandler*)) );
}
@ -211,9 +211,9 @@ void K3bVerificationJob::slotDiskInfoReady( K3bDevice::DeviceHandler* dh )
// many drives need to reload the medium to return to a proper state
emit newTask( i18n("Reloading the medium") );
connect( K3bDevice::reload( d->device ),
TQT_SIGNAL(finished(bool)),
TQ_SIGNAL(finished(bool)),
this,
TQT_SLOT(slotMediaReloaded(bool)) );
TQ_SLOT(slotMediaReloaded(bool)) );
return;
}
}
@ -243,13 +243,13 @@ void K3bVerificationJob::readTrack( int trackIndex )
if( d->toc[d->tracks[trackIndex].trackNumber-1].type() == K3bDevice::Track::DATA ) {
if( !d->dataTrackReader ) {
d->dataTrackReader = new K3bDataTrackReader( this );
connect( d->dataTrackReader, TQT_SIGNAL(percent(int)), this, TQT_SLOT(slotReaderProgress(int)) );
// connect( d->dataTrackReader, TQT_SIGNAL(processedSize(int, int)), this, TQT_SLOT(slotReaderProcessedSize(int, int)) );
connect( d->dataTrackReader, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotReaderFinished(bool)) );
connect( d->dataTrackReader, TQT_SIGNAL(infoMessage(const TQString&, int)), this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( d->dataTrackReader, TQT_SIGNAL(newTask(const TQString&)), this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( d->dataTrackReader, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( d->dataTrackReader, TQ_SIGNAL(percent(int)), this, TQ_SLOT(slotReaderProgress(int)) );
// connect( d->dataTrackReader, TQ_SIGNAL(processedSize(int, int)), this, TQ_SLOT(slotReaderProcessedSize(int, int)) );
connect( d->dataTrackReader, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotReaderFinished(bool)) );
connect( d->dataTrackReader, TQ_SIGNAL(infoMessage(const TQString&, int)), this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( d->dataTrackReader, TQ_SIGNAL(newTask(const TQString&)), this, TQ_SIGNAL(newSubTask(const TQString&)) );
connect( d->dataTrackReader, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
}
d->dataTrackReader->setDevice( d->device );

@ -136,9 +136,9 @@ void K3bVideoDVDTitleDetectClippingJob::startTranscode( int chapter )
d->process = new K3bProcess();
d->process->setSuppressEmptyLines(true);
d->process->setSplitStdout(true);
// connect( d->process, TQT_SIGNAL(stderrLine(const TQString&)), this, TQT_SLOT(slotTranscodeStderr(const TQString&)) );
connect( d->process, TQT_SIGNAL(stdoutLine(const TQString&)), this, TQT_SLOT(slotTranscodeStderr(const TQString&)) );
connect( d->process, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotTranscodeExited(TDEProcess*)) );
// connect( d->process, TQ_SIGNAL(stderrLine(const TQString&)), this, TQ_SLOT(slotTranscodeStderr(const TQString&)) );
connect( d->process, TQ_SIGNAL(stdoutLine(const TQString&)), this, TQ_SLOT(slotTranscodeStderr(const TQString&)) );
connect( d->process, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(slotTranscodeExited(TDEProcess*)) );
// the executable
*d->process << d->usedTranscodeBin;

@ -194,9 +194,9 @@ void K3bVideoDVDTitleTranscodingJob::startTranscode( int pass )
d->process = new K3bProcess();
d->process->setSuppressEmptyLines(true);
d->process->setSplitStdout(true);
connect( d->process, TQT_SIGNAL(stderrLine(const TQString&)), this, TQT_SLOT(slotTranscodeStderr(const TQString&)) );
connect( d->process, TQT_SIGNAL(stdoutLine(const TQString&)), this, TQT_SLOT(slotTranscodeStderr(const TQString&)) );
connect( d->process, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotTranscodeExited(TDEProcess*)) );
connect( d->process, TQ_SIGNAL(stderrLine(const TQString&)), this, TQ_SLOT(slotTranscodeStderr(const TQString&)) );
connect( d->process, TQ_SIGNAL(stdoutLine(const TQString&)), this, TQ_SLOT(slotTranscodeStderr(const TQString&)) );
connect( d->process, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(slotTranscodeExited(TDEProcess*)) );
// the executable
*d->process << d->usedTranscodeBin;

@ -173,8 +173,8 @@ int K3bPluginManager::execPluginDialog( K3bPlugin* plugin, TQWidget* parent, con
K3bPluginConfigWidget* configWidget = plugin->createConfigWidget( &dlg );
if( configWidget ) {
dlg.setMainWidget( configWidget );
connect( &dlg, TQT_SIGNAL(applyClicked()), configWidget, TQT_SLOT(saveConfig()) );
connect( &dlg, TQT_SIGNAL(okClicked()), configWidget, TQT_SLOT(saveConfig()) );
connect( &dlg, TQ_SIGNAL(applyClicked()), configWidget, TQ_SLOT(saveConfig()) );
connect( &dlg, TQ_SIGNAL(okClicked()), configWidget, TQ_SLOT(saveConfig()) );
configWidget->loadConfig();
int r = dlg.exec();
delete configWidget;

@ -101,16 +101,16 @@ K3bAudioJob::K3bAudioJob( K3bAudioDoc* doc, K3bJobHandler* hdl, TQObject* parent
d = new Private;
m_audioImager = new K3bAudioImager( m_doc, this, this );
connect( m_audioImager, TQT_SIGNAL(infoMessage(const TQString&, int)),
this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_audioImager, TQT_SIGNAL(percent(int)),
this, TQT_SLOT(slotAudioDecoderPercent(int)) );
connect( m_audioImager, TQT_SIGNAL(subPercent(int)),
this, TQT_SLOT(slotAudioDecoderSubPercent(int)) );
connect( m_audioImager, TQT_SIGNAL(finished(bool)),
this, TQT_SLOT(slotAudioDecoderFinished(bool)) );
connect( m_audioImager, TQT_SIGNAL(nextTrack(int, int)),
this, TQT_SLOT(slotAudioDecoderNextTrack(int, int)) );
connect( m_audioImager, TQ_SIGNAL(infoMessage(const TQString&, int)),
this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_audioImager, TQ_SIGNAL(percent(int)),
this, TQ_SLOT(slotAudioDecoderPercent(int)) );
connect( m_audioImager, TQ_SIGNAL(subPercent(int)),
this, TQ_SLOT(slotAudioDecoderSubPercent(int)) );
connect( m_audioImager, TQ_SIGNAL(finished(bool)),
this, TQ_SLOT(slotAudioDecoderFinished(bool)) );
connect( m_audioImager, TQ_SIGNAL(nextTrack(int, int)),
this, TQ_SLOT(slotAudioDecoderNextTrack(int, int)) );
m_writer = 0;
m_tempData = new K3bAudioJobTempData( m_doc, this );
@ -314,10 +314,10 @@ void K3bAudioJob::start()
emit newSubTask( i18n("Determining maximum writing speed") );
if( !m_maxSpeedJob ) {
m_maxSpeedJob = new K3bAudioMaxSpeedJob( m_doc, this, this );
connect( m_maxSpeedJob, TQT_SIGNAL(percent(int)),
this, TQT_SIGNAL(subPercent(int)) );
connect( m_maxSpeedJob, TQT_SIGNAL(finished(bool)),
this, TQT_SLOT(slotMaxSpeedJobFinished(bool)) );
connect( m_maxSpeedJob, TQ_SIGNAL(percent(int)),
this, TQ_SIGNAL(subPercent(int)) );
connect( m_maxSpeedJob, TQ_SIGNAL(finished(bool)),
this, TQ_SLOT(slotMaxSpeedJobFinished(bool)) );
}
m_maxSpeedJob->start();
return;
@ -562,20 +562,20 @@ bool K3bAudioJob::prepareWriter()
m_writer = writer;
}
connect( m_writer, TQT_SIGNAL(infoMessage(const TQString&, int)), this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_writer, TQT_SIGNAL(percent(int)), this, TQT_SLOT(slotWriterJobPercent(int)) );
connect( m_writer, TQT_SIGNAL(processedSize(int, int)), this, TQT_SIGNAL(processedSize(int, int)) );
connect( m_writer, TQT_SIGNAL(subPercent(int)), this, TQT_SIGNAL(subPercent(int)) );
connect( m_writer, TQT_SIGNAL(processedSubSize(int, int)), this, TQT_SIGNAL(processedSubSize(int, int)) );
connect( m_writer, TQT_SIGNAL(nextTrack(int, int)), this, TQT_SLOT(slotWriterNextTrack(int, int)) );
connect( m_writer, TQT_SIGNAL(buffer(int)), this, TQT_SIGNAL(bufferStatus(int)) );
connect( m_writer, TQT_SIGNAL(deviceBuffer(int)), this, TQT_SIGNAL(deviceBuffer(int)) );
connect( m_writer, TQT_SIGNAL(writeSpeed(int, int)), this, TQT_SIGNAL(writeSpeed(int, int)) );
connect( m_writer, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotWriterFinished(bool)) );
// connect( m_writer, TQT_SIGNAL(newTask(const TQString&)), this, TQT_SIGNAL(newTask(const TQString&)) );
connect( m_writer, TQT_SIGNAL(newSubTask(const TQString&)), this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( m_writer, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( m_writer, TQ_SIGNAL(infoMessage(const TQString&, int)), this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_writer, TQ_SIGNAL(percent(int)), this, TQ_SLOT(slotWriterJobPercent(int)) );
connect( m_writer, TQ_SIGNAL(processedSize(int, int)), this, TQ_SIGNAL(processedSize(int, int)) );
connect( m_writer, TQ_SIGNAL(subPercent(int)), this, TQ_SIGNAL(subPercent(int)) );
connect( m_writer, TQ_SIGNAL(processedSubSize(int, int)), this, TQ_SIGNAL(processedSubSize(int, int)) );
connect( m_writer, TQ_SIGNAL(nextTrack(int, int)), this, TQ_SLOT(slotWriterNextTrack(int, int)) );
connect( m_writer, TQ_SIGNAL(buffer(int)), this, TQ_SIGNAL(bufferStatus(int)) );
connect( m_writer, TQ_SIGNAL(deviceBuffer(int)), this, TQ_SIGNAL(deviceBuffer(int)) );
connect( m_writer, TQ_SIGNAL(writeSpeed(int, int)), this, TQ_SIGNAL(writeSpeed(int, int)) );
connect( m_writer, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotWriterFinished(bool)) );
// connect( m_writer, TQ_SIGNAL(newTask(const TQString&)), this, TQ_SIGNAL(newTask(const TQString&)) );
connect( m_writer, TQ_SIGNAL(newSubTask(const TQString&)), this, TQ_SIGNAL(newSubTask(const TQString&)) );
connect( m_writer, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
return true;
}
@ -706,14 +706,14 @@ void K3bAudioJob::normalizeFiles()
if( !m_normalizeJob ) {
m_normalizeJob = new K3bAudioNormalizeJob( this, this );
connect( m_normalizeJob, TQT_SIGNAL(infoMessage(const TQString&, int)),
this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_normalizeJob, TQT_SIGNAL(percent(int)), this, TQT_SLOT(slotNormalizeProgress(int)) );
connect( m_normalizeJob, TQT_SIGNAL(subPercent(int)), this, TQT_SLOT(slotNormalizeSubProgress(int)) );
connect( m_normalizeJob, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotNormalizeJobFinished(bool)) );
connect( m_normalizeJob, TQT_SIGNAL(newTask(const TQString&)), this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( m_normalizeJob, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( m_normalizeJob, TQ_SIGNAL(infoMessage(const TQString&, int)),
this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_normalizeJob, TQ_SIGNAL(percent(int)), this, TQ_SLOT(slotNormalizeProgress(int)) );
connect( m_normalizeJob, TQ_SIGNAL(subPercent(int)), this, TQ_SLOT(slotNormalizeSubProgress(int)) );
connect( m_normalizeJob, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotNormalizeJobFinished(bool)) );
connect( m_normalizeJob, TQ_SIGNAL(newTask(const TQString&)), this, TQ_SIGNAL(newSubTask(const TQString&)) );
connect( m_normalizeJob, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
}
// add all the files

@ -49,8 +49,8 @@ void K3bAudioNormalizeJob::start()
delete m_process;
m_process = new K3bProcess();
connect( m_process, TQT_SIGNAL(stderrLine(const TQString&)), this, TQT_SLOT(slotStdLine(const TQString&)) );
connect( m_process, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotProcessExited(TDEProcess*)) );
connect( m_process, TQ_SIGNAL(stderrLine(const TQString&)), this, TQ_SLOT(slotStdLine(const TQString&)) );
connect( m_process, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(slotProcessExited(TDEProcess*)) );
const K3bExternalBin* bin = k3bcore->externalBinManager()->binObject( "normalize-audio" );

@ -95,10 +95,10 @@ K3bDataJob::K3bDataJob( K3bDataDoc* doc, K3bJobHandler* hdl, TQObject* parent )
m_isoImager = 0;
m_msInfoFetcher = new K3bMsInfoFetcher( this, this );
connect( m_msInfoFetcher, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotMsInfoFetched(bool)) );
connect( m_msInfoFetcher, TQT_SIGNAL(infoMessage(const TQString&, int)), this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_msInfoFetcher, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( m_msInfoFetcher, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotMsInfoFetched(bool)) );
connect( m_msInfoFetcher, TQ_SIGNAL(infoMessage(const TQString&, int)), this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_msInfoFetcher, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
d->imageFinished = true;
}
@ -432,20 +432,20 @@ void K3bDataJob::slotWriterJobFinished( bool success )
if( d->doc->verifyData() ) {
if( !d->verificationJob ) {
d->verificationJob = new K3bVerificationJob( this, this );
connect( d->verificationJob, TQT_SIGNAL(infoMessage(const TQString&, int)),
this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( d->verificationJob, TQT_SIGNAL(newTask(const TQString&)),
this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( d->verificationJob, TQT_SIGNAL(newSubTask(const TQString&)),
this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( d->verificationJob, TQT_SIGNAL(percent(int)),
this, TQT_SLOT(slotVerificationProgress(int)) );
connect( d->verificationJob, TQT_SIGNAL(percent(int)),
this, TQT_SIGNAL(subPercent(int)) );
connect( d->verificationJob, TQT_SIGNAL(finished(bool)),
this, TQT_SLOT(slotVerificationFinished(bool)) );
connect( d->verificationJob, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( d->verificationJob, TQ_SIGNAL(infoMessage(const TQString&, int)),
this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( d->verificationJob, TQ_SIGNAL(newTask(const TQString&)),
this, TQ_SIGNAL(newSubTask(const TQString&)) );
connect( d->verificationJob, TQ_SIGNAL(newSubTask(const TQString&)),
this, TQ_SIGNAL(newSubTask(const TQString&)) );
connect( d->verificationJob, TQ_SIGNAL(percent(int)),
this, TQ_SLOT(slotVerificationProgress(int)) );
connect( d->verificationJob, TQ_SIGNAL(percent(int)),
this, TQ_SIGNAL(subPercent(int)) );
connect( d->verificationJob, TQ_SIGNAL(finished(bool)),
this, TQ_SLOT(slotVerificationFinished(bool)) );
connect( d->verificationJob, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
}
d->verificationJob->clear();
@ -541,19 +541,19 @@ void K3bDataJob::setWriterJob( K3bAbstractWriter* writer )
{
// FIXME: progressedsize for multiple copies
m_writerJob = writer;
connect( m_writerJob, TQT_SIGNAL(infoMessage(const TQString&, int)), this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_writerJob, TQT_SIGNAL(percent(int)), this, TQT_SLOT(slotWriterJobPercent(int)) );
connect( m_writerJob, TQT_SIGNAL(processedSize(int, int)), this, TQT_SIGNAL(processedSize(int, int)) );
connect( m_writerJob, TQT_SIGNAL(subPercent(int)), this, TQT_SIGNAL(subPercent(int)) );
connect( m_writerJob, TQT_SIGNAL(processedSubSize(int, int)), this, TQT_SIGNAL(processedSubSize(int, int)) );
connect( m_writerJob, TQT_SIGNAL(nextTrack(int, int)), this, TQT_SLOT(slotWriterNextTrack(int, int)) );
connect( m_writerJob, TQT_SIGNAL(buffer(int)), this, TQT_SIGNAL(bufferStatus(int)) );
connect( m_writerJob, TQT_SIGNAL(deviceBuffer(int)), this, TQT_SIGNAL(deviceBuffer(int)) );
connect( m_writerJob, TQT_SIGNAL(writeSpeed(int, int)), this, TQT_SIGNAL(writeSpeed(int, int)) );
connect( m_writerJob, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotWriterJobFinished(bool)) );
connect( m_writerJob, TQT_SIGNAL(newSubTask(const TQString&)), this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( m_writerJob, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( m_writerJob, TQ_SIGNAL(infoMessage(const TQString&, int)), this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_writerJob, TQ_SIGNAL(percent(int)), this, TQ_SLOT(slotWriterJobPercent(int)) );
connect( m_writerJob, TQ_SIGNAL(processedSize(int, int)), this, TQ_SIGNAL(processedSize(int, int)) );
connect( m_writerJob, TQ_SIGNAL(subPercent(int)), this, TQ_SIGNAL(subPercent(int)) );
connect( m_writerJob, TQ_SIGNAL(processedSubSize(int, int)), this, TQ_SIGNAL(processedSubSize(int, int)) );
connect( m_writerJob, TQ_SIGNAL(nextTrack(int, int)), this, TQ_SLOT(slotWriterNextTrack(int, int)) );
connect( m_writerJob, TQ_SIGNAL(buffer(int)), this, TQ_SIGNAL(bufferStatus(int)) );
connect( m_writerJob, TQ_SIGNAL(deviceBuffer(int)), this, TQ_SIGNAL(deviceBuffer(int)) );
connect( m_writerJob, TQ_SIGNAL(writeSpeed(int, int)), this, TQ_SIGNAL(writeSpeed(int, int)) );
connect( m_writerJob, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotWriterJobFinished(bool)) );
connect( m_writerJob, TQ_SIGNAL(newSubTask(const TQString&)), this, TQ_SIGNAL(newSubTask(const TQString&)) );
connect( m_writerJob, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
}
@ -572,11 +572,11 @@ void K3bDataJob::setImager( K3bIsoImager* imager )
void K3bDataJob::connectImager()
{
m_isoImager->disconnect( this );
connect( m_isoImager, TQT_SIGNAL(infoMessage(const TQString&, int)), this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_isoImager, TQT_SIGNAL(percent(int)), this, TQT_SLOT(slotIsoImagerPercent(int)) );
connect( m_isoImager, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotIsoImagerFinished(bool)) );
connect( m_isoImager, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( m_isoImager, TQ_SIGNAL(infoMessage(const TQString&, int)), this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_isoImager, TQ_SIGNAL(percent(int)), this, TQ_SLOT(slotIsoImagerPercent(int)) );
connect( m_isoImager, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotIsoImagerFinished(bool)) );
connect( m_isoImager, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
}
@ -790,9 +790,9 @@ void K3bDataJob::determineMultiSessionMode()
else {
// now we need to determine the media's size
connect( K3bDevice::sendCommand( K3bDevice::DeviceHandler::NG_DISKINFO, d->doc->burner() ),
TQT_SIGNAL(finished(K3bDevice::DeviceHandler*)),
TQ_SIGNAL(finished(K3bDevice::DeviceHandler*)),
this,
TQT_SLOT(slotDetermineMultiSessionMode(K3bDevice::DeviceHandler*)) );
TQ_SLOT(slotDetermineMultiSessionMode(K3bDevice::DeviceHandler*)) );
}
}
else {

@ -154,7 +154,7 @@ K3bDataPreparationJob::K3bDataPreparationJob( K3bDataDoc* doc, K3bJobHandler* hd
{
d = new Private( doc );
d->threadJob = new K3bThreadJob( d, this, this );
connectSubJob( d->threadJob, TQT_SLOT(slotWorkDone(bool)), K3bJob::DEFAULT_SIGNAL_CONNECTION );
connectSubJob( d->threadJob, TQ_SLOT(slotWorkDone(bool)), K3bJob::DEFAULT_SIGNAL_CONNECTION );
}

@ -103,7 +103,7 @@ K3bIsoImager::K3bIsoImager( K3bDataDoc* doc, K3bJobHandler* hdl, TQObject* paren
d = new Private();
d->dataPreparationJob = new K3bDataPreparationJob( doc, this, this );
connectSubJob( d->dataPreparationJob,
TQT_SLOT(slotDataPreparationDone(bool)),
TQ_SLOT(slotDataPreparationDone(bool)),
DEFAULT_SIGNAL_CONNECTION );
}
@ -340,16 +340,16 @@ void K3bIsoImager::startSizeCalculation()
// TODO: use K3bProcess::OutputCollector instead iof our own two slots.
connect( m_process, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
this, TQT_SLOT(slotCollectMkisofsPrintSizeStderr(TDEProcess*, char*, int)) );
connect( m_process, TQT_SIGNAL(stdoutLine(const TQString&)),
this, TQT_SLOT(slotCollectMkisofsPrintSizeStdout(const TQString&)) );
connect( m_process, TQT_SIGNAL(processExited(TDEProcess*)),
this, TQT_SLOT(slotMkisofsPrintSizeFinished()) );
connect( m_process, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
this, TQ_SLOT(slotCollectMkisofsPrintSizeStderr(TDEProcess*, char*, int)) );
connect( m_process, TQ_SIGNAL(stdoutLine(const TQString&)),
this, TQ_SLOT(slotCollectMkisofsPrintSizeStdout(const TQString&)) );
connect( m_process, TQ_SIGNAL(processExited(TDEProcess*)),
this, TQ_SLOT(slotMkisofsPrintSizeFinished()) );
// we also want error messages
connect( m_process, TQT_SIGNAL(stderrLine( const TQString& )),
this, TQT_SLOT(slotReceivedStderr( const TQString& )) );
connect( m_process, TQ_SIGNAL(stderrLine( const TQString& )),
this, TQ_SLOT(slotReceivedStderr( const TQString& )) );
m_collectedMkisofsPrintSizeStdout = TQString();
m_collectedMkisofsPrintSizeStderr = TQString();
@ -485,11 +485,11 @@ void K3bIsoImager::start()
return;
}
connect( m_process, TQT_SIGNAL(processExited(TDEProcess*)),
this, TQT_SLOT(slotProcessExited(TDEProcess*)) );
connect( m_process, TQ_SIGNAL(processExited(TDEProcess*)),
this, TQ_SLOT(slotProcessExited(TDEProcess*)) );
connect( m_process, TQT_SIGNAL(stderrLine( const TQString& )),
this, TQT_SLOT(slotReceivedStderr( const TQString& )) );
connect( m_process, TQ_SIGNAL(stderrLine( const TQString& )),
this, TQ_SLOT(slotReceivedStderr( const TQString& )) );
//
// Check the image file

@ -70,9 +70,9 @@ void K3bMsInfoFetcher::start()
//
connect( K3bDevice::sendCommand( K3bDevice::DeviceHandler::NG_DISKINFO, m_device ),
TQT_SIGNAL(finished(K3bDevice::DeviceHandler*)),
TQ_SIGNAL(finished(K3bDevice::DeviceHandler*)),
this,
TQT_SLOT(slotMediaDetectionFinished(K3bDevice::DeviceHandler*)) );
TQ_SLOT(slotMediaDetectionFinished(K3bDevice::DeviceHandler*)) );
}
@ -116,12 +116,12 @@ void K3bMsInfoFetcher::getMsInfo()
emit debuggingOutput( "msinfo command:", s );
// connect( m_process, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
// this, TQT_SLOT(slotCollectOutput(TDEProcess*, char*, int)) );
connect( m_process, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
this, TQT_SLOT(slotCollectOutput(TDEProcess*, char*, int)) );
connect( m_process, TQT_SIGNAL(processExited(TDEProcess*)),
this, TQT_SLOT(slotProcessExited()) );
// connect( m_process, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
// this, TQ_SLOT(slotCollectOutput(TDEProcess*, char*, int)) );
connect( m_process, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
this, TQ_SLOT(slotCollectOutput(TDEProcess*, char*, int)) );
connect( m_process, TQ_SIGNAL(processExited(TDEProcess*)),
this, TQ_SLOT(slotProcessExited()) );
m_msInfo = TQString();
m_collectedOutput = TQString();

@ -129,9 +129,9 @@ void K3bDvdBooktypeJob::start()
emit newTask( i18n("Checking media") );
connect( K3bDevice::sendCommand( K3bDevice::DeviceHandler::NG_DISKINFO, d->device ),
TQT_SIGNAL(finished(K3bDevice::DeviceHandler*)),
TQ_SIGNAL(finished(K3bDevice::DeviceHandler*)),
this,
TQT_SLOT(slotDeviceHandlerFinished(K3bDevice::DeviceHandler*)) );
TQ_SLOT(slotDeviceHandlerFinished(K3bDevice::DeviceHandler*)) );
}
else {
// change writer defaults
@ -216,9 +216,9 @@ void K3bDvdBooktypeJob::slotProcessFinished( TDEProcess* p )
else {
emit infoMessage( i18n("Ejecting DVD..."), INFO );
connect( K3bDevice::eject( d->device ),
TQT_SIGNAL(finished(K3bDevice::DeviceHandler*)),
TQ_SIGNAL(finished(K3bDevice::DeviceHandler*)),
this,
TQT_SLOT(slotEjectingFinished(K3bDevice::DeviceHandler*)) );
TQ_SLOT(slotEjectingFinished(K3bDevice::DeviceHandler*)) );
}
}
else {
@ -280,8 +280,8 @@ void K3bDvdBooktypeJob::startBooktypeChange()
d->process = new K3bProcess();
d->process->setRunPrivileged(true);
d->process->setSuppressEmptyLines(true);
connect( d->process, TQT_SIGNAL(stderrLine(const TQString&)), this, TQT_SLOT(slotStderrLine(const TQString&)) );
connect( d->process, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotProcessFinished(TDEProcess*)) );
connect( d->process, TQ_SIGNAL(stderrLine(const TQString&)), this, TQ_SLOT(slotStderrLine(const TQString&)) );
connect( d->process, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(slotProcessFinished(TDEProcess*)) );
d->dvdBooktypeBin = k3bcore->externalBinManager()->binObject( "dvd+rw-booktype" );
if( !d->dvdBooktypeBin ) {

@ -105,9 +105,9 @@ void K3bDvdJob::determineMultiSessionMode()
}
else {
connect( K3bDevice::sendCommand( K3bDevice::DeviceHandler::NG_DISKINFO, m_doc->burner() ),
TQT_SIGNAL(finished(K3bDevice::DeviceHandler*)),
TQ_SIGNAL(finished(K3bDevice::DeviceHandler*)),
this,
TQT_SLOT(slotDetermineMultiSessionMode(K3bDevice::DeviceHandler*)) );
TQ_SLOT(slotDetermineMultiSessionMode(K3bDevice::DeviceHandler*)) );
}
}

@ -55,8 +55,8 @@ void K3bAbstractWriter::cancel()
if( burnDevice() ) {
// we need to unlock the writer because cdrecord locked it while writing
emit infoMessage( i18n("Unlocking drive..."), INFO );
connect( K3bDevice::unblock( burnDevice() ), TQT_SIGNAL(finished(bool)),
this, TQT_SLOT(slotUnblockWhileCancellationFinished(bool)) );
connect( K3bDevice::unblock( burnDevice() ), TQ_SIGNAL(finished(bool)),
this, TQ_SLOT(slotUnblockWhileCancellationFinished(bool)) );
}
else {
emit canceled();
@ -72,8 +72,8 @@ void K3bAbstractWriter::slotUnblockWhileCancellationFinished( bool success )
if( k3bcore->globalSettings()->ejectMedia() ) {
emit newSubTask( i18n("Ejecting CD") ); // FIXME: "media" instead of "CD"
connect( K3bDevice::eject( burnDevice() ), TQT_SIGNAL(finished(bool)),
this, TQT_SLOT(slotEjectWhileCancellationFinished(bool)) );
connect( K3bDevice::eject( burnDevice() ), TQ_SIGNAL(finished(bool)),
this, TQ_SLOT(slotEjectWhileCancellationFinished(bool)) );
}
else {
emit canceled();

@ -146,8 +146,8 @@ K3bCdrdaoWriter::K3bCdrdaoWriter( K3bDevice::Device* dev, K3bJobHandler* hdl,
{
d = new Private();
d->speedEst = new K3bThroughputEstimator( this );
connect( d->speedEst, TQT_SIGNAL(throughput(int)),
this, TQT_SLOT(slotThroughput(int)) );
connect( d->speedEst, TQ_SIGNAL(throughput(int)),
this, TQ_SLOT(slotThroughput(int)) );
m_eject = k3bcore->globalSettings()->ejectMedia();
@ -166,8 +166,8 @@ K3bCdrdaoWriter::K3bCdrdaoWriter( K3bDevice::Device* dev, K3bJobHandler* hdl,
m_comSock->socketDevice()->setReceiveBufferSize(49152);
// magic number from TQt documentation
m_comSock->socketDevice()->setBlocking(false);
connect( m_comSock, TQT_SIGNAL(readyRead()),
this, TQT_SLOT(parseCdrdaoMessage()));
connect( m_comSock, TQ_SIGNAL(readyRead()),
this, TQ_SLOT(parseCdrdaoMessage()));
}
}
@ -464,10 +464,10 @@ void K3bCdrdaoWriter::start()
m_process->setRunPrivileged(true);
m_process->setSplitStdout(false);
m_process->setRawStdin(true);
connect( m_process, TQT_SIGNAL(stderrLine(const TQString&)),
this, TQT_SLOT(slotStdLine(const TQString&)) );
connect( m_process, TQT_SIGNAL(processExited(TDEProcess*)),
this, TQT_SLOT(slotProcessExited(TDEProcess*)) );
connect( m_process, TQ_SIGNAL(stderrLine(const TQString&)),
this, TQ_SLOT(slotStdLine(const TQString&)) );
connect( m_process, TQ_SIGNAL(processExited(TDEProcess*)),
this, TQ_SLOT(slotProcessExited(TDEProcess*)) );
m_canceled = false;
m_knownError = false;

@ -74,8 +74,8 @@ K3bCdrecordWriter::K3bCdrecordWriter( K3bDevice::Device* dev, K3bJobHandler* hdl
{
d = new Private();
d->speedEst = new K3bThroughputEstimator( this );
connect( d->speedEst, TQT_SIGNAL(throughput(int)),
this, TQT_SLOT(slotThroughput(int)) );
connect( d->speedEst, TQ_SIGNAL(throughput(int)),
this, TQ_SLOT(slotThroughput(int)) );
m_process = 0;
m_writingMode = K3b::TAO;
@ -145,9 +145,9 @@ void K3bCdrecordWriter::prepareProcess()
m_process->setSplitStdout(true);
m_process->setSuppressEmptyLines(true);
m_process->setRawStdin(true); // we only use stdin when writing on-the-fly
connect( m_process, TQT_SIGNAL(stdoutLine(const TQString&)), this, TQT_SLOT(slotStdLine(const TQString&)) );
connect( m_process, TQT_SIGNAL(stderrLine(const TQString&)), this, TQT_SLOT(slotStdLine(const TQString&)) );
connect( m_process, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotProcessExited(TDEProcess*)) );
connect( m_process, TQ_SIGNAL(stdoutLine(const TQString&)), this, TQ_SLOT(slotStdLine(const TQString&)) );
connect( m_process, TQ_SIGNAL(stderrLine(const TQString&)), this, TQ_SLOT(slotStdLine(const TQString&)) );
connect( m_process, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(slotProcessExited(TDEProcess*)) );
m_cdrecordBinObject = k3bcore->externalBinManager()->binObject("cdrecord");

@ -45,7 +45,7 @@ K3bDoc::K3bDoc( TQObject* parent )
m_modified(false),
m_view(0)
{
connect( this, TQT_SIGNAL(changed()), this, TQT_SLOT(slotChanged()) );
connect( this, TQ_SIGNAL(changed()), this, TQ_SLOT(slotChanged()) );
}

@ -42,10 +42,10 @@ void K3bDvdrecordWriter::prepareProcess()
m_process = new K3bProcess();
m_process->setRunPrivileged(true);
m_process->setSplitStdout(true);
connect( m_process, TQT_SIGNAL(stdoutLine(const TQString&)), this, TQT_SLOT(slotStdLine(const TQString&)) );
connect( m_process, TQT_SIGNAL(stderrLine(const TQString&)), this, TQT_SLOT(slotStdLine(const TQString&)) );
connect( m_process, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotProcessExited(TDEProcess*)) );
connect( m_process, TQT_SIGNAL(wroteStdin(TDEProcess*)), this, TQT_SIGNAL(dataWritten()) );
connect( m_process, TQ_SIGNAL(stdoutLine(const TQString&)), this, TQ_SLOT(slotStdLine(const TQString&)) );
connect( m_process, TQ_SIGNAL(stderrLine(const TQString&)), this, TQ_SLOT(slotStdLine(const TQString&)) );
connect( m_process, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(slotProcessExited(TDEProcess*)) );
connect( m_process, TQ_SIGNAL(wroteStdin(TDEProcess*)), this, TQ_SIGNAL(dataWritten()) );
// if( k3bcore->externalBinManager()->binObject("cdrecord")->hasFeature( "dvd-patch" ) )
// m_cdrecordBinObject = k3bcore->externalBinManager()->binObject("cdrecord");

@ -65,7 +65,7 @@ void K3bGrowisofsHandler::reset( K3bDevice::Device* dev, bool dao )
void K3bGrowisofsHandler::handleStart()
{
// TQTimer::singleShot( 2000, this, TQT_SLOT(slotCheckBufferStatus()) );
// TQTimer::singleShot( 2000, this, TQ_SLOT(slotCheckBufferStatus()) );
}
@ -298,9 +298,9 @@ void K3bGrowisofsHandler::handleExit( int exitCode )
void K3bGrowisofsHandler::slotCheckBufferStatus()
{
connect( K3bDevice::sendCommand( K3bDevice::DeviceHandler::BUFFER_CAPACITY, m_device ),
TQT_SIGNAL(finished(K3bDevice::DeviceHandler*)),
TQ_SIGNAL(finished(K3bDevice::DeviceHandler*)),
this,
TQT_SLOT(slotCheckBufferStatusDone(K3bDevice::DeviceHandler*)) );
TQ_SLOT(slotCheckBufferStatusDone(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(slotCheckBufferStatus()) );
TQTimer::singleShot( 500, this, TQ_SLOT(slotCheckBufferStatus()) );
}
else {
kdDebug() << "(K3bGrowisofsHandler) stopping buffer check." << endl;

@ -102,20 +102,20 @@ K3bGrowisofsWriter::K3bGrowisofsWriter( K3bDevice::Device* dev, K3bJobHandler* h
{
d = new Private;
d->speedEst = new K3bThroughputEstimator( this );
connect( d->speedEst, TQT_SIGNAL(throughput(int)),
this, TQT_SLOT(slotThroughput(int)) );
connect( d->speedEst, TQ_SIGNAL(throughput(int)),
this, TQ_SLOT(slotThroughput(int)) );
d->gh = new K3bGrowisofsHandler( this );
connect( d->gh, TQT_SIGNAL(infoMessage(const TQString&, int)),
this,TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( d->gh, TQT_SIGNAL(newSubTask(const TQString&)),
this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( d->gh, TQT_SIGNAL(buffer(int)),
this, TQT_SIGNAL(buffer(int)) );
connect( d->gh, TQT_SIGNAL(deviceBuffer(int)),
this, TQT_SIGNAL(deviceBuffer(int)) );
connect( d->gh, TQT_SIGNAL(flushingCache()),
this, TQT_SLOT(slotFlushingCache()) );
connect( d->gh, TQ_SIGNAL(infoMessage(const TQString&, int)),
this,TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( d->gh, TQ_SIGNAL(newSubTask(const TQString&)),
this, TQ_SIGNAL(newSubTask(const TQString&)) );
connect( d->gh, TQ_SIGNAL(buffer(int)),
this, TQ_SIGNAL(buffer(int)) );
connect( d->gh, TQ_SIGNAL(deviceBuffer(int)),
this, TQ_SIGNAL(deviceBuffer(int)) );
connect( d->gh, TQ_SIGNAL(flushingCache()),
this, TQ_SLOT(slotFlushingCache()) );
}
@ -182,9 +182,9 @@ bool K3bGrowisofsWriter::prepareProcess()
// d->process->setPriority( TDEProcess::PrioHighest );
d->process->setSplitStdout(true);
d->process->setRawStdin(true);
connect( d->process, TQT_SIGNAL(stderrLine(const TQString&)), this, TQT_SLOT(slotReceivedStderr(const TQString&)) );
connect( d->process, TQT_SIGNAL(stdoutLine(const TQString&)), this, TQT_SLOT(slotReceivedStderr(const TQString&)) );
connect( d->process, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotProcessExited(TDEProcess*)) );
connect( d->process, TQ_SIGNAL(stderrLine(const TQString&)), this, TQ_SLOT(slotReceivedStderr(const TQString&)) );
connect( d->process, TQ_SIGNAL(stdoutLine(const TQString&)), this, TQ_SLOT(slotReceivedStderr(const TQString&)) );
connect( d->process, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(slotProcessExited(TDEProcess*)) );
//
@ -394,8 +394,8 @@ void K3bGrowisofsWriter::start()
if( d->usingRingBuffer ) {
if( !d->ringBuffer ) {
d->ringBuffer = new K3bPipeBuffer( this, this );
connect( d->ringBuffer, TQT_SIGNAL(percent(int)), this, TQT_SIGNAL(buffer(int)) );
connect( d->ringBuffer, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotRingBufferFinished(bool)) );
connect( d->ringBuffer, TQ_SIGNAL(percent(int)), this, TQ_SIGNAL(buffer(int)) );
connect( d->ringBuffer, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotRingBufferFinished(bool)) );
}
d->ringBuffer->writeToFd( d->process->stdinFd() );
@ -571,9 +571,9 @@ void K3bGrowisofsWriter::slotProcessExited( TDEProcess* p )
else {
emit newSubTask( i18n("Ejecting DVD") );
connect( K3bDevice::eject( burnDevice() ),
TQT_SIGNAL(finished(K3bDevice::DeviceHandler*)),
TQ_SIGNAL(finished(K3bDevice::DeviceHandler*)),
this,
TQT_SLOT(slotEjectingFinished(K3bDevice::DeviceHandler*)) );
TQ_SLOT(slotEjectingFinished(K3bDevice::DeviceHandler*)) );
}
}

@ -37,10 +37,10 @@ K3bMixedDoc::K3bMixedDoc( TQObject* parent )
m_dataDoc = new K3bDataDoc( this );
m_audioDoc = new K3bAudioDoc( this );
connect( m_dataDoc, TQT_SIGNAL(changed()),
this, TQT_SIGNAL(changed()) );
connect( m_audioDoc, TQT_SIGNAL(changed()),
this, TQT_SIGNAL(changed()) );
connect( m_dataDoc, TQ_SIGNAL(changed()),
this, TQ_SIGNAL(changed()) );
connect( m_audioDoc, TQ_SIGNAL(changed()),
this, TQ_SIGNAL(changed()) );
}

@ -103,23 +103,23 @@ K3bMixedJob::K3bMixedJob( K3bMixedDoc* doc, K3bJobHandler* hdl, TQObject* parent
d = new Private;
m_isoImager = new K3bIsoImager( doc->dataDoc(), this, this );
connect( m_isoImager, TQT_SIGNAL(infoMessage(const TQString&, int)), this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_isoImager, TQT_SIGNAL(percent(int)), this, TQT_SLOT(slotIsoImagerPercent(int)) );
connect( m_isoImager, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotIsoImagerFinished(bool)) );
connect( m_isoImager, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( m_isoImager, TQ_SIGNAL(infoMessage(const TQString&, int)), this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_isoImager, TQ_SIGNAL(percent(int)), this, TQ_SLOT(slotIsoImagerPercent(int)) );
connect( m_isoImager, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotIsoImagerFinished(bool)) );
connect( m_isoImager, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
m_audioImager = new K3bAudioImager( doc->audioDoc(), this, this );
connect( m_audioImager, TQT_SIGNAL(infoMessage(const TQString&, int)),
this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_audioImager, TQT_SIGNAL(percent(int)), this, TQT_SLOT(slotAudioDecoderPercent(int)) );
connect( m_audioImager, TQT_SIGNAL(subPercent(int)), this, TQT_SLOT(slotAudioDecoderSubPercent(int)) );
connect( m_audioImager, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotAudioDecoderFinished(bool)) );
connect( m_audioImager, TQT_SIGNAL(nextTrack(int, int)), this, TQT_SLOT(slotAudioDecoderNextTrack(int, int)) );
connect( m_audioImager, TQ_SIGNAL(infoMessage(const TQString&, int)),
this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_audioImager, TQ_SIGNAL(percent(int)), this, TQ_SLOT(slotAudioDecoderPercent(int)) );
connect( m_audioImager, TQ_SIGNAL(subPercent(int)), this, TQ_SLOT(slotAudioDecoderSubPercent(int)) );
connect( m_audioImager, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotAudioDecoderFinished(bool)) );
connect( m_audioImager, TQ_SIGNAL(nextTrack(int, int)), this, TQ_SLOT(slotAudioDecoderNextTrack(int, int)) );
m_msInfoFetcher = new K3bMsInfoFetcher( this, this );
connect( m_msInfoFetcher, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotMsInfoFetched(bool)) );
connect( m_msInfoFetcher, TQT_SIGNAL(infoMessage(const TQString&, int)), this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_msInfoFetcher, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotMsInfoFetched(bool)) );
connect( m_msInfoFetcher, TQ_SIGNAL(infoMessage(const TQString&, int)), this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
m_writer = 0;
m_tocFile = 0;
@ -251,10 +251,10 @@ void K3bMixedJob::startFirstCopy()
// the maxspeed job gets the device from the doc:
m_doc->audioDoc()->setBurner( m_doc->burner() );
d->maxSpeedJob = new K3bAudioMaxSpeedJob( m_doc->audioDoc(), this, this );
connect( d->maxSpeedJob, TQT_SIGNAL(percent(int)),
this, TQT_SIGNAL(subPercent(int)) );
connect( d->maxSpeedJob, TQT_SIGNAL(finished(bool)),
this, TQT_SLOT(slotMaxSpeedJobFinished(bool)) );
connect( d->maxSpeedJob, TQ_SIGNAL(percent(int)),
this, TQ_SIGNAL(subPercent(int)) );
connect( d->maxSpeedJob, TQ_SIGNAL(finished(bool)),
this, TQ_SLOT(slotMaxSpeedJobFinished(bool)) );
}
d->maxSpeedJob->start();
}
@ -510,8 +510,8 @@ void K3bMixedJob::slotWriterFinished( bool success )
// reload the media (as a subtask so the user does not see the "Flushing cache" or "Fixating" messages while
// doing so
emit newSubTask( i18n("Reloading the medium") );
connect( K3bDevice::reload( m_doc->burner() ), TQT_SIGNAL(finished(bool)),
this, TQT_SLOT(slotMediaReloadedForSecondSession(bool)) );
connect( K3bDevice::reload( m_doc->burner() ), TQ_SIGNAL(finished(bool)),
this, TQ_SLOT(slotMediaReloadedForSecondSession(bool)) );
}
else {
d->copiesDone++;
@ -690,20 +690,20 @@ bool K3bMixedJob::prepareWriter()
m_writer = writer;
}
connect( m_writer, TQT_SIGNAL(infoMessage(const TQString&, int)), this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_writer, TQT_SIGNAL(percent(int)), this, TQT_SLOT(slotWriterJobPercent(int)) );
connect( m_writer, TQT_SIGNAL(processedSize(int, int)), this, TQT_SIGNAL(processedSize(int, int)) );
connect( m_writer, TQT_SIGNAL(subPercent(int)), this, TQT_SIGNAL(subPercent(int)) );
connect( m_writer, TQT_SIGNAL(processedSubSize(int, int)), this, TQT_SIGNAL(processedSubSize(int, int)) );
connect( m_writer, TQT_SIGNAL(nextTrack(int, int)), this, TQT_SLOT(slotWriterNextTrack(int, int)) );
connect( m_writer, TQT_SIGNAL(buffer(int)), this, TQT_SIGNAL(bufferStatus(int)) );
connect( m_writer, TQT_SIGNAL(deviceBuffer(int)), this, TQT_SIGNAL(deviceBuffer(int)) );
connect( m_writer, TQT_SIGNAL(writeSpeed(int, int)), this, TQT_SIGNAL(writeSpeed(int, int)) );
connect( m_writer, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotWriterFinished(bool)) );
// connect( m_writer, TQT_SIGNAL(newTask(const TQString&)), this, TQT_SIGNAL(newTask(const TQString&)) );
connect( m_writer, TQT_SIGNAL(newSubTask(const TQString&)), this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( m_writer, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( m_writer, TQ_SIGNAL(infoMessage(const TQString&, int)), this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_writer, TQ_SIGNAL(percent(int)), this, TQ_SLOT(slotWriterJobPercent(int)) );
connect( m_writer, TQ_SIGNAL(processedSize(int, int)), this, TQ_SIGNAL(processedSize(int, int)) );
connect( m_writer, TQ_SIGNAL(subPercent(int)), this, TQ_SIGNAL(subPercent(int)) );
connect( m_writer, TQ_SIGNAL(processedSubSize(int, int)), this, TQ_SIGNAL(processedSubSize(int, int)) );
connect( m_writer, TQ_SIGNAL(nextTrack(int, int)), this, TQ_SLOT(slotWriterNextTrack(int, int)) );
connect( m_writer, TQ_SIGNAL(buffer(int)), this, TQ_SIGNAL(bufferStatus(int)) );
connect( m_writer, TQ_SIGNAL(deviceBuffer(int)), this, TQ_SIGNAL(deviceBuffer(int)) );
connect( m_writer, TQ_SIGNAL(writeSpeed(int, int)), this, TQ_SIGNAL(writeSpeed(int, int)) );
connect( m_writer, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotWriterFinished(bool)) );
// connect( m_writer, TQ_SIGNAL(newTask(const TQString&)), this, TQ_SIGNAL(newTask(const TQString&)) );
connect( m_writer, TQ_SIGNAL(newSubTask(const TQString&)), this, TQ_SIGNAL(newSubTask(const TQString&)) );
connect( m_writer, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
return true;
}
@ -1228,14 +1228,14 @@ void K3bMixedJob::normalizeFiles()
if( !m_normalizeJob ) {
m_normalizeJob = new K3bAudioNormalizeJob( this, this );
connect( m_normalizeJob, TQT_SIGNAL(infoMessage(const TQString&, int)),
this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_normalizeJob, TQT_SIGNAL(percent(int)), this, TQT_SLOT(slotNormalizeProgress(int)) );
connect( m_normalizeJob, TQT_SIGNAL(subPercent(int)), this, TQT_SLOT(slotNormalizeSubProgress(int)) );
connect( m_normalizeJob, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotNormalizeJobFinished(bool)) );
connect( m_normalizeJob, TQT_SIGNAL(newTask(const TQString&)), this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( m_normalizeJob, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( m_normalizeJob, TQ_SIGNAL(infoMessage(const TQString&, int)),
this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_normalizeJob, TQ_SIGNAL(percent(int)), this, TQ_SLOT(slotNormalizeProgress(int)) );
connect( m_normalizeJob, TQ_SIGNAL(subPercent(int)), this, TQ_SLOT(slotNormalizeSubProgress(int)) );
connect( m_normalizeJob, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotNormalizeJobFinished(bool)) );
connect( m_normalizeJob, TQ_SIGNAL(newTask(const TQString&)), this, TQ_SIGNAL(newSubTask(const TQString&)) );
connect( m_normalizeJob, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
}
// add all the files

@ -37,8 +37,8 @@
K3bMovixDoc::K3bMovixDoc( TQObject* parent )
: K3bDataDoc( parent )
{
connect( this, TQT_SIGNAL(itemRemoved(K3bDataItem*)),
this, TQT_SLOT(slotDataItemRemoved(K3bDataItem*)) );
connect( this, TQ_SIGNAL(itemRemoved(K3bDataItem*)),
this, TQ_SLOT(slotDataItemRemoved(K3bDataItem*)) );
}

@ -35,26 +35,26 @@ K3bMovixJob::K3bMovixJob( K3bMovixDoc* doc, K3bJobHandler* jh, TQObject* parent
m_movixDocPreparer = new K3bMovixDocPreparer( doc, this, this );
// pipe signals
connect( m_dataJob, TQT_SIGNAL(percent(int)), this, TQT_SIGNAL(percent(int)) );
connect( m_dataJob, TQT_SIGNAL(subPercent(int)), this, TQT_SIGNAL(subPercent(int)) );
connect( m_dataJob, TQT_SIGNAL(processedSubSize(int, int)), this, TQT_SIGNAL(processedSubSize(int, int)) );
connect( m_dataJob, TQT_SIGNAL(processedSize(int, int)), this, TQT_SIGNAL(processedSize(int, int)) );
connect( m_dataJob, TQT_SIGNAL(bufferStatus(int)), this, TQT_SIGNAL(bufferStatus(int)) );
connect( m_dataJob, TQT_SIGNAL(deviceBuffer(int)), this, TQT_SIGNAL(deviceBuffer(int)) );
connect( m_dataJob, TQT_SIGNAL(writeSpeed(int, int)), this, TQT_SIGNAL(writeSpeed(int, int)) );
connect( m_dataJob, TQT_SIGNAL(newTask(const TQString&)), this, TQT_SIGNAL(newTask(const TQString&)) );
connect( m_dataJob, TQT_SIGNAL(newSubTask(const TQString&)), this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( m_dataJob, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( m_dataJob, TQT_SIGNAL(infoMessage(const TQString&, int)),
this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_dataJob, TQT_SIGNAL(burning(bool)), this, TQT_SIGNAL(burning(bool)) );
connect( m_dataJob, TQ_SIGNAL(percent(int)), this, TQ_SIGNAL(percent(int)) );
connect( m_dataJob, TQ_SIGNAL(subPercent(int)), this, TQ_SIGNAL(subPercent(int)) );
connect( m_dataJob, TQ_SIGNAL(processedSubSize(int, int)), this, TQ_SIGNAL(processedSubSize(int, int)) );
connect( m_dataJob, TQ_SIGNAL(processedSize(int, int)), this, TQ_SIGNAL(processedSize(int, int)) );
connect( m_dataJob, TQ_SIGNAL(bufferStatus(int)), this, TQ_SIGNAL(bufferStatus(int)) );
connect( m_dataJob, TQ_SIGNAL(deviceBuffer(int)), this, TQ_SIGNAL(deviceBuffer(int)) );
connect( m_dataJob, TQ_SIGNAL(writeSpeed(int, int)), this, TQ_SIGNAL(writeSpeed(int, int)) );
connect( m_dataJob, TQ_SIGNAL(newTask(const TQString&)), this, TQ_SIGNAL(newTask(const TQString&)) );
connect( m_dataJob, TQ_SIGNAL(newSubTask(const TQString&)), this, TQ_SIGNAL(newSubTask(const TQString&)) );
connect( m_dataJob, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( m_dataJob, TQ_SIGNAL(infoMessage(const TQString&, int)),
this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_dataJob, TQ_SIGNAL(burning(bool)), this, TQ_SIGNAL(burning(bool)) );
// we need to clean up here
connect( m_dataJob, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotDataJobFinished(bool)) );
connect( m_dataJob, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotDataJobFinished(bool)) );
connect( m_movixDocPreparer, TQT_SIGNAL(infoMessage(const TQString&, int)),
this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_movixDocPreparer, TQ_SIGNAL(infoMessage(const TQString&, int)),
this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
}

@ -35,25 +35,25 @@ K3bMovixDvdJob::K3bMovixDvdJob( K3bMovixDvdDoc* doc, K3bJobHandler* jh, TQObject
m_movixDocPreparer = new K3bMovixDocPreparer( doc, this, this );
// pipe signals
connect( m_dvdJob, TQT_SIGNAL(percent(int)), this, TQT_SIGNAL(percent(int)) );
connect( m_dvdJob, TQT_SIGNAL(subPercent(int)), this, TQT_SIGNAL(subPercent(int)) );
connect( m_dvdJob, TQT_SIGNAL(processedSubSize(int, int)), this, TQT_SIGNAL(processedSubSize(int, int)) );
connect( m_dvdJob, TQT_SIGNAL(processedSize(int, int)), this, TQT_SIGNAL(processedSize(int, int)) );
connect( m_dvdJob, TQT_SIGNAL(bufferStatus(int)), this, TQT_SIGNAL(bufferStatus(int)) );
connect( m_dvdJob, TQT_SIGNAL(writeSpeed(int, int)), this, TQT_SIGNAL(writeSpeed(int, int)) );
connect( m_dvdJob, TQT_SIGNAL(newTask(const TQString&)), this, TQT_SIGNAL(newTask(const TQString&)) );
connect( m_dvdJob, TQT_SIGNAL(newSubTask(const TQString&)), this, TQT_SIGNAL(newSubTask(const TQString&)) );
connect( m_dvdJob, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( m_dvdJob, TQT_SIGNAL(infoMessage(const TQString&, int)),
this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_dvdJob, TQT_SIGNAL(burning(bool)), this, TQT_SIGNAL(burning(bool)) );
connect( m_dvdJob, TQ_SIGNAL(percent(int)), this, TQ_SIGNAL(percent(int)) );
connect( m_dvdJob, TQ_SIGNAL(subPercent(int)), this, TQ_SIGNAL(subPercent(int)) );
connect( m_dvdJob, TQ_SIGNAL(processedSubSize(int, int)), this, TQ_SIGNAL(processedSubSize(int, int)) );
connect( m_dvdJob, TQ_SIGNAL(processedSize(int, int)), this, TQ_SIGNAL(processedSize(int, int)) );
connect( m_dvdJob, TQ_SIGNAL(bufferStatus(int)), this, TQ_SIGNAL(bufferStatus(int)) );
connect( m_dvdJob, TQ_SIGNAL(writeSpeed(int, int)), this, TQ_SIGNAL(writeSpeed(int, int)) );
connect( m_dvdJob, TQ_SIGNAL(newTask(const TQString&)), this, TQ_SIGNAL(newTask(const TQString&)) );
connect( m_dvdJob, TQ_SIGNAL(newSubTask(const TQString&)), this, TQ_SIGNAL(newSubTask(const TQString&)) );
connect( m_dvdJob, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)) );
connect( m_dvdJob, TQ_SIGNAL(infoMessage(const TQString&, int)),
this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_dvdJob, TQ_SIGNAL(burning(bool)), this, TQ_SIGNAL(burning(bool)) );
// we need to clean up here
connect( m_dvdJob, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotDvdJobFinished(bool)) );
connect( m_dvdJob, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotDvdJobFinished(bool)) );
connect( m_movixDocPreparer, TQT_SIGNAL(infoMessage(const TQString&, int)),
this, TQT_SIGNAL(infoMessage(const TQString&, int)) );
connect( m_movixDocPreparer, TQ_SIGNAL(infoMessage(const TQString&, int)),
this, TQ_SIGNAL(infoMessage(const TQString&, int)) );
}

@ -59,11 +59,11 @@ K3bVcdDoc::K3bVcdDoc( TQObject* parent )
m_vcdType = NONE;
m_urlAddingTimer = new TQTimer( this );
connect( m_urlAddingTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotWorkUrlQueue() ) );
connect( m_urlAddingTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotWorkUrlQueue() ) );
// FIXME: remove the newTracks() signal and replace it with the changed signal
connect( this, TQT_SIGNAL( newTracks() ), this, TQT_SIGNAL( changed() ) );
connect( this, TQT_SIGNAL( trackRemoved( K3bVcdTrack* ) ), this, TQT_SIGNAL( changed() ) );
connect( this, TQ_SIGNAL( newTracks() ), this, TQ_SIGNAL( changed() ) );
connect( this, TQ_SIGNAL( trackRemoved( K3bVcdTrack* ) ), this, TQ_SIGNAL( changed() ) );
}
K3bVcdDoc::~K3bVcdDoc()

@ -225,12 +225,12 @@ void K3bVcdJob::vcdxBuild()
*m_process << TQString( "%1" ).arg( TQFile::encodeName( m_xmlFile ).data() );
connect( m_process, TQT_SIGNAL( receivedStderr( TDEProcess*, char*, int ) ),
this, TQT_SLOT( slotParseVcdxBuildOutput( TDEProcess*, char*, int ) ) );
connect( m_process, TQT_SIGNAL( receivedStdout( TDEProcess*, char*, int ) ),
this, TQT_SLOT( slotParseVcdxBuildOutput( TDEProcess*, char*, int ) ) );
connect( m_process, TQT_SIGNAL( processExited( TDEProcess* ) ),
this, TQT_SLOT( slotVcdxBuildFinished() ) );
connect( m_process, TQ_SIGNAL( receivedStderr( TDEProcess*, char*, int ) ),
this, TQ_SLOT( slotParseVcdxBuildOutput( TDEProcess*, char*, int ) ) );
connect( m_process, TQ_SIGNAL( receivedStdout( TDEProcess*, char*, int ) ),
this, TQ_SLOT( slotParseVcdxBuildOutput( TDEProcess*, char*, int ) ) );
connect( m_process, TQ_SIGNAL( processExited( TDEProcess* ) ),
this, TQ_SLOT( slotVcdxBuildFinished() ) );
// vcdxbuild commandline parameters
kdDebug() << "***** vcdxbuild parameters:" << endl;
@ -432,19 +432,19 @@ bool K3bVcdJob::prepareWriterJob()
}
connect( m_writerJob, TQT_SIGNAL( infoMessage( const TQString&, int ) ), this, TQT_SIGNAL( infoMessage( const TQString&, int ) ) );
connect( m_writerJob, TQT_SIGNAL( percent( int ) ), this, TQT_SLOT( slotWriterJobPercent( int ) ) );
connect( m_writerJob, TQT_SIGNAL( processedSize( int, int ) ), this, TQT_SLOT( slotProcessedSize( int, int ) ) );
connect( m_writerJob, TQT_SIGNAL( subPercent( int ) ), this, TQT_SIGNAL( subPercent( int ) ) );
connect( m_writerJob, TQT_SIGNAL( processedSubSize( int, int ) ), this, TQT_SIGNAL( processedSubSize( int, int ) ) );
connect( m_writerJob, TQT_SIGNAL( nextTrack( int, int ) ), this, TQT_SLOT( slotWriterNextTrack( int, int ) ) );
connect( m_writerJob, TQT_SIGNAL( buffer( int ) ), this, TQT_SIGNAL( bufferStatus( int ) ) );
connect( m_writerJob, TQT_SIGNAL( deviceBuffer( int ) ), this, TQT_SIGNAL( deviceBuffer( int ) ) );
connect( m_writerJob, TQT_SIGNAL( writeSpeed( int, int ) ), this, TQT_SIGNAL( writeSpeed( int, int ) ) );
connect( m_writerJob, TQT_SIGNAL( finished( bool ) ), this, TQT_SLOT( slotWriterJobFinished( bool ) ) );
connect( m_writerJob, TQT_SIGNAL( newTask( const TQString& ) ), this, TQT_SIGNAL( newTask( const TQString& ) ) );
connect( m_writerJob, TQT_SIGNAL( newSubTask( const TQString& ) ), this, TQT_SIGNAL( newSubTask( const TQString& ) ) );
connect( m_writerJob, TQT_SIGNAL( debuggingOutput( const TQString&, const TQString& ) ), this, TQT_SIGNAL( debuggingOutput( const TQString&, const TQString& ) ) );
connect( m_writerJob, TQ_SIGNAL( infoMessage( const TQString&, int ) ), this, TQ_SIGNAL( infoMessage( const TQString&, int ) ) );
connect( m_writerJob, TQ_SIGNAL( percent( int ) ), this, TQ_SLOT( slotWriterJobPercent( int ) ) );
connect( m_writerJob, TQ_SIGNAL( processedSize( int, int ) ), this, TQ_SLOT( slotProcessedSize( int, int ) ) );
connect( m_writerJob, TQ_SIGNAL( subPercent( int ) ), this, TQ_SIGNAL( subPercent( int ) ) );
connect( m_writerJob, TQ_SIGNAL( processedSubSize( int, int ) ), this, TQ_SIGNAL( processedSubSize( int, int ) ) );
connect( m_writerJob, TQ_SIGNAL( nextTrack( int, int ) ), this, TQ_SLOT( slotWriterNextTrack( int, int ) ) );
connect( m_writerJob, TQ_SIGNAL( buffer( int ) ), this, TQ_SIGNAL( bufferStatus( int ) ) );
connect( m_writerJob, TQ_SIGNAL( deviceBuffer( int ) ), this, TQ_SIGNAL( deviceBuffer( int ) ) );
connect( m_writerJob, TQ_SIGNAL( writeSpeed( int, int ) ), this, TQ_SIGNAL( writeSpeed( int, int ) ) );
connect( m_writerJob, TQ_SIGNAL( finished( bool ) ), this, TQ_SLOT( slotWriterJobFinished( bool ) ) );
connect( m_writerJob, TQ_SIGNAL( newTask( const TQString& ) ), this, TQ_SIGNAL( newTask( const TQString& ) ) );
connect( m_writerJob, TQ_SIGNAL( newSubTask( const TQString& ) ), this, TQ_SIGNAL( newSubTask( const TQString& ) ) );
connect( m_writerJob, TQ_SIGNAL( debuggingOutput( const TQString&, const TQString& ) ), this, TQ_SIGNAL( debuggingOutput( const TQString&, const TQString& ) ) );
return true;
}

@ -27,7 +27,7 @@ K3bBusyWidget::K3bBusyWidget( TQWidget* parent, const char* name )
m_busyTimer = new TQTimer( this );
m_iBusyPosition = 0;
connect( m_busyTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(animateBusy()) );
connect( m_busyTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(animateBusy()) );
m_bBusy = false;
}

@ -36,10 +36,10 @@ K3bDeviceComboBox::K3bDeviceComboBox( TQWidget* parent, const char* name )
: KComboBox( parent, name )
{
d = new Private();
connect( this, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotActivated(int)) );
connect( k3bcore->deviceManager(), TQT_SIGNAL(changed(K3bDevice::DeviceManager*)),
this, TQT_SLOT(slotDeviceManagerChanged(K3bDevice::DeviceManager*)) );
connect( this, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(slotActivated(int)) );
connect( k3bcore->deviceManager(), TQ_SIGNAL(changed(K3bDevice::DeviceManager*)),
this, TQ_SLOT(slotDeviceManagerChanged(K3bDevice::DeviceManager*)) );
}

@ -178,8 +178,8 @@ namespace K3bDevice
* Usage:
* \code
* connect( K3bDevice::sendCommand( K3bDevice::DeviceHandler::MOUNT, dev ),
* TQT_SIGNAL(finished(DeviceHandler*)),
* this, TQT_SLOT(someSlot(DeviceHandler*)) );
* TQ_SIGNAL(finished(DeviceHandler*)),
* this, TQ_SLOT(someSlot(DeviceHandler*)) );
*
* void someSlot( DeviceHandler* dh ) {
* if( dh->success() ) {

@ -35,10 +35,10 @@ K3bIntMapComboBox::K3bIntMapComboBox( TQWidget* parent, const char* name )
: KComboBox( parent, name )
{
d = new Private;
connect( this, TQT_SIGNAL(highlighted(int)),
this, TQT_SLOT(slotItemHighlighted(int)) );
connect( this, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotItemActivated(int)) );
connect( this, TQ_SIGNAL(highlighted(int)),
this, TQ_SLOT(slotItemHighlighted(int)) );
connect( this, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(slotItemActivated(int)) );
}

@ -552,8 +552,8 @@ K3bListView::K3bListView( TQWidget* parent, const char* name )
{
d = new Private;
connect( header(), TQT_SIGNAL( sizeChange( int, int, int ) ),
this, TQT_SLOT( updateEditorSize() ) );
connect( header(), TQ_SIGNAL( sizeChange( int, int, int ) ),
this, TQ_SLOT( updateEditorSize() ) );
m_editorButton = 0;
m_editorComboBox = 0;
@ -709,8 +709,8 @@ void K3bListView::prepareButton( K3bListViewItem*, int )
{
if( !m_editorButton ) {
m_editorButton = new TQPushButton( viewport() );
connect( m_editorButton, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotEditorButtonClicked()) );
connect( m_editorButton, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotEditorButtonClicked()) );
}
// TODO: do some useful things
@ -724,8 +724,8 @@ TQWidget* K3bListView::prepareEditor( K3bListViewItem* item, int col )
case K3bListViewItem::COMBO:
if( !m_editorComboBox ) {
m_editorComboBox = new TQComboBox( viewport() );
connect( m_editorComboBox, TQT_SIGNAL(activated(const TQString&)),
this, TQT_SLOT(slotEditorComboBoxActivated(const TQString&)) );
connect( m_editorComboBox, TQ_SIGNAL(activated(const TQString&)),
this, TQ_SLOT(slotEditorComboBoxActivated(const TQString&)) );
m_editorComboBox->installEventFilter( this );
}
m_editorComboBox->clear();
@ -770,8 +770,8 @@ TQWidget* K3bListView::prepareEditor( K3bListViewItem* item, int col )
if( !m_editorSpinBox ) {
m_editorSpinBox = new TQSpinBox( viewport() );
d->spinBoxLineEdit = static_cast<TQLineEdit*>( m_editorSpinBox->child( 0, "TQLineEdit" ) );
connect( m_editorSpinBox, TQT_SIGNAL(valueChanged(int)),
this, TQT_SLOT(slotEditorSpinBoxValueChanged(int)) );
connect( m_editorSpinBox, TQ_SIGNAL(valueChanged(int)),
this, TQ_SLOT(slotEditorSpinBoxValueChanged(int)) );
// m_editorSpinBox->installEventFilter( this );
d->spinBoxLineEdit->installEventFilter( this );
}
@ -783,8 +783,8 @@ TQWidget* K3bListView::prepareEditor( K3bListViewItem* item, int col )
if( !m_editorMsfEdit ) {
m_editorMsfEdit = new K3bMsfEdit( viewport() );
d->msfEditLineEdit = static_cast<TQLineEdit*>( m_editorMsfEdit->child( 0, "TQLineEdit" ) );
connect( m_editorMsfEdit, TQT_SIGNAL(valueChanged(int)),
this, TQT_SLOT(slotEditorMsfEditValueChanged(int)) );
connect( m_editorMsfEdit, TQ_SIGNAL(valueChanged(int)),
this, TQ_SLOT(slotEditorMsfEditValueChanged(int)) );
// m_editorMsfEdit->installEventFilter( this );
d->msfEditLineEdit->installEventFilter( this );
}

@ -53,7 +53,7 @@ void K3bListViewItemAnimator::init()
m_item = 0;
m_column = 0;
m_timer = new TQTimer( this );
connect( m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotAnimate()) );
connect( m_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotAnimate()) );
}

@ -73,8 +73,8 @@ K3bMd5Job::K3bMd5Job( K3bJobHandler* jh, TQObject* parent, const char* name )
{
d = new K3bMd5JobPrivate;
d->data = new char[K3bMd5JobPrivate::BUFFERSIZE];
connect( &d->timer, TQT_SIGNAL(timeout()),
this, TQT_SLOT(slotUpdate()) );
connect( &d->timer, TQ_SIGNAL(timeout()),
this, TQ_SLOT(slotUpdate()) );
}
@ -135,7 +135,7 @@ void K3bMd5Job::setupFdNotifier()
// the TQSocketNotifier will fire once the fd is closed
delete d->fdNotifier;
d->fdNotifier = new TQSocketNotifier( d->fileDes, TQSocketNotifier::Read, this );
connect( d->fdNotifier, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotUpdate()) );
connect( d->fdNotifier, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotUpdate()) );
d->fdNotifier->setEnabled( true );
}

@ -41,8 +41,8 @@ K3bMsfEdit::K3bMsfEdit( TQWidget* parent, const char* name )
// some very high value (10000 minutes)
setMaxValue( 10000*60*75 );
connect( this, TQT_SIGNAL(valueChanged(int)),
this, TQT_SLOT(slotValueChanged(int)) );
connect( this, TQ_SIGNAL(valueChanged(int)),
this, TQ_SLOT(slotValueChanged(int)) );
}

@ -83,7 +83,7 @@ K3bMultiChoiceDialog::K3bMultiChoiceDialog( const TQString& caption,
{
d = new Private();
d->mapper = new TQSignalMapper( this );
connect( d->mapper, TQT_SIGNAL(mapped(int)), this, TQT_SLOT(done(int)) );
connect( d->mapper, TQ_SIGNAL(mapped(int)), this, TQ_SLOT(done(int)) );
setCaption( caption );
@ -127,7 +127,7 @@ int K3bMultiChoiceDialog::addButton( const KGuiItem& b )
d->buttonLayout->add( button );
d->buttons.append(button);
d->mapper->setMapping( button, d->buttons.count() );
connect( button, TQT_SIGNAL(clicked()), d->mapper, TQT_SLOT(map()) );
connect( button, TQ_SIGNAL(clicked()), d->mapper, TQ_SLOT(map()) );
return d->buttons.count();
}

@ -80,7 +80,7 @@ void K3bPushButton::setDelayedPopupMenu( TQPopupMenu* popup )
{
if( !d->popupTimer ) {
d->popupTimer = new TQTimer( this );
connect( d->popupTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotDelayedPopup()) );
connect( d->popupTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotDelayedPopup()) );
}
setPopup( popup );

@ -47,8 +47,8 @@ class LIBK3B_EXPORT K3bRadioAction : public TDEToggleAction
/**
* @param text The text that will be displayed.
* @param cut The corresponding keyboard accelerator (shortcut).
* @param receiver The SLOT's parent.
* @param slot The TQT_SLOT to invoke to execute this action.
* @param receiver The TQ_SLOT's parent.
* @param slot The TQ_SLOT to invoke to execute this action.
* @param parent This action's parent.
* @param name An internal name for this action.
*/
@ -79,8 +79,8 @@ class LIBK3B_EXPORT K3bRadioAction : public TDEToggleAction
* @param text The text that will be displayed.
* @param pix The icons that go with this action.
* @param cut The corresponding keyboard accelerator (shortcut).
* @param receiver The SLOT's parent.
* @param slot The TQT_SLOT to invoke to execute this action.
* @param receiver The TQ_SLOT's parent.
* @param slot The TQ_SLOT to invoke to execute this action.
* @param parent This action's parent.
* @param name An internal name for this action.
*/
@ -91,8 +91,8 @@ class LIBK3B_EXPORT K3bRadioAction : public TDEToggleAction
* @param text The text that will be displayed.
* @param pix The dynamically loaded icon that goes with this action.
* @param cut The corresponding keyboard accelerator (shortcut).
* @param receiver The SLOT's parent.
* @param slot The TQT_SLOT to invoke to execute this action.
* @param receiver The TQ_SLOT's parent.
* @param slot The TQ_SLOT to invoke to execute this action.
* @param parent This action's parent.
* @param name An internal name for this action.
*/

@ -36,7 +36,7 @@ void K3bSignalWaiter::waitForSignal( TQObject* o, const char* signal )
{
K3bSignalWaiter w;
connect( o, signal,
&w, TQT_SLOT(slotSignal()) );
&w, TQ_SLOT(slotSignal()) );
TQApplication::eventLoop()->enterLoop();
}
@ -47,7 +47,7 @@ void K3bSignalWaiter::waitForJob( K3bJob* job )
if( !job->active() )
return;
waitForSignal( job, TQT_SIGNAL(finished(bool)) );
waitForSignal( job, TQ_SIGNAL(finished(bool)) );
}

@ -101,22 +101,22 @@ K3bToolBoxButton::K3bToolBoxButton( TDEAction* action, TQWidget* parent )
// if( ta->isChecked() )
// toggle();
// connect( ta, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(toggle()) );
// connect( this, TQT_SIGNAL(toggled(bool)), ta, TQT_SLOT(setChecked(bool)) );
// connect( ta, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(toggle()) );
// connect( this, TQ_SIGNAL(toggled(bool)), ta, TQ_SLOT(setChecked(bool)) );
// }
// else
if( TDEActionMenu* am = dynamic_cast<TDEActionMenu*>( action ) ) {
m_popupMenu = am->popupMenu();
connect( this, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotPopupActivated()) );
connect( this, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotPopupActivated()) );
setPopup( m_popupMenu );
}
else {
connect( this, TQT_SIGNAL(clicked()), action, TQT_SLOT(activate()) );
connect( this, TQ_SIGNAL(clicked()), action, TQ_SLOT(activate()) );
}
connect( action, TQT_SIGNAL(enabled(bool)), this, TQT_SLOT(setEnabled(bool)) );
connect( action, TQ_SIGNAL(enabled(bool)), this, TQ_SLOT(setEnabled(bool)) );
}
@ -141,7 +141,7 @@ K3bToolBoxButton::K3bToolBoxButton( const TQString& text, const TQString& icon,
TQToolTip::add( this, tooltip );
if( receiver && slot )
connect( this, TQT_SIGNAL(clicked()), receiver, slot );
connect( this, TQ_SIGNAL(clicked()), receiver, slot );
}

@ -94,9 +94,9 @@ bool K3bDevice::Connection::open()
d->m_hwdevices = TDEGlobal::hardwareDevices();
// Connect device monitoring signals/slots
connect(d->m_hwdevices, TQT_SIGNAL(hardwareAdded(TDEGenericDevice*)), this, TQT_SLOT(AddDeviceHandler(TDEGenericDevice*)));
connect(d->m_hwdevices, TQT_SIGNAL(hardwareRemoved(TDEGenericDevice*)), this, TQT_SLOT(RemoveDeviceHandler(TDEGenericDevice*)));
connect(d->m_hwdevices, TQT_SIGNAL(hardwareUpdated(TDEGenericDevice*)), this, TQT_SLOT(ModifyDeviceHandler(TDEGenericDevice*)));
connect(d->m_hwdevices, TQ_SIGNAL(hardwareAdded(TDEGenericDevice*)), this, TQ_SLOT(AddDeviceHandler(TDEGenericDevice*)));
connect(d->m_hwdevices, TQ_SIGNAL(hardwareRemoved(TDEGenericDevice*)), this, TQ_SLOT(RemoveDeviceHandler(TDEGenericDevice*)));
connect(d->m_hwdevices, TQ_SIGNAL(hardwareUpdated(TDEGenericDevice*)), this, TQ_SLOT(ModifyDeviceHandler(TDEGenericDevice*)));
d->bOpen = true;

@ -207,12 +207,12 @@ bool K3bExternalEncoder::initEncoderInternal( const TQString& extension )
d->process->setSplitStdout(true);
d->process->setRawStdin(true);
connect( d->process, TQT_SIGNAL(processExited(TDEProcess*)),
this, TQT_SLOT(slotExternalProgramFinished(TDEProcess*)) );
connect( d->process, TQT_SIGNAL(stderrLine(const TQString&)),
this, TQT_SLOT(slotExternalProgramOutputLine(const TQString&)) );
connect( d->process, TQT_SIGNAL(stdoutLine(const TQString&)),
this, TQT_SLOT(slotExternalProgramOutputLine(const TQString&)) );
connect( d->process, TQ_SIGNAL(processExited(TDEProcess*)),
this, TQ_SLOT(slotExternalProgramFinished(TDEProcess*)) );
connect( d->process, TQ_SIGNAL(stderrLine(const TQString&)),
this, TQ_SLOT(slotExternalProgramOutputLine(const TQString&)) );
connect( d->process, TQ_SIGNAL(stdoutLine(const TQString&)),
this, TQ_SLOT(slotExternalProgramOutputLine(const TQString&)) );
// create the commandline

@ -119,14 +119,14 @@ K3bExternalEncoderSettingsWidget::K3bExternalEncoderSettingsWidget( TQWidget* pa
lay->setMargin( 0 );
lay->addWidget( w );
connect( w->m_viewEncoders, TQT_SIGNAL(selectionChanged()),
this, TQT_SLOT(slotSelectionChanged()) );
connect( w->m_buttonAdd, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotNewCommand()) );
connect( w->m_buttonEdit, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotEditCommand()) );
connect( w->m_buttonRemove, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotRemoveCommand()) );
connect( w->m_viewEncoders, TQ_SIGNAL(selectionChanged()),
this, TQ_SLOT(slotSelectionChanged()) );
connect( w->m_buttonAdd, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotNewCommand()) );
connect( w->m_buttonEdit, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotEditCommand()) );
connect( w->m_buttonRemove, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotRemoveCommand()) );
m_editDlg = new K3bExternalEncoderEditDialog( this );
}

@ -427,10 +427,10 @@ K3bLameEncoderSettingsWidget::K3bLameEncoderSettingsWidget( TQWidget* parent, co
// TODO: add whatsthis help for the quality level.
// TQString qualityLevelWhatsThis = i18n("<p>");
connect( m_w->m_buttonManualSettings, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotShowManualSettings()) );
connect( m_w->m_sliderQuality, TQT_SIGNAL(valueChanged(int)),
this, TQT_SLOT(slotQualityLevelChanged(int)) );
connect( m_w->m_buttonManualSettings, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotShowManualSettings()) );
connect( m_w->m_sliderQuality, TQ_SIGNAL(valueChanged(int)),
this, TQ_SLOT(slotQualityLevelChanged(int)) );
updateManualSettingsLabel();
slotQualityLevelChanged( 5 );

@ -455,8 +455,8 @@ K3bOggVorbisEncoderSettingsWidget::K3bOggVorbisEncoderSettingsWidget( TQWidget*
lay->addWidget( w );
connect( w->m_slideQualityLevel, TQT_SIGNAL(valueChanged(int)),
this, TQT_SLOT(slotQualityLevelChanged(int)) );
connect( w->m_slideQualityLevel, TQ_SIGNAL(valueChanged(int)),
this, TQ_SLOT(slotQualityLevelChanged(int)) );
slotQualityLevelChanged( 4 );
}

@ -182,12 +182,12 @@ bool K3bSoxEncoder::initEncoderInternal( const TQString& extension )
d->process->setSplitStdout(true);
d->process->setRawStdin(true);
connect( d->process, TQT_SIGNAL(processExited(TDEProcess*)),
this, TQT_SLOT(slotSoxFinished(TDEProcess*)) );
connect( d->process, TQT_SIGNAL(stderrLine(const TQString&)),
this, TQT_SLOT(slotSoxOutputLine(const TQString&)) );
connect( d->process, TQT_SIGNAL(stdoutLine(const TQString&)),
this, TQT_SLOT(slotSoxOutputLine(const TQString&)) );
connect( d->process, TQ_SIGNAL(processExited(TDEProcess*)),
this, TQ_SLOT(slotSoxFinished(TDEProcess*)) );
connect( d->process, TQ_SIGNAL(stderrLine(const TQString&)),
this, TQ_SLOT(slotSoxOutputLine(const TQString&)) );
connect( d->process, TQ_SIGNAL(stdoutLine(const TQString&)),
this, TQ_SLOT(slotSoxOutputLine(const TQString&)) );
// input settings
*d->process << soxBin->path

@ -112,7 +112,7 @@ K3bAudioMetainfoRenamerPluginWidget::K3bAudioMetainfoRenamerPluginWidget( K3bDoc
box->addWidget( patternGroup );
box->addWidget( filesGroup );
connect( d->scanButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotScanClicked()) );
connect( d->scanButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotScanClicked()) );
TQToolTip::add( d->scanButton, i18n("Scan for renamable files") );
TQWhatsThis::add( d->comboPattern, i18n("<qt>This specifies how the files should be renamed. "

@ -73,13 +73,13 @@ void K3bAudioProjectCddbPlugin::activate( K3bDoc* doc, TQWidget* parent )
else {
if( !m_cddb ) {
m_cddb = new K3bCddb( this );
connect( m_cddb, TQT_SIGNAL(queryFinished(int)),
this, TQT_SLOT(slotCddbQueryFinished(int)) );
connect( m_cddb, TQ_SIGNAL(queryFinished(int)),
this, TQ_SLOT(slotCddbQueryFinished(int)) );
}
if( !m_progress ) {
m_progress = new K3bProgressDialog( i18n("Query Cddb"), parent, i18n("Audio Project") );
connect( m_progress, TQT_SIGNAL(cancelClicked()),
this, TQT_SLOT(slotCancelClicked()) );
connect( m_progress, TQ_SIGNAL(cancelClicked()),
this, TQ_SLOT(slotCancelClicked()) );
}
// read the k3b config :)

@ -175,9 +175,9 @@ K3bMainWindow::K3bMainWindow()
// disable actions at startup
slotStateChanged( "state_project_active", KXMLGUIClient::StateReverse );
connect( k3bappcore->projectManager(), TQT_SIGNAL(newProject(K3bDoc*)), this, TQT_SLOT(createClient(K3bDoc*)) );
connect( k3bcore->deviceManager(), TQT_SIGNAL(changed()), this, TQT_SLOT(slotCheckSystemTimed()) );
connect( K3bAudioServer::instance(), TQT_SIGNAL(error(const TQString&)), this, TQT_SLOT(slotAudioServerError(const TQString&)) );
connect( k3bappcore->projectManager(), TQ_SIGNAL(newProject(K3bDoc*)), this, TQ_SLOT(createClient(K3bDoc*)) );
connect( k3bcore->deviceManager(), TQ_SIGNAL(changed()), this, TQ_SLOT(slotCheckSystemTimed()) );
connect( K3bAudioServer::instance(), TQ_SIGNAL(error(const TQString&)), this, TQ_SLOT(slotAudioServerError(const TQString&)) );
// FIXME: now make sure the welcome screen is displayed completely
resize( 780, 550 );
@ -211,45 +211,45 @@ void K3bMainWindow::initActions()
// see the correct solution?)
*actionCollection() += *k3bappcore->appDeviceManager()->actionCollection();
actionFileOpen = KStdAction::open(this, TQT_SLOT(slotFileOpen()), actionCollection());
actionFileOpenRecent = KStdAction::openRecent(this, TQT_SLOT(slotFileOpenRecent(const KURL&)), actionCollection());
actionFileSave = KStdAction::save(this, TQT_SLOT(slotFileSave()), actionCollection());
actionFileSaveAs = KStdAction::saveAs(this, TQT_SLOT(slotFileSaveAs()), actionCollection());
actionFileSaveAll = new TDEAction( i18n("Save All"), "save_all", 0, this, TQT_SLOT(slotFileSaveAll()),
actionFileOpen = KStdAction::open(this, TQ_SLOT(slotFileOpen()), actionCollection());
actionFileOpenRecent = KStdAction::openRecent(this, TQ_SLOT(slotFileOpenRecent(const KURL&)), actionCollection());
actionFileSave = KStdAction::save(this, TQ_SLOT(slotFileSave()), actionCollection());
actionFileSaveAs = KStdAction::saveAs(this, TQ_SLOT(slotFileSaveAs()), actionCollection());
actionFileSaveAll = new TDEAction( i18n("Save All"), "save_all", 0, this, TQ_SLOT(slotFileSaveAll()),
actionCollection(), "file_save_all" );
actionFileClose = KStdAction::close(this, TQT_SLOT(slotFileClose()), actionCollection());
actionFileCloseAll = new TDEAction( i18n("Close All"), 0, 0, this, TQT_SLOT(slotFileCloseAll()),
actionFileClose = KStdAction::close(this, TQ_SLOT(slotFileClose()), actionCollection());
actionFileCloseAll = new TDEAction( i18n("Close All"), 0, 0, this, TQ_SLOT(slotFileCloseAll()),
actionCollection(), "file_close_all" );
actionFileQuit = KStdAction::quit(this, TQT_SLOT(slotFileQuit()), actionCollection());
actionViewStatusBar = KStdAction::showStatusbar(this, TQT_SLOT(slotViewStatusBar()), actionCollection());
actionSettingsConfigure = KStdAction::preferences(this, TQT_SLOT(slotSettingsConfigure()), actionCollection() );
actionFileQuit = KStdAction::quit(this, TQ_SLOT(slotFileQuit()), actionCollection());
actionViewStatusBar = KStdAction::showStatusbar(this, TQ_SLOT(slotViewStatusBar()), actionCollection());
actionSettingsConfigure = KStdAction::preferences(this, TQ_SLOT(slotSettingsConfigure()), actionCollection() );
// the tip action
(void)KStdAction::tipOfDay(this, TQT_SLOT(slotShowTips()), actionCollection() );
(void)KStdAction::keyBindings( this, TQT_SLOT( slotConfigureKeys() ), actionCollection() );
(void)KStdAction::tipOfDay(this, TQ_SLOT(slotShowTips()), actionCollection() );
(void)KStdAction::keyBindings( this, TQ_SLOT( slotConfigureKeys() ), actionCollection() );
KStdAction::configureToolbars(this, TQT_SLOT(slotEditToolbars()), actionCollection());
KStdAction::configureToolbars(this, TQ_SLOT(slotEditToolbars()), actionCollection());
setStandardToolBarMenuEnabled(true);
KStdAction::showMenubar( this, TQT_SLOT(slotShowMenuBar()), actionCollection() );
KStdAction::showMenubar( this, TQ_SLOT(slotShowMenuBar()), actionCollection() );
actionFileNewMenu = new TDEActionMenu( i18n("&New Project"), "document-new", actionCollection(), "file_new" );
actionFileNewAudio = new TDEAction(i18n("New &Audio CD Project"), "audiocd", 0, this, TQT_SLOT(slotNewAudioDoc()),
actionFileNewAudio = new TDEAction(i18n("New &Audio CD Project"), "audiocd", 0, this, TQ_SLOT(slotNewAudioDoc()),
actionCollection(), "file_new_audio");
actionFileNewData = new TDEAction(i18n("New Data &CD Project"), "datacd", 0, this, TQT_SLOT(slotNewDataDoc()),
actionFileNewData = new TDEAction(i18n("New Data &CD Project"), "datacd", 0, this, TQ_SLOT(slotNewDataDoc()),
actionCollection(), "file_new_data");
actionFileNewMixed = new TDEAction(i18n("New &Mixed Mode CD Project"), "mixedcd", 0, this, TQT_SLOT(slotNewMixedDoc()),
actionFileNewMixed = new TDEAction(i18n("New &Mixed Mode CD Project"), "mixedcd", 0, this, TQ_SLOT(slotNewMixedDoc()),
actionCollection(), "file_new_mixed");
actionFileNewVcd = new TDEAction(i18n("New &Video CD Project"), "videocd", 0, this, TQT_SLOT(slotNewVcdDoc()),
actionFileNewVcd = new TDEAction(i18n("New &Video CD Project"), "videocd", 0, this, TQ_SLOT(slotNewVcdDoc()),
actionCollection(), "file_new_vcd");
actionFileNewMovix = new TDEAction(i18n("New &eMovix CD Project"), "emovix", 0, this, TQT_SLOT(slotNewMovixDoc()),
actionFileNewMovix = new TDEAction(i18n("New &eMovix CD Project"), "emovix", 0, this, TQ_SLOT(slotNewMovixDoc()),
actionCollection(), "file_new_movix");
actionFileNewMovixDvd = new TDEAction(i18n("New &eMovix DVD Project"), "emovix", 0, this, TQT_SLOT(slotNewMovixDvdDoc()),
actionFileNewMovixDvd = new TDEAction(i18n("New &eMovix DVD Project"), "emovix", 0, this, TQ_SLOT(slotNewMovixDvdDoc()),
actionCollection(), "file_new_movix_dvd");
actionFileNewDvd = new TDEAction(i18n("New Data &DVD Project"), "datadvd", 0, this, TQT_SLOT(slotNewDvdDoc()),
actionFileNewDvd = new TDEAction(i18n("New Data &DVD Project"), "datadvd", 0, this, TQ_SLOT(slotNewDvdDoc()),
actionCollection(), "file_new_dvd");
actionFileNewVideoDvd = new TDEAction(i18n("New V&ideo DVD Project"), "videodvd", 0, this, TQT_SLOT(slotNewVideoDvdDoc()),
actionFileNewVideoDvd = new TDEAction(i18n("New V&ideo DVD Project"), "videodvd", 0, this, TQ_SLOT(slotNewVideoDvdDoc()),
actionCollection(), "file_new_video_dvd");
actionFileContinueMultisession = new TDEAction( i18n("Continue Multisession Project"), "datacd", 0, this, TQT_SLOT(slotContinueMultisession()),
actionFileContinueMultisession = new TDEAction( i18n("Continue Multisession Project"), "datacd", 0, this, TQ_SLOT(slotContinueMultisession()),
actionCollection(), "file_continue_multisession" );
actionFileNewMenu->setDelayed( false );
@ -271,54 +271,54 @@ void K3bMainWindow::initActions()
actionProjectAddFiles = new TDEAction( i18n("&Add Files..."), "document-new", 0, this, TQT_SLOT(slotProjectAddFiles()),
actionProjectAddFiles = new TDEAction( i18n("&Add Files..."), "document-new", 0, this, TQ_SLOT(slotProjectAddFiles()),
actionCollection(), "project_add_files");
TDEAction* actionClearProject = new TDEAction( i18n("&Clear Project"), TQApplication::reverseLayout() ? "clear_left" : "locationbar_erase", 0,
this, TQT_SLOT(slotClearProject()), actionCollection(), "project_clear_project" );
this, TQ_SLOT(slotClearProject()), actionCollection(), "project_clear_project" );
actionViewDirTreeView = new TDEToggleAction(i18n("Show Directories"), 0, this, TQT_SLOT(slotShowDirTreeView()),
actionViewDirTreeView = new TDEToggleAction(i18n("Show Directories"), 0, this, TQ_SLOT(slotShowDirTreeView()),
actionCollection(), "view_dir_tree");
actionViewContentsView = new TDEToggleAction(i18n("Show Contents"), 0, this, TQT_SLOT(slotShowContentsView()),
actionViewContentsView = new TDEToggleAction(i18n("Show Contents"), 0, this, TQ_SLOT(slotShowContentsView()),
actionCollection(), "view_contents");
actionViewDocumentHeader = new TDEToggleAction(i18n("Show Document Header"), 0, this, TQT_SLOT(slotViewDocumentHeader()),
actionViewDocumentHeader = new TDEToggleAction(i18n("Show Document Header"), 0, this, TQ_SLOT(slotViewDocumentHeader()),
actionCollection(), "view_document_header");
actionToolsBlankCdrw = new TDEAction( i18n("&Erase CD-RW..."), "erasecd", 0, this, TQT_SLOT(slotBlankCdrw()),
actionToolsBlankCdrw = new TDEAction( i18n("&Erase CD-RW..."), "erasecd", 0, this, TQ_SLOT(slotBlankCdrw()),
actionCollection(), "tools_blank_cdrw" );
TDEAction* actionToolsFormatDVD = new TDEAction( i18n("&Format DVD%1RW...").arg("±"), "formatdvd", 0, this,
TQT_SLOT(slotFormatDvd()), actionCollection(), "tools_format_dvd" );
actionToolsWriteCdImage = new TDEAction(i18n("&Burn CD Image..."), "burn_cdimage", 0, this, TQT_SLOT(slotWriteCdImage()),
TQ_SLOT(slotFormatDvd()), actionCollection(), "tools_format_dvd" );
actionToolsWriteCdImage = new TDEAction(i18n("&Burn CD Image..."), "burn_cdimage", 0, this, TQ_SLOT(slotWriteCdImage()),
actionCollection(), "tools_write_cd_image" );
TDEAction* actionToolsWriteDvdImage = new TDEAction(i18n("&Burn DVD ISO Image..."), "burn_dvdimage", 0, this, TQT_SLOT(slotWriteDvdIsoImage()),
TDEAction* actionToolsWriteDvdImage = new TDEAction(i18n("&Burn DVD ISO Image..."), "burn_dvdimage", 0, this, TQ_SLOT(slotWriteDvdIsoImage()),
actionCollection(), "tools_write_dvd_iso" );
actionCdCopy = new TDEAction(i18n("&Copy CD..."), "cdcopy", 0, this, TQT_SLOT(slotCdCopy()),
actionCdCopy = new TDEAction(i18n("&Copy CD..."), "cdcopy", 0, this, TQ_SLOT(slotCdCopy()),
actionCollection(), "tools_copy_cd" );
TDEAction* actionToolsDvdCopy = new TDEAction(i18n("Copy &DVD..."), "dvdcopy", 0, this, TQT_SLOT(slotDvdCopy()),
TDEAction* actionToolsDvdCopy = new TDEAction(i18n("Copy &DVD..."), "dvdcopy", 0, this, TQ_SLOT(slotDvdCopy()),
actionCollection(), "tools_copy_dvd" );
actionToolsCddaRip = new TDEAction( i18n("Rip Audio CD..."), "cddarip", 0, this, TQT_SLOT(slotCddaRip()),
actionToolsCddaRip = new TDEAction( i18n("Rip Audio CD..."), "cddarip", 0, this, TQ_SLOT(slotCddaRip()),
actionCollection(), "tools_cdda_rip" );
actionToolsVideoDvdRip = new TDEAction( i18n("Rip Video DVD..."), "videodvd", 0, this, TQT_SLOT(slotVideoDvdRip()),
actionToolsVideoDvdRip = new TDEAction( i18n("Rip Video DVD..."), "videodvd", 0, this, TQ_SLOT(slotVideoDvdRip()),
actionCollection(), "tools_videodvd_rip" );
actionToolsVideoCdRip = new TDEAction( i18n("Rip Video CD..."), "videocd", 0, this, TQT_SLOT(slotVideoCdRip()),
actionToolsVideoCdRip = new TDEAction( i18n("Rip Video CD..."), "videocd", 0, this, TQ_SLOT(slotVideoCdRip()),
actionCollection(), "tools_videocd_rip" );
(void)new TDEAction( i18n("System Check"), 0, 0, this, TQT_SLOT(slotCheckSystem()),
(void)new TDEAction( i18n("System Check"), 0, 0, this, TQ_SLOT(slotCheckSystem()),
actionCollection(), "help_check_system" );
#ifdef HAVE_K3BSETUP
actionSettingsK3bSetup = new TDEAction(i18n("&Setup System Permissions..."), "configure", 0, this, TQT_SLOT(slotK3bSetup()),
actionSettingsK3bSetup = new TDEAction(i18n("&Setup System Permissions..."), "configure", 0, this, TQ_SLOT(slotK3bSetup()),
actionCollection(), "settings_k3bsetup" );
#endif
#ifdef K3B_DEBUG
(void)new TDEAction( "Test Media Selection ComboBox", 0, 0, this,
TQT_SLOT(slotMediaSelectionTester()), actionCollection(),
TQ_SLOT(slotMediaSelectionTester()), actionCollection(),
"test_media_selection" );
#endif
@ -408,7 +408,7 @@ void K3bMainWindow::initView()
documentHullLayout->addWidget( m_documentHeader, 0, 0 );
documentHullLayout->addWidget( m_documentTab, 1, 0 );
connect( m_documentTab, TQT_SIGNAL(currentChanged(TQWidget*)), this, TQT_SLOT(slotCurrentDocChanged()) );
connect( m_documentTab, TQ_SIGNAL(currentChanged(TQWidget*)), this, TQ_SLOT(slotCurrentDocChanged()) );
d->welcomeWidget = new K3bWelcomeWidget( this, m_documentTab );
m_documentTab->addTab( d->welcomeWidget, i18n("Quickstart") );
@ -427,8 +427,8 @@ void K3bMainWindow::initView()
m_dirTreeDock->setWidget( sidePanel );
m_dirTreeDock->manualDock( mainDock, KDockWidget::DockTop, 4000 );
connect( m_dirTreeDock, TQT_SIGNAL(iMBeingClosed()), this, TQT_SLOT(slotDirTreeDockHidden()) );
connect( m_dirTreeDock, TQT_SIGNAL(hasUndocked()), this, TQT_SLOT(slotDirTreeDockHidden()) );
connect( m_dirTreeDock, TQ_SIGNAL(iMBeingClosed()), this, TQ_SLOT(slotDirTreeDockHidden()) );
connect( m_dirTreeDock, TQ_SIGNAL(hasUndocked()), this, TQ_SLOT(slotDirTreeDockHidden()) );
// ---------------------------------------------------------------------------------------------
// --- Contents Dock ---------------------------------------------------------------------------
@ -439,24 +439,24 @@ void K3bMainWindow::initView()
m_contentsDock->setWidget( m_dirView );
m_contentsDock->manualDock( m_dirTreeDock, KDockWidget::DockRight, 2000 );
connect( m_contentsDock, TQT_SIGNAL(iMBeingClosed()), this, TQT_SLOT(slotContentsDockHidden()) );
connect( m_contentsDock, TQT_SIGNAL(hasUndocked()), this, TQT_SLOT(slotContentsDockHidden()) );
connect( m_contentsDock, TQ_SIGNAL(iMBeingClosed()), this, TQ_SLOT(slotContentsDockHidden()) );
connect( m_contentsDock, TQ_SIGNAL(hasUndocked()), this, TQ_SLOT(slotContentsDockHidden()) );
// ---------------------------------------------------------------------------------------------
// --- filetreecombobox-toolbar ----------------------------------------------------------------
K3bFileTreeComboBox* m_fileTreeComboBox = new K3bFileTreeComboBox( 0 );
connect( m_fileTreeComboBox, TQT_SIGNAL(urlExecuted(const KURL&)), m_dirView, TQT_SLOT(showUrl(const KURL& )) );
connect( m_fileTreeComboBox, TQT_SIGNAL(deviceExecuted(K3bDevice::Device*)), m_dirView,
TQT_SLOT(showDevice(K3bDevice::Device* )) );
connect( m_dirView, TQT_SIGNAL(urlEntered(const KURL&)), m_fileTreeComboBox, TQT_SLOT(setUrl(const KURL&)) );
connect( m_dirView, TQT_SIGNAL(deviceSelected(K3bDevice::Device*)), m_fileTreeComboBox, TQT_SLOT(setDevice(K3bDevice::Device*)) );
connect( m_fileTreeComboBox, TQ_SIGNAL(urlExecuted(const KURL&)), m_dirView, TQ_SLOT(showUrl(const KURL& )) );
connect( m_fileTreeComboBox, TQ_SIGNAL(deviceExecuted(K3bDevice::Device*)), m_dirView,
TQ_SLOT(showDevice(K3bDevice::Device* )) );
connect( m_dirView, TQ_SIGNAL(urlEntered(const KURL&)), m_fileTreeComboBox, TQ_SLOT(setUrl(const KURL&)) );
connect( m_dirView, TQ_SIGNAL(deviceSelected(K3bDevice::Device*)), m_fileTreeComboBox, TQ_SLOT(setDevice(K3bDevice::Device*)) );
KWidgetAction* fileTreeComboAction = new KWidgetAction( m_fileTreeComboBox,
i18n("&Quick Dir Selector"),
0, 0, 0,
actionCollection(), "quick_dir_selector" );
fileTreeComboAction->setAutoSized(true);
(void)new TDEAction( i18n("Go"), "key_enter", 0, m_fileTreeComboBox, TQT_SLOT(slotGoUrl()), actionCollection(), "go_url" );
(void)new TDEAction( i18n("Go"), "key_enter", 0, m_fileTreeComboBox, TQ_SLOT(slotGoUrl()), actionCollection(), "go_url" );
// ---------------------------------------------------------------------------------------------
}
@ -851,7 +851,7 @@ bool K3bMainWindow::queryExit()
/////////////////////////////////////////////////////////////////////
// TQT_SLOT IMPLEMENTATION
// TQ_SLOT IMPLEMENTATION
/////////////////////////////////////////////////////////////////////
@ -1202,7 +1202,7 @@ void K3bMainWindow::slotEditToolbars()
{
saveMainWindowSettings( m_config, "main_window_settings" );
KEditToolbar dlg( factory() );
connect(&dlg, TQT_SIGNAL(newToolbarConfig()), TQT_SLOT(slotNewToolBarConfig()));
connect(&dlg, TQ_SIGNAL(newToolbarConfig()), TQ_SLOT(slotNewToolBarConfig()));
dlg.exec();
}
@ -1468,7 +1468,7 @@ void K3bMainWindow::slotCheckSystemTimed()
// run the system check from the event queue so we do not
// mess with the device state resetting throughout the app
// when called from K3bDeviceManager::changed
TQTimer::singleShot( 0, this, TQT_SLOT(slotCheckSystem()) );
TQTimer::singleShot( 0, this, TQ_SLOT(slotCheckSystem()) );
}

@ -42,21 +42,21 @@ K3bAppDeviceManager::K3bAppDeviceManager( TQObject* parent, const char* name )
// setup actions
TDEActionMenu* devicePopupMenu = new TDEActionMenu( m_actionCollection, "device_popup" );
m_actionDiskInfo = new TDEAction( i18n("Media &Info"), "application-vnd.tde.info", 0, this, TQT_SLOT(diskInfo()),
m_actionDiskInfo = new TDEAction( i18n("Media &Info"), "application-vnd.tde.info", 0, this, TQ_SLOT(diskInfo()),
m_actionCollection, "device_diskinfo");
m_actionUnmount = new TDEAction( i18n("&Unmount"), "media-optical-cdrom-unmounted", 0, this, TQT_SLOT(unmountDisk()),
m_actionUnmount = new TDEAction( i18n("&Unmount"), "media-optical-cdrom-unmounted", 0, this, TQ_SLOT(unmountDisk()),
m_actionCollection, "device_unmount");
m_actionMount = new TDEAction( i18n("&Mount"), "media-optical-cdrom-mounted", 0, this, TQT_SLOT(mountDisk()),
m_actionMount = new TDEAction( i18n("&Mount"), "media-optical-cdrom-mounted", 0, this, TQ_SLOT(mountDisk()),
m_actionCollection, "device_mount");
m_actionEject = new TDEAction( i18n("&Eject"), "", 0, this, TQT_SLOT(ejectDisk()),
m_actionEject = new TDEAction( i18n("&Eject"), "", 0, this, TQ_SLOT(ejectDisk()),
m_actionCollection, "device_eject");
m_actionLoad = new TDEAction( i18n("L&oad"), "", 0, this, TQT_SLOT(loadDisk()),
m_actionLoad = new TDEAction( i18n("L&oad"), "", 0, this, TQ_SLOT(loadDisk()),
m_actionCollection, "device_load");
// TDEAction* actionUnlock = new TDEAction( i18n("Un&lock"), "", 0, this, TQT_SLOT(unlockDevice()),
// TDEAction* actionUnlock = new TDEAction( i18n("Un&lock"), "", 0, this, TQ_SLOT(unlockDevice()),
// m_actionCollection, "device_unlock" );
// TDEAction* actionlock = new TDEAction( i18n("Loc&k"), "", 0, this, TQT_SLOT(lockDevice()),
// TDEAction* actionlock = new TDEAction( i18n("Loc&k"), "", 0, this, TQ_SLOT(lockDevice()),
// m_actionCollection, "device_lock" );
m_actionSetReadSpeed = new TDEAction( i18n("Set Read Speed..."), "", 0, this, TQT_SLOT(setReadSpeed()),
m_actionSetReadSpeed = new TDEAction( i18n("Set Read Speed..."), "", 0, this, TQ_SLOT(setReadSpeed()),
m_actionCollection, "device_set_read_speed" );
m_actionDiskInfo->setToolTip( i18n("Display generic medium information") );
@ -85,8 +85,8 @@ K3bAppDeviceManager::K3bAppDeviceManager( TQObject* parent, const char* name )
void K3bAppDeviceManager::setMediaCache( K3bMediaCache* c )
{
connect( c, TQT_SIGNAL(mediumChanged(K3bDevice::Device*)),
this, TQT_SLOT(slotMediumChanged(K3bDevice::Device*)) );
connect( c, TQ_SIGNAL(mediumChanged(K3bDevice::Device*)),
this, TQ_SLOT(slotMediumChanged(K3bDevice::Device*)) );
}

@ -78,10 +78,10 @@ K3bApplication::K3bApplication()
// from this point on available through K3bAudioServer::instance()
m_audioServer = new K3bAudioServer( this, "K3bAudioServer" );
connect( m_core, TQT_SIGNAL(initializationInfo(const TQString&)),
TQT_SIGNAL(initializationInfo(const TQString&)) );
connect( m_core, TQ_SIGNAL(initializationInfo(const TQString&)),
TQ_SIGNAL(initializationInfo(const TQString&)) );
connect( this, TQT_SIGNAL(shutDown()), TQT_SLOT(slotShutDown()) );
connect( this, TQ_SIGNAL(shutDown()), TQ_SLOT(slotShutDown()) );
}
@ -104,10 +104,10 @@ void K3bApplication::init()
m_core->m_themeManager->readConfig( config() );
splash = new K3bSplash( 0 );
splash->connect( this, TQT_SIGNAL(initializationInfo(const TQString&)), TQT_SLOT(addInfo(const TQString&)) );
splash->connect( this, TQ_SIGNAL(initializationInfo(const TQString&)), TQ_SLOT(addInfo(const TQString&)) );
// kill the splash after 5 seconds
TQTimer::singleShot( 5000, splash, TQT_SLOT(close()) );
TQTimer::singleShot( 5000, splash, TQ_SLOT(close()) );
splash->show();
tqApp->processEvents();
@ -382,8 +382,8 @@ void K3bApplication::Core::init()
mediaCache()->buildDeviceList( deviceManager() );
connect( deviceManager(), TQT_SIGNAL(changed(K3bDevice::DeviceManager*)),
mediaCache(), TQT_SLOT(buildDeviceList(K3bDevice::DeviceManager*)) );
connect( deviceManager(), TQ_SIGNAL(changed(K3bDevice::DeviceManager*)),
mediaCache(), TQ_SLOT(buildDeviceList(K3bDevice::DeviceManager*)) );
}

@ -223,10 +223,10 @@ K3bAudioPlayer::K3bAudioPlayer( TQWidget* parent, const char* name )
// actions
// ------------------------------------------------------------------------
m_actionRemove = new TDEAction( i18n( "Remove" ), "edit-delete",
Key_Delete, this, TQT_SLOT(slotRemoveSelected()),
Key_Delete, this, TQ_SLOT(slotRemoveSelected()),
this, "audioplayer_remove" );
m_actionClear = new TDEAction( i18n( "Clear List" ), "edit-clear",
0, this, TQT_SLOT(clear()),
0, this, TQ_SLOT(clear()),
this, "audioplayer_clear" );
m_contextMenu = new TDEActionMenu( this, "audio_player_menu" );
@ -237,26 +237,26 @@ K3bAudioPlayer::K3bAudioPlayer( TQWidget* parent, const char* name )
// connections
// ------------------------------------------------------------------------
connect( m_viewPlayList, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
this, TQT_SLOT(slotShowContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
connect( m_viewPlayList, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
this, TQ_SLOT(slotShowContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
connect( m_buttonPlay, TQT_SIGNAL(clicked()), this, TQT_SLOT(play()) );
connect( m_buttonStop, TQT_SIGNAL(clicked()), this, TQT_SLOT(stop()) );
connect( m_buttonPause, TQT_SIGNAL(clicked()), this, TQT_SLOT(pause()) );
connect( m_buttonPlay, TQ_SIGNAL(clicked()), this, TQ_SLOT(play()) );
connect( m_buttonStop, TQ_SIGNAL(clicked()), this, TQ_SLOT(stop()) );
connect( m_buttonPause, TQ_SIGNAL(clicked()), this, TQ_SLOT(pause()) );
connect( m_buttonForward, TQT_SIGNAL(clicked()), this, TQT_SLOT(forward()) );
connect( m_buttonBack, TQT_SIGNAL(clicked()), this, TQT_SLOT(back()) );
connect( m_buttonForward, TQ_SIGNAL(clicked()), this, TQ_SLOT(forward()) );
connect( m_buttonBack, TQ_SIGNAL(clicked()), this, TQ_SLOT(back()) );
connect( m_seekSlider, TQT_SIGNAL(sliderMoved(int)), this, TQT_SLOT(seek(int)) );
connect( m_seekSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotUpdateCurrentTime(int)) );
connect( m_seekSlider, TQ_SIGNAL(sliderMoved(int)), this, TQ_SLOT(seek(int)) );
connect( m_seekSlider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotUpdateCurrentTime(int)) );
connect( m_updateTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotUpdateDisplay()) );
connect( m_updateTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotCheckEnd()) );
connect( m_updateTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotUpdateDisplay()) );
connect( m_updateTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotCheckEnd()) );
connect( m_viewPlayList, TQT_SIGNAL(doubleClicked(TQListViewItem*)),
this, TQT_SLOT(slotPlayItem(TQListViewItem*)) );
connect( m_viewPlayList, TQT_SIGNAL(dropped(TQDropEvent*,TQListViewItem*)),
this, TQT_SLOT(slotDropped(TQDropEvent*,TQListViewItem*)) );
connect( m_viewPlayList, TQ_SIGNAL(doubleClicked(TQListViewItem*)),
this, TQ_SLOT(slotPlayItem(TQListViewItem*)) );
connect( m_viewPlayList, TQ_SIGNAL(dropped(TQDropEvent*,TQListViewItem*)),
this, TQ_SLOT(slotDropped(TQDropEvent*,TQListViewItem*)) );
// ------------------------------------------------------------------------

@ -83,12 +83,12 @@ void K3bBurnProgressDialog::setBurnJob( K3bBurnJob* burnJob )
K3bJobProgressDialog::setJob(burnJob);
if( burnJob ) {
connect( burnJob, TQT_SIGNAL(bufferStatus(int)), this, TQT_SLOT(slotBufferStatus(int)) );
connect( burnJob, TQT_SIGNAL(deviceBuffer(int)), this, TQT_SLOT(slotDeviceBuffer(int)) );
connect( burnJob, TQT_SIGNAL(writeSpeed(int, int)), this, TQT_SLOT(slotWriteSpeed(int, int)) );
connect( burnJob, TQT_SIGNAL(burning(bool)), m_progressWritingBuffer, TQT_SLOT(setEnabled(bool)) );
connect( burnJob, TQT_SIGNAL(burning(bool)), m_progressDeviceBuffer, TQT_SLOT(setEnabled(bool)) );
connect( burnJob, TQT_SIGNAL(burning(bool)), m_labelWritingSpeed, TQT_SLOT(setEnabled(bool)) );
connect( burnJob, TQ_SIGNAL(bufferStatus(int)), this, TQ_SLOT(slotBufferStatus(int)) );
connect( burnJob, TQ_SIGNAL(deviceBuffer(int)), this, TQ_SLOT(slotDeviceBuffer(int)) );
connect( burnJob, TQ_SIGNAL(writeSpeed(int, int)), this, TQ_SLOT(slotWriteSpeed(int, int)) );
connect( burnJob, TQ_SIGNAL(burning(bool)), m_progressWritingBuffer, TQ_SLOT(setEnabled(bool)) );
connect( burnJob, TQ_SIGNAL(burning(bool)), m_progressDeviceBuffer, TQ_SLOT(setEnabled(bool)) );
connect( burnJob, TQ_SIGNAL(burning(bool)), m_labelWritingSpeed, TQ_SLOT(setEnabled(bool)) );
if( burnJob->writer() )
m_labelWriter->setText( i18n("Writer: %1 %2").arg(burnJob->writer()->vendor()).

@ -53,7 +53,7 @@ K3bDirOperator::K3bDirOperator(const KURL& url, TQWidget* parent, const char* na
m_bmMenu = new KBookmarkMenu( bmMan, this, m_bmPopup->popupMenu(), actionCollection(), true );
(void)new TDEAction( i18n("&Add to Project"), SHIFT+Key_Return,
this, TQT_SLOT(slotAddFilesToProject()),
this, TQ_SLOT(slotAddFilesToProject()),
actionCollection(), "add_file_to_project");
}

@ -135,24 +135,24 @@ K3bDirView::K3bDirView(K3bFileTreeView* treeView, TQWidget *parent, const char *
m_mainSplitter->setSizes( sizes );
}
connect( m_fileTreeView, TQT_SIGNAL(urlExecuted(const KURL&)),
this, TQT_SLOT(slotDirActivated(const KURL&)) );
connect( m_fileTreeView, TQT_SIGNAL(deviceExecuted(K3bDevice::Device*)),
this, TQT_SLOT(showDevice(K3bDevice::Device*)) );
connect( m_fileTreeView, TQT_SIGNAL(deviceExecuted(K3bDevice::Device*)),
this, TQT_SIGNAL(deviceSelected(K3bDevice::Device*)) );
connect( m_fileTreeView, TQT_SIGNAL(contextMenu(K3bDevice::Device*, const TQPoint&)),
this, TQT_SLOT(slotFileTreeContextMenu(K3bDevice::Device*, const TQPoint&)) );
connect( m_fileView, TQT_SIGNAL(urlEntered(const KURL&)), m_fileTreeView, TQT_SLOT(followUrl(const KURL&)) );
connect( m_fileView, TQT_SIGNAL(urlEntered(const KURL&)), this, TQT_SIGNAL(urlEntered(const KURL&)) );
connect( k3bappcore->appDeviceManager(), TQT_SIGNAL(mountFinished(const TQString&)),
this, TQT_SLOT(slotMountFinished(const TQString&)) );
connect( k3bappcore->appDeviceManager(), TQT_SIGNAL(unmountFinished(bool)),
this, TQT_SLOT(slotUnmountFinished(bool)) );
connect( k3bappcore->appDeviceManager(), TQT_SIGNAL(detectingDiskInfo(K3bDevice::Device*)),
this, TQT_SLOT(slotDetectingDiskInfo(K3bDevice::Device*)) );
connect( m_fileTreeView, TQ_SIGNAL(urlExecuted(const KURL&)),
this, TQ_SLOT(slotDirActivated(const KURL&)) );
connect( m_fileTreeView, TQ_SIGNAL(deviceExecuted(K3bDevice::Device*)),
this, TQ_SLOT(showDevice(K3bDevice::Device*)) );
connect( m_fileTreeView, TQ_SIGNAL(deviceExecuted(K3bDevice::Device*)),
this, TQ_SIGNAL(deviceSelected(K3bDevice::Device*)) );
connect( m_fileTreeView, TQ_SIGNAL(contextMenu(K3bDevice::Device*, const TQPoint&)),
this, TQ_SLOT(slotFileTreeContextMenu(K3bDevice::Device*, const TQPoint&)) );
connect( m_fileView, TQ_SIGNAL(urlEntered(const KURL&)), m_fileTreeView, TQ_SLOT(followUrl(const KURL&)) );
connect( m_fileView, TQ_SIGNAL(urlEntered(const KURL&)), this, TQ_SIGNAL(urlEntered(const KURL&)) );
connect( k3bappcore->appDeviceManager(), TQ_SIGNAL(mountFinished(const TQString&)),
this, TQ_SLOT(slotMountFinished(const TQString&)) );
connect( k3bappcore->appDeviceManager(), TQ_SIGNAL(unmountFinished(bool)),
this, TQ_SLOT(slotUnmountFinished(bool)) );
connect( k3bappcore->appDeviceManager(), TQ_SIGNAL(detectingDiskInfo(K3bDevice::Device*)),
this, TQ_SLOT(slotDetectingDiskInfo(K3bDevice::Device*)) );
}
K3bDirView::~K3bDirView()

@ -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 );

@ -73,13 +73,13 @@ K3bFileTreeComboBox::K3bFileTreeComboBox( TQWidget* parent, const char* name )
// HACK! Why the hell is TQComboBox that closed???
listBox()->insertItem( "HACK" );
connect( m_fileTreeView, TQT_SIGNAL(deviceExecuted(K3bDevice::Device*)),
this, TQT_SLOT(slotDeviceExecuted(K3bDevice::Device*)) );
connect( m_fileTreeView, TQT_SIGNAL(urlExecuted(const KURL&)),
this, TQT_SLOT(slotUrlExecuted(const KURL&)) );
connect( m_fileTreeView, TQ_SIGNAL(deviceExecuted(K3bDevice::Device*)),
this, TQ_SLOT(slotDeviceExecuted(K3bDevice::Device*)) );
connect( m_fileTreeView, TQ_SIGNAL(urlExecuted(const KURL&)),
this, TQ_SLOT(slotUrlExecuted(const KURL&)) );
connect( lineEdit(), TQT_SIGNAL(returnPressed()),
this, TQT_SLOT(slotGoUrl()) );
connect( lineEdit(), TQ_SIGNAL(returnPressed()),
this, TQ_SLOT(slotGoUrl()) );
// TODO: subclass KURLCompletition to support the dev:/ stuff and block any non-local urls
}

@ -67,8 +67,8 @@ K3bDeviceBranch::K3bDeviceBranch( KFileTreeView* view, K3bDevice::Device* dev, K
root()->setExpandable(false);
updateLabel();
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*)) );
}
@ -413,15 +413,15 @@ K3bFileTreeView::K3bFileTreeView( TQWidget *parent, const char *name )
m_dirOnlyMode = true;
m_menuEnabled = false;
connect( this, TQT_SIGNAL(executed(TQListViewItem*)), this, TQT_SLOT(slotItemExecuted(TQListViewItem*)) );
connect( this, TQT_SIGNAL(returnPressed(TQListViewItem*)), this, TQT_SLOT(slotItemExecuted(TQListViewItem*)) );
connect( this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem* , const TQPoint& )),
this, TQT_SLOT(slotContextMenu(TDEListView*, TQListViewItem* , const TQPoint& )) );
connect( this, TQ_SIGNAL(executed(TQListViewItem*)), this, TQ_SLOT(slotItemExecuted(TQListViewItem*)) );
connect( this, TQ_SIGNAL(returnPressed(TQListViewItem*)), this, TQ_SLOT(slotItemExecuted(TQListViewItem*)) );
connect( this, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem* , const TQPoint& )),
this, TQ_SLOT(slotContextMenu(TDEListView*, TQListViewItem* , const TQPoint& )) );
// we always simulate the single click
slotSettingsChangedK3b(TDEApplication::SETTINGS_MOUSE);
if( kapp )
connect( kapp, TQT_SIGNAL(settingsChanged(int)), TQT_SLOT(slotSettingsChangedK3b(int)) );
connect( kapp, TQ_SIGNAL(settingsChanged(int)), TQ_SLOT(slotSettingsChangedK3b(int)) );
initActions();
}
@ -449,11 +449,11 @@ void K3bFileTreeView::initActions()
// m_devicePopupMenu = new TDEActionMenu( m_actionCollection, "device_popup_menu" );
// m_urlPopupMenu = new TDEActionMenu( m_actionCollection, "url_popup_menu" );
// TDEAction* actionDiskInfo = new TDEAction( i18n("&Disk Info"), "application-vnd.tde.info", 0, this, TQT_SLOT(slotShowDiskInfo()),
// TDEAction* actionDiskInfo = new TDEAction( i18n("&Disk Info"), "application-vnd.tde.info", 0, this, TQ_SLOT(slotShowDiskInfo()),
// m_actionCollection, "disk_info");
// TDEAction* actionUnmount = new TDEAction( i18n("&Unmount"), "media-optical-cdrom-unmounted", 0, this, TQT_SLOT(slotUnmountDisk()),
// TDEAction* actionUnmount = new TDEAction( i18n("&Unmount"), "media-optical-cdrom-unmounted", 0, this, TQ_SLOT(slotUnmountDisk()),
// m_actionCollection, "disk_unmount");
// TDEAction* actionEject = new TDEAction( i18n("&Eject"), "", 0, this, TQT_SLOT(slotEjectDisk()),
// TDEAction* actionEject = new TDEAction( i18n("&Eject"), "", 0, this, TQ_SLOT(slotEjectDisk()),
// m_actionCollection, "disk_eject");
// m_devicePopupMenu->insert( actionDiskInfo );
@ -498,12 +498,12 @@ void K3bFileTreeView::addCdDeviceBranches( K3bDevice::DeviceManager* dm )
d->deviceManager = dm;
// make sure we get changes to the config
connect( dm, TQT_SIGNAL(changed(K3bDevice::DeviceManager*)),
this, TQT_SLOT(addCdDeviceBranches(K3bDevice::DeviceManager*)) );
connect( dm, TQ_SIGNAL(changed(K3bDevice::DeviceManager*)),
this, TQ_SLOT(addCdDeviceBranches(K3bDevice::DeviceManager*)) );
if( K3bAppDeviceManager* appDevM = dynamic_cast<K3bAppDeviceManager*>( dm ) )
connect( appDevM, TQT_SIGNAL(currentDeviceChanged(K3bDevice::Device*)),
this, TQT_SLOT(setCurrentDevice(K3bDevice::Device*)) );
connect( appDevM, TQ_SIGNAL(currentDeviceChanged(K3bDevice::Device*)),
this, TQ_SLOT(setCurrentDevice(K3bDevice::Device*)) );
}
K3bDevice::Device* currentDevice = k3bappcore->appDeviceManager()->currentDevice();
@ -693,12 +693,12 @@ void K3bFileTreeView::slotSettingsChangedK3b(int category)
// we force single click like konqueror does. This really should be done in KFileTreeView
if( category == TDEApplication::SETTINGS_MOUSE ) {
disconnect(this, TQT_SIGNAL(mouseButtonClicked(int, TQListViewItem*, const TQPoint &, int)),
this, TQT_SLOT(slotMouseButtonClickedK3b(int, TQListViewItem*, const TQPoint &, int)));
disconnect(this, TQ_SIGNAL(mouseButtonClicked(int, TQListViewItem*, const TQPoint &, int)),
this, TQ_SLOT(slotMouseButtonClickedK3b(int, TQListViewItem*, const TQPoint &, int)));
if( !TDEGlobalSettings::singleClick() )
connect(this, TQT_SIGNAL(mouseButtonClicked(int, TQListViewItem*, const TQPoint &, int)),
this, TQT_SLOT(slotMouseButtonClickedK3b(int, TQListViewItem*, const TQPoint &, int)));
connect(this, TQ_SIGNAL(mouseButtonClicked(int, TQListViewItem*, const TQPoint &, int)),
this, TQ_SLOT(slotMouseButtonClickedK3b(int, TQListViewItem*, const TQPoint &, int)));
}
}

@ -108,11 +108,11 @@ void K3bFileView::setupGUI()
filter += "\n" + i18n("video/mpeg |MPEG Video Files");
m_filterWidget->setFilter(filter);
connect( m_filterWidget, TQT_SIGNAL(filterChanged()), TQT_SLOT(slotFilterChanged()) );
connect( m_filterWidget, TQ_SIGNAL(filterChanged()), TQ_SLOT(slotFilterChanged()) );
connect( m_dirOp, TQT_SIGNAL(fileHighlighted(const KFileItem*)), this, TQT_SLOT(slotFileHighlighted(const KFileItem*)) );
connect( m_dirOp, TQT_SIGNAL(urlEntered(const KURL&)), this, TQT_SIGNAL(urlEntered(const KURL&)) );
connect( m_dirOp, TQT_SIGNAL(fileSelected(const KFileItem*)), m_dirOp, TQT_SLOT(slotAddFilesToProject()) );
connect( m_dirOp, TQ_SIGNAL(fileHighlighted(const KFileItem*)), this, TQ_SLOT(slotFileHighlighted(const KFileItem*)) );
connect( m_dirOp, TQ_SIGNAL(urlEntered(const KURL&)), this, TQ_SIGNAL(urlEntered(const KURL&)) );
connect( m_dirOp, TQ_SIGNAL(fileSelected(const KFileItem*)), m_dirOp, TQ_SLOT(slotAddFilesToProject()) );
slotFileHighlighted(0);
}

@ -53,7 +53,7 @@ K3bFlatButton::K3bFlatButton( TDEAction* a, TQWidget *parent, const char *name )
setText( a->text() );
TQToolTip::add( this, a->toolTip() );
setPixmap( TDEGlobal::iconLoader()->loadIcon( a->icon(), TDEIcon::NoGroup, 32 ) );
connect( this, TQT_SIGNAL(clicked()), a, TQT_SLOT(activate()) );
connect( this, TQ_SIGNAL(clicked()), a, TQ_SLOT(activate()) );
}
@ -66,8 +66,8 @@ void K3bFlatButton::init()
setMargin(5);
setFrameStyle( TQFrame::Box|TQFrame::Plain );
connect( k3bappcore->themeManager(), TQT_SIGNAL(themeChanged()), this, TQT_SLOT(slotThemeChanged()) );
connect( kapp, TQT_SIGNAL(appearanceChanged()), this, TQT_SLOT(slotThemeChanged()) );
connect( k3bappcore->themeManager(), TQ_SIGNAL(themeChanged()), this, TQ_SLOT(slotThemeChanged()) );
connect( kapp, TQ_SIGNAL(appearanceChanged()), this, TQ_SLOT(slotThemeChanged()) );
slotThemeChanged();
}

@ -86,9 +86,9 @@ K3bInteractionDialog::K3bInteractionDialog( TQWidget* parent,
m_buttonLoadSettings = new K3bToolButton( /*i18n("User Defaults"), */this );
((K3bToolButton*)m_buttonLoadSettings)->setIconSet( SmallIconSet( "document-revert" ) );
TQPopupMenu* userDefaultsPopup = new TQPopupMenu( m_buttonLoadSettings );
userDefaultsPopup->insertItem( i18n("Load default settings"), this, TQT_SLOT(slotLoadK3bDefaults()) );
userDefaultsPopup->insertItem( i18n("Load saved settings"), this, TQT_SLOT(slotLoadUserDefaults()) );
userDefaultsPopup->insertItem( i18n("Load last used settings"), this, TQT_SLOT(slotLoadLastSettings()) );
userDefaultsPopup->insertItem( i18n("Load default settings"), this, TQ_SLOT(slotLoadK3bDefaults()) );
userDefaultsPopup->insertItem( i18n("Load saved settings"), this, TQ_SLOT(slotLoadUserDefaults()) );
userDefaultsPopup->insertItem( i18n("Load last used settings"), this, TQ_SLOT(slotLoadLastSettings()) );
((TQToolButton*)m_buttonLoadSettings)->setPopup( userDefaultsPopup );
((K3bToolButton*)m_buttonLoadSettings)->setInstantMenu( true );
layout2->addWidget( m_buttonLoadSettings );
@ -215,22 +215,22 @@ TQSize K3bInteractionDialog::sizeHint() const
void K3bInteractionDialog::initConnections()
{
if( m_buttonStart ) {
connect( m_buttonStart, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotStartClickedInternal()) );
connect( m_buttonStart, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotStartClickedInternal()) );
}
if( m_buttonSave ) {
// connect( m_buttonSave, TQT_SIGNAL(clicked()),
// this, TQT_SLOT(slotSaveLastSettings()) );
connect( m_buttonSave, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotSaveClicked()) );
// connect( m_buttonSave, TQ_SIGNAL(clicked()),
// this, TQ_SLOT(slotSaveLastSettings()) );
connect( m_buttonSave, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotSaveClicked()) );
}
if( m_buttonCancel )
connect( m_buttonCancel, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotCancelClicked()) );
connect( m_buttonCancel, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotCancelClicked()) );
if( !m_configGroup.isEmpty() ) {
connect( m_buttonSaveSettings, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotSaveUserDefaults()) );
connect( m_buttonSaveSettings, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotSaveUserDefaults()) );
}
}
@ -584,7 +584,7 @@ int K3bInteractionDialog::exec( bool returnOnHide )
loadStartupSettings();
show();
if( m_delayedInit )
TQTimer::singleShot( 0, this, TQT_SLOT(slotDelayedInit()) );
TQTimer::singleShot( 0, this, TQ_SLOT(slotDelayedInit()) );
else
init();

@ -143,28 +143,28 @@ void K3bInterface::copyDvd( const KURL& dev )
void K3bInterface::copyCd()
{
// HACK since we want this method to return immediately
TQTimer::singleShot( 0, m_main, TQT_SLOT(slotCdCopy()) );
TQTimer::singleShot( 0, m_main, TQ_SLOT(slotCdCopy()) );
}
void K3bInterface::copyDvd()
{
// HACK since we want this method to return immediately
TQTimer::singleShot( 0, m_main, TQT_SLOT(slotDvdCopy()) );
TQTimer::singleShot( 0, m_main, TQ_SLOT(slotDvdCopy()) );
}
void K3bInterface::eraseCdrw()
{
// HACK since we want this method to return immediately
TQTimer::singleShot( 0, m_main, TQT_SLOT(slotBlankCdrw()) );
TQTimer::singleShot( 0, m_main, TQ_SLOT(slotBlankCdrw()) );
}
void K3bInterface::formatDvd()
{
// HACK since we want this method to return immediately
TQTimer::singleShot( 0, m_main, TQT_SLOT(slotFormatDvd()) );
TQTimer::singleShot( 0, m_main, TQ_SLOT(slotFormatDvd()) );
}

@ -38,22 +38,22 @@ void K3bJobInterface::setJob( K3bJob* job )
m_lastProgress = m_lastSubProgress = 0;
if( m_job ) {
connect( m_job, TQT_SIGNAL(newTask(const TQString&)), this, TQT_SLOT(slotNewTask(const TQString&)) );
connect( m_job, TQT_SIGNAL(newSubTask(const TQString&)), this, TQT_SLOT(slotNewSubTask(const TQString&)) );
connect( m_job, TQT_SIGNAL(infoMessage(const TQString&, int)), this, TQT_SLOT(slotInfoMessage(const TQString&, int)) );
connect( m_job, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotFinished(bool)) );
connect( m_job, TQT_SIGNAL(started()), this, TQT_SLOT(slotStarted()) );
connect( m_job, TQT_SIGNAL(canceled()), this, TQT_SLOT(slotCanceled()) );
connect( m_job, TQT_SIGNAL(percent(int)), this, TQT_SLOT(slotProgress(int)) );
connect( m_job, TQT_SIGNAL(subPercent(int)), this, TQT_SLOT(slotSubProgress(int)) );
connect( m_job, TQT_SIGNAL(nextTrack(int, int)), this, TQT_SLOT(slotNextTrack(int, int)) );
connect( m_job, TQ_SIGNAL(newTask(const TQString&)), this, TQ_SLOT(slotNewTask(const TQString&)) );
connect( m_job, TQ_SIGNAL(newSubTask(const TQString&)), this, TQ_SLOT(slotNewSubTask(const TQString&)) );
connect( m_job, TQ_SIGNAL(infoMessage(const TQString&, int)), this, TQ_SLOT(slotInfoMessage(const TQString&, int)) );
connect( m_job, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotFinished(bool)) );
connect( m_job, TQ_SIGNAL(started()), this, TQ_SLOT(slotStarted()) );
connect( m_job, TQ_SIGNAL(canceled()), this, TQ_SLOT(slotCanceled()) );
connect( m_job, TQ_SIGNAL(percent(int)), this, TQ_SLOT(slotProgress(int)) );
connect( m_job, TQ_SIGNAL(subPercent(int)), this, TQ_SLOT(slotSubProgress(int)) );
connect( m_job, TQ_SIGNAL(nextTrack(int, int)), this, TQ_SLOT(slotNextTrack(int, int)) );
if( m_job->inherits( "K3bBurnJob" ) ) {
connect( m_job, TQT_SIGNAL(bufferStatus(int)), this, TQT_SLOT(slotBuffer(int)) );
connect( m_job, TQT_SIGNAL(deviceBuffer(int)), this, TQT_SLOT(slotDeviceBuffer(int)) );
connect( m_job, TQ_SIGNAL(bufferStatus(int)), this, TQ_SLOT(slotBuffer(int)) );
connect( m_job, TQ_SIGNAL(deviceBuffer(int)), this, TQ_SLOT(slotDeviceBuffer(int)) );
}
connect( m_job, TQT_SIGNAL(destroyed()), this, TQT_SLOT(slotDestroyed()) );
connect( m_job, TQ_SIGNAL(destroyed()), this, TQ_SLOT(slotDestroyed()) );
}
}

@ -98,7 +98,7 @@ K3bJobProgressDialog::K3bJobProgressDialog( TQWidget* parent,
m_job = 0;
m_timer = new TQTimer( this );
connect( m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotUpdateTime()) );
connect( m_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotUpdateTime()) );
}
@ -254,10 +254,10 @@ void K3bJobProgressDialog::setupGUI()
slotThemeChanged();
connect( k3bappcore->themeManager(), TQT_SIGNAL(themeChanged()),
this, TQT_SLOT(slotThemeChanged()) );
connect( kapp, TQT_SIGNAL(appearanceChanged()),
this, TQT_SLOT(slotThemeChanged()) );
connect( k3bappcore->themeManager(), TQ_SIGNAL(themeChanged()),
this, TQ_SLOT(slotThemeChanged()) );
connect( kapp, TQ_SIGNAL(appearanceChanged()),
this, TQ_SLOT(slotThemeChanged()) );
}
@ -306,9 +306,9 @@ void K3bJobProgressDialog::closeEvent( TQCloseEvent* e )
void K3bJobProgressDialog::setupConnections()
{
connect( m_buttonCancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCancelButtonPressed()) );
connect( m_buttonClose, TQT_SIGNAL(clicked()), this, TQT_SLOT(close()) );
connect( m_buttonShowDebug, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotShowDebuggingOutput()) );
connect( m_buttonCancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCancelButtonPressed()) );
connect( m_buttonClose, TQ_SIGNAL(clicked()), this, TQ_SLOT(close()) );
connect( m_buttonShowDebug, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotShowDebuggingOutput()) );
}
@ -434,23 +434,23 @@ void K3bJobProgressDialog::setJob( K3bJob* job )
if( job ) {
// connect to all the shit
connect( job, TQT_SIGNAL(infoMessage(const TQString&,int)), this, TQT_SLOT(slotInfoMessage(const TQString&,int)) );
connect( job, TQ_SIGNAL(infoMessage(const TQString&,int)), this, TQ_SLOT(slotInfoMessage(const TQString&,int)) );
connect( job, TQT_SIGNAL(percent(int)), m_progressPercent, TQT_SLOT(setValue(int)) );
connect( job, TQT_SIGNAL(percent(int)), this, TQT_SLOT(slotProgress(int)) );
connect( job, TQT_SIGNAL(subPercent(int)), m_progressSubPercent, TQT_SLOT(setValue(int)) );
connect( job, TQ_SIGNAL(percent(int)), m_progressPercent, TQ_SLOT(setValue(int)) );
connect( job, TQ_SIGNAL(percent(int)), this, TQ_SLOT(slotProgress(int)) );
connect( job, TQ_SIGNAL(subPercent(int)), m_progressSubPercent, TQ_SLOT(setValue(int)) );
connect( job, TQT_SIGNAL(processedSubSize(int, int)), this, TQT_SLOT(slotProcessedSubSize(int, int)) );
connect( job, TQT_SIGNAL(processedSize(int, int)), this, TQT_SLOT(slotProcessedSize(int, int)) );
connect( job, TQ_SIGNAL(processedSubSize(int, int)), this, TQ_SLOT(slotProcessedSubSize(int, int)) );
connect( job, TQ_SIGNAL(processedSize(int, int)), this, TQ_SLOT(slotProcessedSize(int, int)) );
connect( job, TQT_SIGNAL(newTask(const TQString&)), this, TQT_SLOT(slotNewTask(const TQString&)) );
connect( job, TQT_SIGNAL(newSubTask(const TQString&)), this, TQT_SLOT(slotNewSubTask(const TQString&)) );
connect( job, TQT_SIGNAL(started()), this, TQT_SLOT(slotStarted()) );
connect( job, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotFinished(bool)) );
connect( job, TQT_SIGNAL(canceled()), this, TQT_SLOT(slotCanceled()) );
connect( job, TQ_SIGNAL(newTask(const TQString&)), this, TQ_SLOT(slotNewTask(const TQString&)) );
connect( job, TQ_SIGNAL(newSubTask(const TQString&)), this, TQ_SLOT(slotNewSubTask(const TQString&)) );
connect( job, TQ_SIGNAL(started()), this, TQ_SLOT(slotStarted()) );
connect( job, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotFinished(bool)) );
connect( job, TQ_SIGNAL(canceled()), this, TQ_SLOT(slotCanceled()) );
connect( job, TQT_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQT_SLOT(slotDebuggingOutput(const TQString&, const TQString&)) );
connect( job, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
this, TQ_SLOT(slotDebuggingOutput(const TQString&, const TQString&)) );
m_labelJob->setText( m_job->jobDescription() );
m_labelJobDetails->setText( m_job->jobDetails() );
@ -467,8 +467,8 @@ void K3bJobProgressDialog::setJob( K3bJob* job )
if( m_osd ) {
m_osd->setText( job->jobDescription() );
// FIXME: use a setJob method and let the osd also change the text color to red/green
// connect( job, TQT_SIGNAL(newTask(const TQString&)), m_osd, TQT_SLOT(setText(const TQString&)) );
connect( job, TQT_SIGNAL(percent(int)), m_osd, TQT_SLOT(setProgress(int)) );
// connect( job, TQ_SIGNAL(newTask(const TQString&)), m_osd, TQ_SLOT(setText(const TQString&)) );
connect( job, TQ_SIGNAL(percent(int)), m_osd, TQ_SLOT(setProgress(int)) );
}
}
}

@ -50,10 +50,10 @@ K3bJobProgressOSD::K3bJobProgressOSD( TQWidget* parent, const char* name )
// make sure we are always visible
KWin::setOnAllDesktops( winId(), true );
connect( k3bappcore->themeManager(), TQT_SIGNAL(themeChanged()),
this, TQT_SLOT(refresh()) );
connect( kapp, TQT_SIGNAL(appearanceChanged()),
this, TQT_SLOT(refresh()) );
connect( k3bappcore->themeManager(), TQ_SIGNAL(themeChanged()),
this, TQ_SLOT(refresh()) );
connect( kapp, TQ_SIGNAL(appearanceChanged()),
this, TQ_SLOT(refresh()) );
}

@ -56,8 +56,8 @@ K3bLsofWrapperDialog::K3bLsofWrapperDialog( TQWidget* parent )
m_label = new K3bRichTextLabel( this );
setMainWidget( m_label );
connect( this, TQT_SIGNAL(user1Clicked()), TQT_SLOT(slotQuitOtherApps()) );
connect( this, TQT_SIGNAL(user2Clicked()), TQT_SLOT(slotCheckDevice()) );
connect( this, TQ_SIGNAL(user1Clicked()), TQ_SLOT(slotQuitOtherApps()) );
connect( this, TQ_SIGNAL(user2Clicked()), TQ_SLOT(slotCheckDevice()) );
}

@ -50,8 +50,8 @@ K3bMediaContentsView::K3bMediaContentsView( bool withHeader,
d->supportedMediumStates = mediumState;
d->autoReload = true;
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*)) );
}

@ -108,14 +108,14 @@ K3bMediaSelectionComboBox::K3bMediaSelectionComboBox( TQWidget* parent )
d->font = font();
connect( this, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotActivated(int)) );
connect( k3bcore->deviceManager(), TQT_SIGNAL(changed(K3bDevice::DeviceManager*)),
this, TQT_SLOT(slotDeviceManagerChanged(K3bDevice::DeviceManager*)) );
connect( k3bappcore->mediaCache(), TQT_SIGNAL(mediumChanged(K3bDevice::Device*)),
this, TQT_SLOT(slotMediumChanged(K3bDevice::Device*)) );
connect( this, TQT_SIGNAL(selectionChanged(K3bDevice::Device*)),
this, TQT_SLOT(slotUpdateToolTip(K3bDevice::Device*)) );
connect( this, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(slotActivated(int)) );
connect( k3bcore->deviceManager(), TQ_SIGNAL(changed(K3bDevice::DeviceManager*)),
this, TQ_SLOT(slotDeviceManagerChanged(K3bDevice::DeviceManager*)) );
connect( k3bappcore->mediaCache(), TQ_SIGNAL(mediumChanged(K3bDevice::Device*)),
this, TQ_SLOT(slotMediumChanged(K3bDevice::Device*)) );
connect( this, TQ_SIGNAL(selectionChanged(K3bDevice::Device*)),
this, TQ_SLOT(slotUpdateToolTip(K3bDevice::Device*)) );
updateMedia();

@ -47,8 +47,8 @@ K3bMediaSelectionDialog::K3bMediaSelectionDialog( TQWidget* parent,
lay->addWidget( m_combo, 1, 0 );
lay->setRowStretch( 2, 1 );
connect( m_combo, TQT_SIGNAL(selectionChanged(K3bDevice::Device*)),
this, TQT_SLOT(slotSelectionChanged(K3bDevice::Device*)) );
connect( m_combo, TQ_SIGNAL(selectionChanged(K3bDevice::Device*)),
this, TQ_SLOT(slotSelectionChanged(K3bDevice::Device*)) );
slotSelectionChanged( m_combo->selectedDevice() );
}

@ -127,20 +127,20 @@ K3bPassivePopup::K3bPassivePopup( TQWidget* parent )
d->pixmapLabel->setAlignment( TQt::AlignTop );
d->timeoutWidget = new K3bTimeoutWidget( this );
connect( d->timeoutWidget, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotClose()) );
connect( d->timeoutWidget, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotClose()) );
d->closeButton = new K3bMiniButton( d->titleLabel );
d->closeButton->setPixmap( style().stylePixmap( TQStyle::SP_TitleBarCloseButton, this ) );
d->closeButton->setFixedSize( d->closeButton->pixmap()->width(), d->closeButton->pixmap()->height() );
TQToolTip::add( d->closeButton, i18n("Close") );
connect( d->closeButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClose()) );
connect( d->closeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotClose()) );
d->stickyButton = new K3bMiniButton( d->titleLabel );
d->stickyButton->setToggleButton( true );
d->stickyButton->setPixmap( const_cast< const char** >( sticky_xpm ) );
d->stickyButton->setFixedSize( d->closeButton->pixmap()->width(), d->closeButton->pixmap()->height() );
TQToolTip::add( d->stickyButton, i18n("Keep Open") );
connect( d->stickyButton, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotSticky(bool)) );
connect( d->stickyButton, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotSticky(bool)) );
grid->addWidget( d->pixmapLabel, 0, 0 );
grid->addWidget( d->messageLabel, 0, 1 );
@ -218,8 +218,8 @@ void K3bPassivePopup::setMessageType( MessageType m )
void K3bPassivePopup::slideIn()
{
d->showEffect = K3bWidgetShowEffect::Slide;
connect( K3bWidgetShowEffect::showWidget( this, (K3bWidgetShowEffect::Effect)d->showEffect ), TQT_SIGNAL(widgetShown(TQWidget*)),
this, TQT_SLOT(slotShown()) );
connect( K3bWidgetShowEffect::showWidget( this, (K3bWidgetShowEffect::Effect)d->showEffect ), TQ_SIGNAL(widgetShown(TQWidget*)),
this, TQ_SLOT(slotShown()) );
}
@ -230,7 +230,7 @@ void K3bPassivePopup::slotShown()
d->timeoutWidget->start();
}
else
TQTimer::singleShot( d->timeout, this, TQT_SLOT(slotClose()) );
TQTimer::singleShot( d->timeout, this, TQ_SLOT(slotClose()) );
}
@ -243,8 +243,8 @@ void K3bPassivePopup::slotHidden()
void K3bPassivePopup::slotClose()
{
if( d->showEffect != 0 ) {
connect( K3bWidgetShowEffect::hideWidget( this, (K3bWidgetShowEffect::Effect)d->showEffect ), TQT_SIGNAL(widgetHidden(TQWidget*)),
this, TQT_SLOT(slotHidden()) );
connect( K3bWidgetShowEffect::hideWidget( this, (K3bWidgetShowEffect::Effect)d->showEffect ), TQ_SIGNAL(widgetHidden(TQWidget*)),
this, TQ_SLOT(slotHidden()) );
}
else
deleteLater();

@ -61,7 +61,7 @@ void K3bProjectInterface::addUrl( const TQString& url )
void K3bProjectInterface::burn()
{
// we want to return this method immediately
TQTimer::singleShot( 0, m_doc->view(), TQT_SLOT(slotBurn()) );
TQTimer::singleShot( 0, m_doc->view(), TQ_SLOT(slotBurn()) );
}

@ -109,8 +109,8 @@ void K3bProjectManager::addProject( K3bDoc* doc )
d->projects.append(doc);
connect( doc, TQT_SIGNAL(changed(K3bDoc*)),
this, TQT_SLOT(slotProjectChanged(K3bDoc*)) );
connect( doc, TQ_SIGNAL(changed(K3bDoc*)),
this, TQ_SLOT(slotProjectChanged(K3bDoc*)) );
emit newProject( doc );
}

@ -121,8 +121,8 @@ void K3bProjectTabWidget::removePage( TQWidget* w )
void K3bProjectTabWidget::insertTab( K3bDoc* doc )
{
TQTabWidget::insertTab( doc->view(), doc->URL().fileName() );
connect( k3bappcore->projectManager(), TQT_SIGNAL(projectSaved(K3bDoc*)), this, TQT_SLOT(slotDocSaved(K3bDoc*)) );
connect( doc, TQT_SIGNAL(changed(K3bDoc*)), this, TQT_SLOT(slotDocChanged(K3bDoc*)) );
connect( k3bappcore->projectManager(), TQ_SIGNAL(projectSaved(K3bDoc*)), this, TQ_SLOT(slotDocSaved(K3bDoc*)) );
connect( doc, TQ_SIGNAL(changed(K3bDoc*)), this, TQ_SLOT(slotDocChanged(K3bDoc*)) );
m_projectDataMap[doc] = ProjectData( doc );

@ -96,7 +96,7 @@ void K3bSidePanel::addButton( TQFrame* frame, TDEAction* a )
b->setAutoRaise( true );
b->setTextPosition( TQToolButton::BesideIcon );
connect( b, TQT_SIGNAL(clicked()), a, TQT_SLOT(activate()) );
connect( b, TQ_SIGNAL(clicked()), a, TQ_SLOT(activate()) );
TQGridLayout* grid = (TQGridLayout*)(frame->layout());
grid->addWidget( b, grid->numRows(), 0 );

@ -79,16 +79,16 @@ K3bStatusBarManager::K3bStatusBarManager( K3bMainWindow* parent )
m_mainWindow->statusBar()->addWidget( new TQLabel( " ", m_mainWindow->statusBar() ), 0, true );
m_mainWindow->statusBar()->addWidget( m_versionBox, 0, true );
connect( m_mainWindow, TQT_SIGNAL(configChanged(TDEConfig*)), this, TQT_SLOT(update()) );
connect( m_mainWindow->actionCollection(), TQT_SIGNAL(actionStatusText(const TQString&)),
this, TQT_SLOT(showActionStatusText(const TQString&)) );
connect( m_mainWindow->actionCollection(), TQT_SIGNAL(clearStatusText()),
this, TQT_SLOT(clearActionStatusText()) );
connect( k3bappcore->projectManager(), TQT_SIGNAL(activeProjectChanged(K3bDoc*)),
this, TQT_SLOT(slotActiveProjectChanged(K3bDoc*)) );
connect( k3bappcore->projectManager(), TQT_SIGNAL(projectChanged(K3bDoc*)),
this, TQT_SLOT(slotActiveProjectChanged(K3bDoc*)) );
connect( (m_updateTimer = new TQTimer( this )), TQT_SIGNAL(timeout()), this, TQT_SLOT(slotUpdateProjectStats()) );
connect( m_mainWindow, TQ_SIGNAL(configChanged(TDEConfig*)), this, TQ_SLOT(update()) );
connect( m_mainWindow->actionCollection(), TQ_SIGNAL(actionStatusText(const TQString&)),
this, TQ_SLOT(showActionStatusText(const TQString&)) );
connect( m_mainWindow->actionCollection(), TQ_SIGNAL(clearStatusText()),
this, TQ_SLOT(clearActionStatusText()) );
connect( k3bappcore->projectManager(), TQ_SIGNAL(activeProjectChanged(K3bDoc*)),
this, TQ_SLOT(slotActiveProjectChanged(K3bDoc*)) );
connect( k3bappcore->projectManager(), TQ_SIGNAL(projectChanged(K3bDoc*)),
this, TQ_SLOT(slotActiveProjectChanged(K3bDoc*)) );
connect( (m_updateTimer = new TQTimer( this )), TQ_SIGNAL(timeout()), this, TQ_SLOT(slotUpdateProjectStats()) );
update();
}
@ -134,7 +134,7 @@ void K3bStatusBarManager::slotFreeTempSpace(const TQString&,
m_pixFreeTemp->setPixmap( SmallIcon("folder_green") );
// update the display every second
TQTimer::singleShot( 2000, this, TQT_SLOT(update()) );
TQTimer::singleShot( 2000, this, TQ_SLOT(update()) );
}

@ -93,12 +93,12 @@ K3bSystemProblemDialog::K3bSystemProblemDialog( const TQValueList<K3bSystemProbl
i18n("1 problem", "%n problems", problems.count() ) );
m_closeButton = new TQPushButton( i18n("Close"), this );
connect( m_closeButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(close()) );
connect( m_closeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(close()) );
m_checkDontShowAgain = new TQCheckBox( i18n("Do not show again"), this );
#ifdef HAVE_K3BSETUP
m_k3bsetupButton = new TQPushButton( i18n("Start K3bSetup2"), this );
connect( m_k3bsetupButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotK3bSetup()) );
connect( m_k3bsetupButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotK3bSetup()) );
#endif
// setup the problem view

@ -59,12 +59,12 @@ K3bTempDirSelectionWidget::K3bTempDirSelectionWidget( TQWidget *parent, const ch
m_labelFreeSpace->setAlignment( int( TQLabel::AlignVCenter | TQLabel::AlignRight ) );
connect( m_editDirectory, TQT_SIGNAL(openFileDialog(KURLRequester*)),
this, TQT_SLOT(slotTempDirButtonPressed(KURLRequester*)) );
connect( m_editDirectory, TQT_SIGNAL(textChanged(const TQString&)),
this, TQT_SLOT(slotUpdateFreeTempSpace()) );
connect( m_editDirectory->lineEdit(), TQT_SIGNAL(lostFocus()),
this, TQT_SLOT(slotFixTempPath()) );
connect( m_editDirectory, TQ_SIGNAL(openFileDialog(KURLRequester*)),
this, TQ_SLOT(slotTempDirButtonPressed(KURLRequester*)) );
connect( m_editDirectory, TQ_SIGNAL(textChanged(const TQString&)),
this, TQ_SLOT(slotUpdateFreeTempSpace()) );
connect( m_editDirectory->lineEdit(), TQ_SIGNAL(lostFocus()),
this, TQ_SLOT(slotFixTempPath()) );
// choose a default
setSelectionMode( DIR );
@ -115,7 +115,7 @@ void K3bTempDirSelectionWidget::slotUpdateFreeTempSpace()
else
m_labelCdSize->setPaletteForegroundColor( m_labelFreeSpace->paletteForegroundColor() );
}
TQTimer::singleShot( 1000, this, TQT_SLOT(slotUpdateFreeTempSpace()) );
TQTimer::singleShot( 1000, this, TQ_SLOT(slotUpdateFreeTempSpace()) );
}

@ -104,10 +104,10 @@ void K3bThemedHeader::init()
slotThemeChanged();
connect( k3bappcore->themeManager(), TQT_SIGNAL(themeChanged()),
this, TQT_SLOT(slotThemeChanged()) );
connect( kapp, TQT_SIGNAL(appearanceChanged()),
this, TQT_SLOT(slotThemeChanged()) );
connect( k3bappcore->themeManager(), TQ_SIGNAL(themeChanged()),
this, TQ_SLOT(slotThemeChanged()) );
connect( kapp, TQ_SIGNAL(appearanceChanged()),
this, TQ_SLOT(slotThemeChanged()) );
}

@ -22,10 +22,10 @@ K3bThemedLabel::K3bThemedLabel( TQWidget* parent )
{
slotThemeChanged();
connect( k3bappcore->themeManager(), TQT_SIGNAL(themeChanged()),
this, TQT_SLOT(slotThemeChanged()) );
connect( kapp, TQT_SIGNAL(appearanceChanged()),
this, TQT_SLOT(slotThemeChanged()) );
connect( k3bappcore->themeManager(), TQ_SIGNAL(themeChanged()),
this, TQ_SLOT(slotThemeChanged()) );
connect( kapp, TQ_SIGNAL(appearanceChanged()),
this, TQ_SLOT(slotThemeChanged()) );
}
@ -35,10 +35,10 @@ K3bThemedLabel::K3bThemedLabel( const TQString& text, TQWidget* parent )
{
slotThemeChanged();
connect( k3bappcore->themeManager(), TQT_SIGNAL(themeChanged()),
this, TQT_SLOT(slotThemeChanged()) );
connect( kapp, TQT_SIGNAL(appearanceChanged()),
this, TQT_SLOT(slotThemeChanged()) );
connect( k3bappcore->themeManager(), TQ_SIGNAL(themeChanged()),
this, TQ_SLOT(slotThemeChanged()) );
connect( kapp, TQ_SIGNAL(appearanceChanged()),
this, TQ_SLOT(slotThemeChanged()) );
}
@ -47,10 +47,10 @@ K3bThemedLabel::K3bThemedLabel( K3bTheme::PixmapType pix, TQWidget* parent )
{
setThemePixmap( pix );
connect( k3bappcore->themeManager(), TQT_SIGNAL(themeChanged()),
this, TQT_SLOT(slotThemeChanged()) );
connect( kapp, TQT_SIGNAL(appearanceChanged()),
this, TQT_SLOT(slotThemeChanged()) );
connect( k3bappcore->themeManager(), TQ_SIGNAL(themeChanged()),
this, TQ_SLOT(slotThemeChanged()) );
connect( kapp, TQ_SIGNAL(appearanceChanged()),
this, TQ_SLOT(slotThemeChanged()) );
}

@ -41,7 +41,7 @@ K3bTimeoutWidget::K3bTimeoutWidget( TQWidget* parent )
d = new Private;
d->timeout = 10000;
d->margin = 4;
connect( &d->timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(timeStep()) );
connect( &d->timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(timeStep()) );
}

@ -35,8 +35,8 @@ K3bToolTip::K3bToolTip( TQWidget* widget )
m_tipTimeout( 700 )
{
m_parentWidget->installEventFilter( this );
connect( m_tipTimer, TQT_SIGNAL(timeout()),
this, TQT_SLOT(slotCheckShowTip()) );
connect( m_tipTimer, TQ_SIGNAL(timeout()),
this, TQ_SLOT(slotCheckShowTip()) );
}

@ -96,9 +96,9 @@ K3bWelcomeWidget::Display::Display( K3bWelcomeWidget* parent )
m_rows = m_cols = 1;
m_buttonMore = new K3bFlatButton( i18n("Further actions..."), this );
connect( m_buttonMore, TQT_SIGNAL(pressed()), parent, TQT_SLOT(slotMoreActions()) );
connect( m_buttonMore, TQ_SIGNAL(pressed()), parent, TQ_SLOT(slotMoreActions()) );
connect( k3bappcore->themeManager(), TQT_SIGNAL(themeChanged()), this, TQT_SLOT(slotThemeChanged()) );
connect( k3bappcore->themeManager(), TQ_SIGNAL(themeChanged()), this, TQ_SLOT(slotThemeChanged()) );
slotThemeChanged();
}
@ -351,9 +351,9 @@ K3bWelcomeWidget::K3bWelcomeWidget( K3bMainWindow* mw, TQWidget* parent, const c
main = new Display( this );
addChild( main );
connect( main, TQT_SIGNAL(dropped(const KURL::List&)), m_mainWindow, TQT_SLOT(addUrls(const KURL::List&)) );
connect( main, TQ_SIGNAL(dropped(const KURL::List&)), m_mainWindow, TQ_SLOT(addUrls(const KURL::List&)) );
connect( kapp, TQT_SIGNAL(appearanceChanged()), main, TQT_SLOT(update()) );
connect( kapp, TQ_SIGNAL(appearanceChanged()), main, TQ_SLOT(update()) );
}

@ -160,15 +160,15 @@ K3bWriterSelectionWidget::K3bWriterSelectionWidget( TQWidget *parent, const char
setTabOrder( m_comboMedium, m_comboSpeed );
setTabOrder( m_comboSpeed, m_comboWritingApp );
connect( m_comboMedium, TQT_SIGNAL(selectionChanged(K3bDevice::Device*)), this, TQT_SIGNAL(writerChanged()) );
connect( m_comboMedium, TQT_SIGNAL(selectionChanged(K3bDevice::Device*)),
this, TQT_SIGNAL(writerChanged(K3bDevice::Device*)) );
connect( m_comboMedium, TQT_SIGNAL(newMedia()), this, TQT_SIGNAL(newMedia()) );
connect( m_comboMedium, TQT_SIGNAL(newMedium(K3bDevice::Device*)), this, TQT_SIGNAL(newMedium(K3bDevice::Device*)) );
connect( m_comboMedium, TQT_SIGNAL(newMedium(K3bDevice::Device*)), this, TQT_SLOT(slotNewBurnMedium(K3bDevice::Device*)) );
connect( m_comboWritingApp, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotWritingAppSelected(int)) );
connect( this, TQT_SIGNAL(writerChanged()), TQT_SLOT(slotWriterChanged()) );
connect( m_comboSpeed, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSpeedChanged(int)) );
connect( m_comboMedium, TQ_SIGNAL(selectionChanged(K3bDevice::Device*)), this, TQ_SIGNAL(writerChanged()) );
connect( m_comboMedium, TQ_SIGNAL(selectionChanged(K3bDevice::Device*)),
this, TQ_SIGNAL(writerChanged(K3bDevice::Device*)) );
connect( m_comboMedium, TQ_SIGNAL(newMedia()), this, TQ_SIGNAL(newMedia()) );
connect( m_comboMedium, TQ_SIGNAL(newMedium(K3bDevice::Device*)), this, TQ_SIGNAL(newMedium(K3bDevice::Device*)) );
connect( m_comboMedium, TQ_SIGNAL(newMedium(K3bDevice::Device*)), this, TQ_SLOT(slotNewBurnMedium(K3bDevice::Device*)) );
connect( m_comboWritingApp, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotWritingAppSelected(int)) );
connect( this, TQ_SIGNAL(writerChanged()), TQ_SLOT(slotWriterChanged()) );
connect( m_comboSpeed, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotSpeedChanged(int)) );
TQToolTip::add( m_comboMedium, i18n("The medium that will be used for burning") );

@ -88,7 +88,7 @@ void K3bWritingModeWidget::init()
d = new Private();
d->device = 0;
connect( this, TQT_SIGNAL(valueChanged(int)), this, TQT_SIGNAL(writingModeChanged(int)) );
connect( this, TQ_SIGNAL(valueChanged(int)), this, TQ_SIGNAL(writingModeChanged(int)) );
TQToolTip::add( this, i18n("Select the writing mode to use") );

@ -145,7 +145,7 @@ int main( int argc, char* argv[] )
K3bApplication app;
// we need a running app for the init method
TQTimer::singleShot( 0, &app, TQT_SLOT(init()) );
TQTimer::singleShot( 0, &app, TQ_SLOT(init()) );
return app.exec();
}

@ -80,8 +80,8 @@ K3bBlankingDialog::K3bBlankingDialog( TQWidget* parent, const char* name )
setupGui();
connect( m_writerSelectionWidget, TQT_SIGNAL(writerChanged()), this, TQT_SLOT(slotWriterChanged()) );
connect( m_writerSelectionWidget, TQT_SIGNAL(writingAppChanged(int)), this, TQT_SLOT(slotWritingAppChanged(int)) );
connect( m_writerSelectionWidget, TQ_SIGNAL(writerChanged()), this, TQ_SLOT(slotWriterChanged()) );
connect( m_writerSelectionWidget, TQ_SIGNAL(writingAppChanged(int)), this, TQ_SLOT(slotWritingAppChanged(int)) );
slotWriterChanged();
slotWritingAppChanged( m_writerSelectionWidget->writingApp() );
}
@ -132,12 +132,12 @@ void K3bBlankingDialog::slotStartClicked()
if( d->job == 0 ) {
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&)),
&d->debugFile, TQT_SLOT(addOutput(const TQString&, const TQString&)) );
connect( d->job, TQT_SIGNAL(finished(bool)),
this, TQT_SLOT(slotJobFinished(bool)) );
connect( d->job, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
d->debugDialog, TQ_SLOT(addOutput(const TQString&, const TQString&)) );
connect( d->job, TQ_SIGNAL(debuggingOutput(const TQString&, const TQString&)),
&d->debugFile, TQ_SLOT(addOutput(const TQString&, const TQString&)) );
connect( d->job, TQ_SIGNAL(finished(bool)),
this, TQ_SLOT(slotJobFinished(bool)) );
}
d->job->setDevice( m_writerSelectionWidget->writerDevice() );
@ -150,7 +150,7 @@ void K3bBlankingDialog::slotStartClicked()
if( !d->erasingDlg )
d->erasingDlg = new K3bProgressDialog( i18n("Erasing CD-RW"), this );
connect( d->erasingDlg, TQT_SIGNAL(cancelClicked()), d->job, TQT_SLOT(cancel()) );
connect( d->erasingDlg, TQ_SIGNAL(cancelClicked()), d->job, TQ_SLOT(cancel()) );
if( !exitLoopOnHide() )
hide();

@ -195,18 +195,18 @@ K3bCdCopyDialog::K3bCdCopyDialog( TQWidget *parent, const char *name, bool modal
mainGrid->setRowStretch( 2, 1 );
connect( m_comboSourceDevice, TQT_SIGNAL(selectionChanged(K3bDevice::Device*)), this, TQT_SLOT(slotToggleAll()) );
connect( m_comboSourceDevice, TQT_SIGNAL(selectionChanged(K3bDevice::Device*)),
this, TQT_SLOT(slotSourceMediumChanged(K3bDevice::Device*)) );
connect( m_writerSelectionWidget, TQT_SIGNAL(writerChanged()), this, TQT_SLOT(slotToggleAll()) );
connect( m_writerSelectionWidget, TQT_SIGNAL(writerChanged(K3bDevice::Device*)),
m_writingModeWidget, TQT_SLOT(setDevice(K3bDevice::Device*)) );
connect( m_writingModeWidget, TQT_SIGNAL(writingModeChanged(int)), this, TQT_SLOT(slotToggleAll()) );
connect( m_checkCacheImage, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotToggleAll()) );
connect( m_checkSimulate, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotToggleAll()) );
connect( m_checkOnlyCreateImage, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotToggleAll()) );
connect( m_comboCopyMode, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotToggleAll()) );
connect( m_checkReadCdText, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotToggleAll()) );
connect( m_comboSourceDevice, TQ_SIGNAL(selectionChanged(K3bDevice::Device*)), this, TQ_SLOT(slotToggleAll()) );
connect( m_comboSourceDevice, TQ_SIGNAL(selectionChanged(K3bDevice::Device*)),
this, TQ_SLOT(slotSourceMediumChanged(K3bDevice::Device*)) );
connect( m_writerSelectionWidget, TQ_SIGNAL(writerChanged()), this, TQ_SLOT(slotToggleAll()) );
connect( m_writerSelectionWidget, TQ_SIGNAL(writerChanged(K3bDevice::Device*)),
m_writingModeWidget, TQ_SLOT(setDevice(K3bDevice::Device*)) );
connect( m_writingModeWidget, TQ_SIGNAL(writingModeChanged(int)), this, TQ_SLOT(slotToggleAll()) );
connect( m_checkCacheImage, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotToggleAll()) );
connect( m_checkSimulate, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotToggleAll()) );
connect( m_checkOnlyCreateImage, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotToggleAll()) );
connect( m_comboCopyMode, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotToggleAll()) );
connect( m_checkReadCdText, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotToggleAll()) );
TQToolTip::add( m_checkIgnoreDataReadErrors, i18n("Skip unreadable data sectors") );
TQToolTip::add( m_checkNoCorrection, i18n("Disable the source drive's error correction") );

@ -127,27 +127,27 @@ K3bCdImageWritingDialog::K3bCdImageWritingDialog( TQWidget* parent, const char*
setupGui();
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)),
this, TQT_SLOT(slotMd5JobPercent(int)) );
connect( m_writerSelectionWidget, TQT_SIGNAL(writerChanged()),
this, TQT_SLOT(slotToggleAll()) );
connect( m_writerSelectionWidget, TQT_SIGNAL(writingAppChanged(int)),
this, TQT_SLOT(slotToggleAll()) );
connect( m_writerSelectionWidget, TQT_SIGNAL(writerChanged(K3bDevice::Device*)),
m_writingModeWidget, TQT_SLOT(setDevice(K3bDevice::Device*)) );
connect( m_comboImageType, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotToggleAll()) );
connect( m_writingModeWidget, TQT_SIGNAL(writingModeChanged(int)),
this, TQT_SLOT(slotToggleAll()) );
connect( m_editImagePath, TQT_SIGNAL(textChanged(const TQString&)),
this, TQT_SLOT(slotUpdateImage(const TQString&)) );
connect( m_checkDummy, TQT_SIGNAL(toggled(bool)),
this, TQT_SLOT(slotToggleAll()) );
connect( m_checkCacheImage, TQT_SIGNAL(toggled(bool)),
this, TQT_SLOT(slotToggleAll()) );
connect( d->md5Job, TQ_SIGNAL(finished(bool)),
this, TQ_SLOT(slotMd5JobFinished(bool)) );
connect( d->md5Job, TQ_SIGNAL(percent(int)),
this, TQ_SLOT(slotMd5JobPercent(int)) );
connect( m_writerSelectionWidget, TQ_SIGNAL(writerChanged()),
this, TQ_SLOT(slotToggleAll()) );
connect( m_writerSelectionWidget, TQ_SIGNAL(writingAppChanged(int)),
this, TQ_SLOT(slotToggleAll()) );
connect( m_writerSelectionWidget, TQ_SIGNAL(writerChanged(K3bDevice::Device*)),
m_writingModeWidget, TQ_SLOT(setDevice(K3bDevice::Device*)) );
connect( m_comboImageType, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(slotToggleAll()) );
connect( m_writingModeWidget, TQ_SIGNAL(writingModeChanged(int)),
this, TQ_SLOT(slotToggleAll()) );
connect( m_editImagePath, TQ_SIGNAL(textChanged(const TQString&)),
this, TQ_SLOT(slotUpdateImage(const TQString&)) );
connect( m_checkDummy, TQ_SIGNAL(toggled(bool)),
this, TQ_SLOT(slotToggleAll()) );
connect( m_checkCacheImage, TQ_SIGNAL(toggled(bool)),
this, TQ_SLOT(slotToggleAll()) );
}
@ -224,8 +224,8 @@ void K3bCdImageWritingDialog::setupGui()
m_infoView->setFullWidth(true);
m_infoView->setSelectionMode( TQListView::NoSelection );
connect( m_infoView, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
this, TQT_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
connect( m_infoView, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
this, TQ_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
m_writerSelectionWidget = new K3bWriterSelectionWidget( frame );

@ -190,14 +190,14 @@ K3bDvdCopyDialog::K3bDvdCopyDialog( TQWidget* parent, const char* name, bool mod
//
// setup connections
// //////////////////////////////////////////////////////////////////////////
connect( m_writerSelectionWidget, TQT_SIGNAL(writerChanged()), this, TQT_SLOT(slotToggleAll()) );
connect( m_comboSourceDevice, TQT_SIGNAL(selectionChanged(K3bDevice::Device*)), this, TQT_SLOT(slotToggleAll()) );
connect( m_comboSourceDevice, TQT_SIGNAL(selectionChanged(K3bDevice::Device*)),
this, TQT_SLOT(slotSourceMediumChanged(K3bDevice::Device*)) );
connect( m_checkSimulate, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotToggleAll()) );
connect( m_checkCacheImage, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotToggleAll()) );
connect( m_checkOnlyCreateImage, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotToggleAll()) );
connect( m_writingModeWidget, TQT_SIGNAL(writingModeChanged(int)), this, TQT_SLOT(slotToggleAll()) );
connect( m_writerSelectionWidget, TQ_SIGNAL(writerChanged()), this, TQ_SLOT(slotToggleAll()) );
connect( m_comboSourceDevice, TQ_SIGNAL(selectionChanged(K3bDevice::Device*)), this, TQ_SLOT(slotToggleAll()) );
connect( m_comboSourceDevice, TQ_SIGNAL(selectionChanged(K3bDevice::Device*)),
this, TQ_SLOT(slotSourceMediumChanged(K3bDevice::Device*)) );
connect( m_checkSimulate, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotToggleAll()) );
connect( m_checkCacheImage, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotToggleAll()) );
connect( m_checkOnlyCreateImage, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotToggleAll()) );
connect( m_writingModeWidget, TQ_SIGNAL(writingModeChanged(int)), this, TQ_SLOT(slotToggleAll()) );
TQToolTip::add( m_checkIgnoreReadErrors, i18n("Skip unreadable sectors") );
TQWhatsThis::add( m_checkIgnoreReadErrors, i18n("<p>If this option is checked and K3b is not able to read a sector from the "

@ -99,9 +99,9 @@ K3bDvdFormattingDialog::K3bDvdFormattingDialog( TQWidget* parent, const char* na
"time and some DVD writers perform a full format even if "
"quick format is enabled." ) );
connect( m_writerSelectionWidget, TQT_SIGNAL(writerChanged()), this, TQT_SLOT(slotWriterChanged()) );
connect( m_writerSelectionWidget, TQT_SIGNAL(writerChanged(K3bDevice::Device*)),
m_writingModeWidget, TQT_SLOT(determineSupportedModesFromMedium(K3bDevice::Device*)) );
connect( m_writerSelectionWidget, TQ_SIGNAL(writerChanged()), this, TQ_SLOT(slotWriterChanged()) );
connect( m_writerSelectionWidget, TQ_SIGNAL(writerChanged(K3bDevice::Device*)),
m_writingModeWidget, TQ_SLOT(determineSupportedModesFromMedium(K3bDevice::Device*)) );
slotWriterChanged();
}

@ -103,23 +103,23 @@ K3bIsoImageWritingDialog::K3bIsoImageWritingDialog( TQWidget* parent, const char
m_writingModeWidget->setSupportedModes( K3b::DAO|K3b::WRITING_MODE_INCR_SEQ|K3b::WRITING_MODE_RES_OVWR );
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)),
this, TQT_SLOT(slotMd5JobPercent(int)) );
connect( m_md5Job, TQ_SIGNAL(finished(bool)),
this, TQ_SLOT(slotMd5JobFinished(bool)) );
connect( m_md5Job, TQ_SIGNAL(percent(int)),
this, TQ_SLOT(slotMd5JobPercent(int)) );
updateImageSize( imagePath() );
connect( m_writerSelectionWidget, TQT_SIGNAL(writerChanged()),
this, TQT_SLOT(slotWriterChanged()) );
connect( m_writerSelectionWidget, TQT_SIGNAL(writingAppChanged(int)),
this, TQT_SLOT(slotWriterChanged()) );
connect( m_writingModeWidget, TQT_SIGNAL(writingModeChanged(int)),
this, TQT_SLOT(slotWriterChanged()) );
connect( m_editImagePath, TQT_SIGNAL(textChanged(const TQString&)),
this, TQT_SLOT(updateImageSize(const TQString&)) );
connect( m_checkDummy, TQT_SIGNAL(toggled(bool)),
this, TQT_SLOT(slotWriterChanged()) );
connect( m_writerSelectionWidget, TQ_SIGNAL(writerChanged()),
this, TQ_SLOT(slotWriterChanged()) );
connect( m_writerSelectionWidget, TQ_SIGNAL(writingAppChanged(int)),
this, TQ_SLOT(slotWriterChanged()) );
connect( m_writingModeWidget, TQ_SIGNAL(writingModeChanged(int)),
this, TQ_SLOT(slotWriterChanged()) );
connect( m_editImagePath, TQ_SIGNAL(textChanged(const TQString&)),
this, TQ_SLOT(updateImageSize(const TQString&)) );
connect( m_checkDummy, TQ_SIGNAL(toggled(bool)),
this, TQ_SLOT(slotWriterChanged()) );
}
@ -156,7 +156,7 @@ void K3bIsoImageWritingDialog::setupGui()
m_editImagePath->setFilter( i18n("*.iso *.ISO|ISO9660 Image Files") + "\n"
+ i18n("*|All Files") );
connect( m_editImagePath->lineEdit(), TQT_SIGNAL( textChanged ( const TQString & ) ), this, TQT_SLOT( slotWriterChanged() ) );
connect( m_editImagePath->lineEdit(), TQ_SIGNAL( textChanged ( const TQString & ) ), this, TQ_SLOT( slotWriterChanged() ) );
// image info
// -----------------------------------------------------------------------
@ -170,8 +170,8 @@ void K3bIsoImageWritingDialog::setupGui()
m_infoView->setFullWidth(true);
m_infoView->setSelectionMode( TQListView::NoSelection );
connect( m_infoView, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
this, TQT_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
connect( m_infoView, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
this, TQ_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
m_writerSelectionWidget = new K3bWriterSelectionWidget( frame );

@ -89,10 +89,10 @@ void K3bBurningOptionTab::setupGui()
groupAdvancedLayout->setRowStretch( 2, 1 );
connect( m_checkManualWritingBufferSize, TQT_SIGNAL(toggled(bool)),
m_editWritingBufferSize, TQT_SLOT(setEnabled(bool)) );
connect( m_checkManualWritingBufferSize, TQT_SIGNAL(toggled(bool)),
this, TQT_SLOT(slotSetDefaultBufferSizes(bool)) );
connect( m_checkManualWritingBufferSize, TQ_SIGNAL(toggled(bool)),
m_editWritingBufferSize, TQ_SLOT(setEnabled(bool)) );
connect( m_checkManualWritingBufferSize, TQ_SIGNAL(toggled(bool)),
this, TQ_SLOT(slotSetDefaultBufferSizes(bool)) );
m_editWritingBufferSize->setDisabled( true );

@ -99,24 +99,24 @@ K3bCddbOptionTab::K3bCddbOptionTab( TQWidget* parent, const char* name )
// setup connections
// -----------------------------------------------------------------------------
connect( m_buttonAddLocalDir, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotLocalDirAdd()) );
connect( m_buttonRemoveLocalDir, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotLocalDirRemove()) );
connect( m_buttonLocalDirUp, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotLocalDirUp()) );
connect( m_buttonLocalDirDown, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotLocalDirDown()) );
connect( m_buttonAddCddbServer, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCddbServerAdd()) );
connect( m_buttonRemoveCddbServer, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCddbServerRemove()) );
connect( m_buttonCddbServerUp, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCddbServerUp()) );
connect( m_buttonCddbServerDown, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCddbServerDown()) );
connect( m_editLocalDir, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(enDisableButtons()) );
connect( m_editCddbServer, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(enDisableButtons()) );
connect( m_viewLocalDir, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(enDisableButtons()) );
connect( m_viewCddbServer, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(enDisableButtons()) );
connect( m_comboCddbType, TQT_SIGNAL(highlighted(int)),
this, TQT_SLOT(slotServerTypeChanged()) );
connect( m_comboCddbType, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotServerTypeChanged()) );
connect( m_buttonAddLocalDir, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotLocalDirAdd()) );
connect( m_buttonRemoveLocalDir, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotLocalDirRemove()) );
connect( m_buttonLocalDirUp, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotLocalDirUp()) );
connect( m_buttonLocalDirDown, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotLocalDirDown()) );
connect( m_buttonAddCddbServer, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCddbServerAdd()) );
connect( m_buttonRemoveCddbServer, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCddbServerRemove()) );
connect( m_buttonCddbServerUp, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCddbServerUp()) );
connect( m_buttonCddbServerDown, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCddbServerDown()) );
connect( m_editLocalDir, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(enDisableButtons()) );
connect( m_editCddbServer, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(enDisableButtons()) );
connect( m_viewLocalDir, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(enDisableButtons()) );
connect( m_viewCddbServer, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(enDisableButtons()) );
connect( m_comboCddbType, TQ_SIGNAL(highlighted(int)),
this, TQ_SLOT(slotServerTypeChanged()) );
connect( m_comboCddbType, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(slotServerTypeChanged()) );
// -----------------------------------------------------------------------------
enDisableButtons();

@ -56,7 +56,7 @@ K3bDeviceOptionTab::K3bDeviceOptionTab( TQWidget* parent, const char* name )
frameLayout->addWidget( m_labelDevicesInfo, 0, 0 );
frameLayout->addWidget( m_deviceWidget, 1, 0 );
connect( m_deviceWidget, TQT_SIGNAL(refreshButtonClicked()), this, TQT_SLOT(slotRefreshButtonClicked()) );
connect( m_deviceWidget, TQ_SIGNAL(refreshButtonClicked()), this, TQ_SLOT(slotRefreshButtonClicked()) );
}

@ -198,10 +198,10 @@ K3bDeviceWidget::K3bDeviceWidget( K3bDevice::DeviceManager* manager, TQWidget *p
// connections
// ------------------------------------------------
// connect( m_buttonRefreshDevices, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotRefreshDevices()) );
connect( m_buttonRefreshDevices, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(refreshButtonClicked()) );
connect( m_buttonAddDevice, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNewDevice()) );
connect( m_deviceManager, TQT_SIGNAL(changed()), this, TQT_SLOT(init()) );
// connect( m_buttonRefreshDevices, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotRefreshDevices()) );
connect( m_buttonRefreshDevices, TQ_SIGNAL(clicked()), this, TQ_SIGNAL(refreshButtonClicked()) );
connect( m_buttonAddDevice, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNewDevice()) );
connect( m_deviceManager, TQ_SIGNAL(changed()), this, TQ_SLOT(init()) );
// ------------------------------------------------
}

@ -184,9 +184,9 @@ K3bExternalBinWidget::K3bExternalBinWidget( K3bExternalBinManager* manager, TQWi
m_programRootItems.setAutoDelete( true );
connect( m_rescanButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(rescan()) );
connect( m_defaultButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSetDefaultButtonClicked()) );
connect( m_programView, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(slotProgramSelectionChanged(TQListViewItem*)) );
connect( m_rescanButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(rescan()) );
connect( m_defaultButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSetDefaultButtonClicked()) );
connect( m_programView, TQ_SIGNAL(selectionChanged(TQListViewItem*)), this, TQ_SLOT(slotProgramSelectionChanged(TQListViewItem*)) );
slotProgramSelectionChanged( 0 );
}

@ -42,8 +42,8 @@ K3bMiscOptionTab::K3bMiscOptionTab(TQWidget *parent, const char *name )
: base_K3bMiscOptionTab(parent,name)
{
m_editTempDir->setMode( KFile::Directory );
connect( m_buttonConfigureAudioOutput, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotConfigureAudioOutput()) );
connect( m_buttonConfigureAudioOutput, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotConfigureAudioOutput()) );
m_comboActionDialogSettings->insertItem( K3bInteractionDialog::LOAD_K3B_DEFAULTS,
i18n("Default Settings"),

@ -72,9 +72,9 @@ K3bPluginOptionTab::K3bPluginOptionTab( TQWidget* parent, const char* name )
m_viewPlugins->setAlternateBackground( TQColor() );
m_viewPlugins->setAllColumnsShowFocus(true);
connect( m_viewPlugins, TQT_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), this, TQT_SLOT(slotConfigureButtonClicked()) );
connect( m_buttonConfigure, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotConfigureButtonClicked()) );
connect( m_viewPlugins, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotSelectionChanged()) );
connect( m_viewPlugins, TQ_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), this, TQ_SLOT(slotConfigureButtonClicked()) );
connect( m_buttonConfigure, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotConfigureButtonClicked()) );
connect( m_viewPlugins, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotSelectionChanged()) );
}

@ -67,14 +67,14 @@ K3bThemeOptionTab::K3bThemeOptionTab(TQWidget *parent, const char *name )
m_viewTheme->setShadeSortColumn( false );
#endif
connect( m_viewTheme, TQT_SIGNAL(selectionChanged()),
this, TQT_SLOT(selectionChanged()) );
connect( kapp, TQT_SIGNAL(appearanceChanged()),
this, TQT_SLOT(selectionChanged()) );
connect( m_buttonInstallTheme, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotInstallTheme()) );
connect( m_buttonRemoveTheme, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotRemoveTheme()) );
connect( m_viewTheme, TQ_SIGNAL(selectionChanged()),
this, TQ_SLOT(selectionChanged()) );
connect( kapp, TQ_SIGNAL(appearanceChanged()),
this, TQ_SLOT(selectionChanged()) );
connect( m_buttonInstallTheme, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotInstallTheme()) );
connect( m_buttonRemoveTheme, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotRemoveTheme()) );
}

@ -103,10 +103,10 @@ K3bAudioBurnDialog::K3bAudioBurnDialog(K3bAudioDoc* _doc, TQWidget *parent, cons
addPage( advancedTab, i18n("Advanced") );
connect( m_writerSelectionWidget, TQT_SIGNAL(writingAppChanged(int)), this, TQT_SLOT(slotToggleAll()) );
connect( m_checkNormalize, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotNormalizeToggled(bool)) );
connect( m_checkCacheImage, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotCacheImageToggled(bool)) );
connect( m_writingModeWidget, TQT_SIGNAL(writingModeChanged(int)), this, TQT_SLOT(slotToggleAll()) );
connect( m_writerSelectionWidget, TQ_SIGNAL(writingAppChanged(int)), this, TQ_SLOT(slotToggleAll()) );
connect( m_checkNormalize, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotNormalizeToggled(bool)) );
connect( m_checkCacheImage, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotCacheImageToggled(bool)) );
connect( m_writingModeWidget, TQ_SIGNAL(writingModeChanged(int)), this, TQ_SLOT(slotToggleAll()) );
// ToolTips
// -------------------------------------------------------------------------

@ -80,19 +80,19 @@ K3bAudioCdTextWidget::K3bAudioCdTextWidget( TQWidget* parent, const char* name )
m_allFieldsDlg->w->m_editSongwriter->setValidator( cdTextVal );
m_allFieldsDlg->w->m_editComposer->setValidator( cdTextVal );
connect( m_allFieldsDlg->w->m_buttonCopyTitle, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotCopyTitle()) );
connect( m_allFieldsDlg->w->m_buttonCopyPerformer, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotCopyPerformer()) );
connect( m_allFieldsDlg->w->m_buttonCopyArranger, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotCopyArranger()) );
connect( m_allFieldsDlg->w->m_buttonCopySongwriter, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotCopySongwriter()) );
connect( m_allFieldsDlg->w->m_buttonCopyComposer, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotCopyComposer()) );
connect( m_buttonMoreFields, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotMoreFields()) );
connect( m_allFieldsDlg->w->m_buttonCopyTitle, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotCopyTitle()) );
connect( m_allFieldsDlg->w->m_buttonCopyPerformer, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotCopyPerformer()) );
connect( m_allFieldsDlg->w->m_buttonCopyArranger, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotCopyArranger()) );
connect( m_allFieldsDlg->w->m_buttonCopySongwriter, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotCopySongwriter()) );
connect( m_allFieldsDlg->w->m_buttonCopyComposer, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotCopyComposer()) );
connect( m_buttonMoreFields, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotMoreFields()) );
}

@ -51,14 +51,14 @@ K3bAudioDataSourceEditWidget::K3bAudioDataSourceEditWidget( TQWidget* parent, co
grid->setColStretch( 1, 1 );
// setup connections between the msfedits and the editor
connect( m_editor, TQT_SIGNAL(rangeChanged(int, const K3b::Msf&, const K3b::Msf&)),
this, TQT_SLOT(slotRangeModified(int, const K3b::Msf&, const K3b::Msf&)) );
connect( m_editor, TQ_SIGNAL(rangeChanged(int, const K3b::Msf&, const K3b::Msf&)),
this, TQ_SLOT(slotRangeModified(int, const K3b::Msf&, const K3b::Msf&)) );
connect( m_editStartOffset, TQT_SIGNAL(valueChanged(const K3b::Msf&)),
this, TQT_SLOT(slotStartOffsetEdited(const K3b::Msf&)) );
connect( m_editStartOffset, TQ_SIGNAL(valueChanged(const K3b::Msf&)),
this, TQ_SLOT(slotStartOffsetEdited(const K3b::Msf&)) );
connect( m_editEndOffset, TQT_SIGNAL(valueChanged(const K3b::Msf&)),
this, TQT_SLOT(slotEndOffsetEdited(const K3b::Msf&)) );
connect( m_editEndOffset, TQ_SIGNAL(valueChanged(const K3b::Msf&)),
this, TQ_SLOT(slotEndOffsetEdited(const K3b::Msf&)) );
TQToolTip::add( m_editor, i18n("Drag the edges of the highlighted area to define the portion of the "
"audio source you want to include in the Audio CD track. "

@ -78,7 +78,7 @@ K3bAudioTrackAddingDialog::K3bAudioTrackAddingDialog( TQWidget* parent, const ch
m_analyserThread = new AnalyserThread();
m_analyserJob = new K3bThreadJob( m_analyserThread, this, this );
connect( m_analyserJob, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotAnalysingFinished(bool)) );
connect( m_analyserJob, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotAnalysingFinished(bool)) );
}
@ -107,7 +107,7 @@ int K3bAudioTrackAddingDialog::addUrls( const KURL::List& urls,
dlg.m_infoLabel->setText( i18n("Adding files to project \"%1\"...").arg(doc->URL().fileName()) );
dlg.m_busyWidget->showBusy(true);
TQTimer::singleShot( 0, &dlg, TQT_SLOT(slotAddUrls()) );
TQTimer::singleShot( 0, &dlg, TQ_SLOT(slotAddUrls()) );
int ret = dlg.exec();
TQString message;
@ -199,7 +199,7 @@ void K3bAudioTrackAddingDialog::slotAddUrls()
// invalid file, next url
if( !valid ) {
m_urls.remove( m_urls.begin() );
TQTimer::singleShot( 0, this, TQT_SLOT(slotAddUrls()) );
TQTimer::singleShot( 0, this, TQ_SLOT(slotAddUrls()) );
}
}
@ -251,7 +251,7 @@ void K3bAudioTrackAddingDialog::slotAnalysingFinished( bool /*success*/ )
}
}
TQTimer::singleShot( 0, this, TQT_SLOT(slotAddUrls()) );
TQTimer::singleShot( 0, this, TQ_SLOT(slotAddUrls()) );
}

@ -70,43 +70,43 @@ K3bAudioTrackPlayer::K3bAudioTrackPlayer( K3bAudioDoc* doc, TQObject* parent, co
d->actionPlay = new TDEAction( i18n("Play"),
"media-playback-start",
TDEShortcut(),
this, TQT_SLOT(playPause()),
this, TQ_SLOT(playPause()),
d->actionCollection,
"play" );
d->actionPause = new TDEAction( i18n("Pause"),
"media-playback-pause",
TDEShortcut(),
this, TQT_SLOT(playPause()),
this, TQ_SLOT(playPause()),
d->actionCollection,
"pause" );
d->actionPlayPause = new TDEAction( i18n("Play/Pause"),
"media-playback-start",
TDEShortcut(),
this, TQT_SLOT(playPause()),
this, TQ_SLOT(playPause()),
d->actionCollection,
"play_pause" );
d->actionStop = new TDEAction( i18n("Stop"),
"media-playback-stop",
TDEShortcut(),
this, TQT_SLOT(stop()),
this, TQ_SLOT(stop()),
d->actionCollection,
"stop" );
d->actionNext = new TDEAction( i18n("Next"),
"media-skip-forward",
TDEShortcut(),
this, TQT_SLOT(next()),
this, TQ_SLOT(next()),
d->actionCollection,
"next" );
d->actionPrev = new TDEAction( i18n("Prev"),
"media-skip-backward",
TDEShortcut(),
this, TQT_SLOT(prev()),
this, TQ_SLOT(prev()),
d->actionCollection,
"prev" );
d->seekSlider = new TQSlider( 0, 100, 1, 0, TQt::Horizontal, 0, "audiotrackplayerslider" );
connect( d->seekSlider, TQT_SIGNAL(sliderMoved(int)), this, TQT_SLOT(slotSeek(int)) );
connect( d->seekSlider, TQ_SIGNAL(sliderMoved(int)), this, TQ_SLOT(slotSeek(int)) );
// FIXME: maybe it's not such a good idea to use a KWidgetAction here since this way the player
// can only be used once in one widget. If the action would always create a new slider we could plug
// the action into several toolboxes and also use it in some resizing or track splitting dialogs.
@ -118,7 +118,7 @@ K3bAudioTrackPlayer::K3bAudioTrackPlayer( K3bAudioDoc* doc, TQObject* parent, co
d->actionCollection,
"seek" );
// this should be done in KWidgetAction but is not yet
connect( d->actionSeek, TQT_SIGNAL(enabled(bool)), d->seekSlider, TQT_SLOT(setEnabled(bool)) );
connect( d->actionSeek, TQ_SIGNAL(enabled(bool)), d->seekSlider, TQ_SLOT(setEnabled(bool)) );
d->actionStop->setEnabled(false);
d->actionPause->setEnabled(false);
@ -126,18 +126,18 @@ K3bAudioTrackPlayer::K3bAudioTrackPlayer( K3bAudioDoc* doc, TQObject* parent, co
d->actionPrev->setEnabled(false);
d->actionSeek->setEnabled(false);
connect( m_doc, TQT_SIGNAL(changed()),
this, TQT_SLOT(slotDocChanged()) );
connect( m_doc, TQT_SIGNAL(trackChanged(K3bAudioTrack*)),
this, TQT_SLOT(slotTrackChanged(K3bAudioTrack*)) );
connect( m_doc, TQT_SIGNAL(trackRemoved(K3bAudioTrack*)),
this, TQT_SLOT(slotTrackRemoved(K3bAudioTrack*)) );
connect( &d->sliderTimer, TQT_SIGNAL(timeout()),
this, TQT_SLOT(slotUpdateSlider()) );
connect( m_doc, TQ_SIGNAL(changed()),
this, TQ_SLOT(slotDocChanged()) );
connect( m_doc, TQ_SIGNAL(trackChanged(K3bAudioTrack*)),
this, TQ_SLOT(slotTrackChanged(K3bAudioTrack*)) );
connect( m_doc, TQ_SIGNAL(trackRemoved(K3bAudioTrack*)),
this, TQ_SLOT(slotTrackRemoved(K3bAudioTrack*)) );
connect( &d->sliderTimer, TQ_SIGNAL(timeout()),
this, TQ_SLOT(slotUpdateSlider()) );
// we just stop the player if the audio server has an error. K3bMainWindow will show the error message
// This is all very hacky and has to be improved for K3b 2.0. But then we will probably use Phonon anyway...
connect( K3bAudioServer::instance(), TQT_SIGNAL(error(const TQString&)), this, TQT_SLOT(stop()) );
connect( K3bAudioServer::instance(), TQ_SIGNAL(error(const TQString&)), this, TQ_SLOT(stop()) );
// tooltips
d->actionPlay->setToolTip( i18n("Play") );

@ -60,14 +60,14 @@ K3bAudioTrackSplitDialog::K3bAudioTrackSplitDialog( K3bAudioTrack* track, TQWidg
m_editorWidget->enableRangeSelection( true );
m_editorWidget->installEventFilter( this );
connect( m_editorWidget, TQT_SIGNAL(rangeChanged(int, const K3b::Msf&, const K3b::Msf&)),
this, TQT_SLOT(slotRangeModified(int, const K3b::Msf&, const K3b::Msf&)) );
connect( m_editorWidget, TQT_SIGNAL(selectedRangeChanged(int)),
this, TQT_SLOT(slotRangeSelectionChanged(int)) );
connect( m_msfEditStart, TQT_SIGNAL(valueChanged(const K3b::Msf&)),
this, TQT_SLOT(slotMsfEditChanged(const K3b::Msf&)) );
connect( m_msfEditEnd, TQT_SIGNAL(valueChanged(const K3b::Msf&)),
this, TQT_SLOT(slotMsfEditChanged(const K3b::Msf&)) );
connect( m_editorWidget, TQ_SIGNAL(rangeChanged(int, const K3b::Msf&, const K3b::Msf&)),
this, TQ_SLOT(slotRangeModified(int, const K3b::Msf&, const K3b::Msf&)) );
connect( m_editorWidget, TQ_SIGNAL(selectedRangeChanged(int)),
this, TQ_SLOT(slotRangeSelectionChanged(int)) );
connect( m_msfEditStart, TQ_SIGNAL(valueChanged(const K3b::Msf&)),
this, TQ_SLOT(slotMsfEditChanged(const K3b::Msf&)) );
connect( m_msfEditEnd, TQ_SIGNAL(valueChanged(const K3b::Msf&)),
this, TQ_SLOT(slotMsfEditChanged(const K3b::Msf&)) );
setupActions();
@ -94,11 +94,11 @@ void K3bAudioTrackSplitDialog::setupActions()
m_popupMenu = new TDEPopupMenu( this );
TDEAction* actionSplitHere = new TDEAction( i18n("Split Here"), 0,
TDEShortcut(), this, TQT_SLOT(slotSplitHere()),
TDEShortcut(), this, TQ_SLOT(slotSplitHere()),
actionCollection(), "range_split" );
// FIXME: after the message freeze give this action a proper name like "Remove track part"
TDEAction* actionRemoveRange = new TDEAction( i18n("Remove this Range"), 0,
TDEShortcut(), this, TQT_SLOT(slotRemoveRange()),
TDEShortcut(), this, TQ_SLOT(slotRemoveRange()),
actionCollection(), "range_remove" );
actionSplitHere->plug( m_popupMenu );

@ -68,11 +68,11 @@ K3bAudioTrackTRMLookupDialog::K3bAudioTrackTRMLookupDialog( TQWidget* parent, co
m_inLoop = false;
m_mbJob = new K3bMusicBrainzJob( this );
connect( m_mbJob, TQT_SIGNAL(infoMessage(const TQString&, int)),
this, TQT_SLOT(slotMbJobInfoMessage(const TQString&, int)) );
connect( m_mbJob, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotMbJobFinished(bool)) );
connect( m_mbJob, TQT_SIGNAL(trackFinished(K3bAudioTrack*, bool)),
this, TQT_SLOT(slotTrackFinished(K3bAudioTrack*, bool)) );
connect( m_mbJob, TQ_SIGNAL(infoMessage(const TQString&, int)),
this, TQ_SLOT(slotMbJobInfoMessage(const TQString&, int)) );
connect( m_mbJob, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotMbJobFinished(bool)) );
connect( m_mbJob, TQ_SIGNAL(trackFinished(K3bAudioTrack*, bool)),
this, TQ_SLOT(slotTrackFinished(K3bAudioTrack*, bool)) );
}

@ -69,10 +69,10 @@ K3bAudioTrackView::K3bAudioTrackView( K3bAudioDoc* doc, TQWidget* parent, const
m_currentlyPlayingTrack(0)
{
m_player = new K3bAudioTrackPlayer( m_doc, this );
connect( m_player, TQT_SIGNAL(playingTrack(K3bAudioTrack*)), this,
TQT_SLOT(showPlayerIndicator(K3bAudioTrack*)) );
connect( m_player, TQT_SIGNAL(paused(bool)), this, TQT_SLOT(togglePauseIndicator(bool)) );
connect( m_player, TQT_SIGNAL(stopped()), this, TQT_SLOT(removePlayerIndicator()) );
connect( m_player, TQ_SIGNAL(playingTrack(K3bAudioTrack*)), this,
TQ_SLOT(showPlayerIndicator(K3bAudioTrack*)) );
connect( m_player, TQ_SIGNAL(paused(bool)), this, TQ_SLOT(togglePauseIndicator(bool)) );
connect( m_player, TQ_SIGNAL(stopped()), this, TQ_SLOT(removePlayerIndicator()) );
setItemMargin( 5 );
setAcceptDrops( true );
@ -93,24 +93,24 @@ K3bAudioTrackView::K3bAudioTrackView( K3bAudioDoc* doc, TQWidget* parent, const
m_playerItemAnimator = new K3bListViewItemAnimator( this );
m_animationTimer = new TQTimer( this );
connect( m_animationTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotAnimation()) );
connect( m_animationTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotAnimation()) );
m_autoOpenTrackTimer = new TQTimer( this );
connect( m_autoOpenTrackTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotDragTimeout()) );
connect( this, TQT_SIGNAL(dropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)),
this, TQT_SLOT(slotDropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)) );
connect( this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
this, TQT_SLOT(showPopupMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
connect( this, TQT_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)),
this, TQT_SLOT(slotProperties()) );
connect( doc, TQT_SIGNAL(changed()),
this, TQT_SLOT(slotChanged()) );
connect( doc, TQT_SIGNAL(trackChanged(K3bAudioTrack*)),
this, TQT_SLOT(slotTrackChanged(K3bAudioTrack*)) );
connect( doc, TQT_SIGNAL(trackRemoved(K3bAudioTrack*)),
this, TQT_SLOT(slotTrackRemoved(K3bAudioTrack*)) );
connect( m_autoOpenTrackTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotDragTimeout()) );
connect( this, TQ_SIGNAL(dropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)),
this, TQ_SLOT(slotDropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)) );
connect( this, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
this, TQ_SLOT(showPopupMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
connect( this, TQ_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)),
this, TQ_SLOT(slotProperties()) );
connect( doc, TQ_SIGNAL(changed()),
this, TQ_SLOT(slotChanged()) );
connect( doc, TQ_SIGNAL(trackChanged(K3bAudioTrack*)),
this, TQ_SLOT(slotTrackChanged(K3bAudioTrack*)) );
connect( doc, TQ_SIGNAL(trackRemoved(K3bAudioTrack*)),
this, TQ_SLOT(slotTrackRemoved(K3bAudioTrack*)) );
slotChanged();
@ -155,33 +155,33 @@ void K3bAudioTrackView::setupActions()
m_popupMenu = new TDEPopupMenu( this );
m_actionProperties = new TDEAction( i18n("Properties"), "misc",
TDEShortcut(), this, TQT_SLOT(slotProperties()),
TDEShortcut(), this, TQ_SLOT(slotProperties()),
actionCollection(), "track_properties" );
m_actionRemove = new TDEAction( i18n( "Remove" ), "edit-delete",
Key_Delete, this, TQT_SLOT(slotRemove()),
Key_Delete, this, TQ_SLOT(slotRemove()),
actionCollection(), "track_remove" );
m_actionAddSilence = new TDEAction( i18n("Add Silence") + "...", "misc",
TDEShortcut(), this, TQT_SLOT(slotAddSilence()),
TDEShortcut(), this, TQ_SLOT(slotAddSilence()),
actionCollection(), "track_add_silence" );
m_actionMergeTracks = new TDEAction( i18n("Merge Tracks"), "misc",
TDEShortcut(), this, TQT_SLOT(slotMergeTracks()),
TDEShortcut(), this, TQ_SLOT(slotMergeTracks()),
actionCollection(), "track_merge" );
m_actionSplitSource = new TDEAction( i18n("Source to Track"), "misc",
TDEShortcut(), this, TQT_SLOT(slotSplitSource()),
TDEShortcut(), this, TQ_SLOT(slotSplitSource()),
actionCollection(), "source_split" );
m_actionSplitTrack = new TDEAction( i18n("Split Track..."), 0,
TDEShortcut(), this, TQT_SLOT(slotSplitTrack()),
TDEShortcut(), this, TQ_SLOT(slotSplitTrack()),
actionCollection(), "track_split" );
m_actionEditSource = new TDEAction( i18n("Edit Source..."), 0,
TDEShortcut(), this, TQT_SLOT(slotEditSource()),
TDEShortcut(), this, TQ_SLOT(slotEditSource()),
actionCollection(), "source_edit" );
m_actionPlayTrack = new TDEAction( i18n("Play Track"), "media-playback-start",
TDEShortcut(), this, TQT_SLOT(slotPlayTrack()),
TDEShortcut(), this, TQ_SLOT(slotPlayTrack()),
actionCollection(), "track_play" );
#ifdef HAVE_MUSICBRAINZ
TDEAction* mbAction = new TDEAction( i18n("Musicbrainz Lookup"), "musicbrainz", 0, this,
TQT_SLOT(slotQueryMusicBrainz()),
TQ_SLOT(slotQueryMusicBrainz()),
actionCollection(), "project_audio_musicbrainz" );
mbAction->setToolTip( i18n("Try to determine meta information over the internet") );
#endif
@ -394,7 +394,7 @@ void K3bAudioTrackView::slotDropped( TQDropEvent* e, TQListViewItem* parent, TQL
// event queues: the url adding dialog will be non-modal regardless of
// the settings in case we open it directly.
//
TQTimer::singleShot( 0, this, TQT_SLOT(slotAddUrls()) );
TQTimer::singleShot( 0, this, TQ_SLOT(slotAddUrls()) );
}
}

@ -59,7 +59,7 @@ K3bAudioView::K3bAudioView( K3bAudioDoc* pDoc, TQWidget* parent, const char *nam
fillStatusDisplay()->showTime();
// add button for the audio conversion
TDEAction* conversionAction = new TDEAction( i18n("Convert Tracks"), "edit-redo", 0, this, TQT_SLOT(slotAudioConversion()),
TDEAction* conversionAction = new TDEAction( i18n("Convert Tracks"), "edit-redo", 0, this, TQ_SLOT(slotAudioConversion()),
actionCollection(), "project_audio_convert" );
conversionAction->setToolTip( i18n("Convert audio tracks to other audio formats." ) );

@ -79,16 +79,16 @@ K3bBootImageView::K3bBootImageView( K3bDataDoc* doc, TQWidget* parent, const cha
: base_K3bBootImageView( parent, name ),
m_doc(doc)
{
connect( m_buttonNew, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotNewBootImage()) );
connect( m_buttonDelete, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotDeleteBootImage()) );
connect( m_buttonToggleOptions, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotToggleOptions()) );
connect( m_viewImages, TQT_SIGNAL(selectionChanged()),
this, TQT_SLOT(slotSelectionChanged()) );
connect( m_radioNoEmulation, TQT_SIGNAL(toggled(bool)),
this, TQT_SLOT(slotNoEmulationToggled(bool)) );
connect( m_buttonNew, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotNewBootImage()) );
connect( m_buttonDelete, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotDeleteBootImage()) );
connect( m_buttonToggleOptions, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotToggleOptions()) );
connect( m_viewImages, TQ_SIGNAL(selectionChanged()),
this, TQ_SLOT(slotSelectionChanged()) );
connect( m_radioNoEmulation, TQ_SIGNAL(toggled(bool)),
this, TQ_SLOT(slotNoEmulationToggled(bool)) );
K3bIntValidator* v = new K3bIntValidator( this );
m_editLoadSegment->setValidator( v );

@ -251,7 +251,7 @@ K3bDataAdvancedImageSettingsWidget::K3bDataAdvancedImageSettingsWidget( TQWidget
m_comboInputCharset->insertItem( TQString( mkisofsCharacterSets[i] ) );
}
connect( m_checkJoliet, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotJolietToggled(bool)) );
connect( m_checkJoliet, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotJolietToggled(bool)) );
}

@ -84,8 +84,8 @@ K3bDataBurnDialog::K3bDataBurnDialog(K3bDataDoc* _doc, TQWidget *parent, const c
setupSettingsTab();
connect( m_comboMultisession, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotMultiSessionModeChanged()) );
connect( m_comboMultisession, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(slotMultiSessionModeChanged()) );
m_writerSelectionWidget->setWantedMediumState( K3bDevice::STATE_EMPTY|K3bDevice::STATE_INCOMPLETE );
@ -98,8 +98,8 @@ K3bDataBurnDialog::K3bDataBurnDialog(K3bDataDoc* _doc, TQWidget *parent, const c
m_tempDirSelectionWidget->setDefaultImageFileName( _doc->isoOptions().volumeID() + ".iso" );
}
connect( m_imageSettingsWidget->m_editVolumeName, TQT_SIGNAL(textChanged(const TQString&)),
m_tempDirSelectionWidget, TQT_SLOT(setDefaultImageFileName(const TQString&)) );
connect( m_imageSettingsWidget->m_editVolumeName, TQ_SIGNAL(textChanged(const TQString&)),
m_tempDirSelectionWidget, TQ_SLOT(setDefaultImageFileName(const TQString&)) );
}
K3bDataBurnDialog::~K3bDataBurnDialog()

@ -89,15 +89,15 @@ K3bDataDirTreeView::K3bDataDirTreeView( K3bView* view, K3bDataDoc* doc, TQWidget
m_root = new K3bDataRootViewItem( doc, this );
m_itemMap.insert( doc->root(), m_root );
connect( m_doc, TQT_SIGNAL(changed()), this, TQT_SLOT(slotDocChanged()) );
connect( this, TQT_SIGNAL(clicked(TQListViewItem*)), this, TQT_SLOT(slotExecuted(TQListViewItem*)) );
connect( this, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(slotExecuted(TQListViewItem*)) );
connect( m_doc, TQT_SIGNAL(itemRemoved(K3bDataItem*)), this, TQT_SLOT(slotDataItemRemoved(K3bDataItem*)) );
connect( m_doc, TQT_SIGNAL(itemAdded(K3bDataItem*)), this, TQT_SLOT(slotItemAdded(K3bDataItem*)) );
connect( this, TQT_SIGNAL(contextMenu(TDEListView*,TQListViewItem*, const TQPoint&)),
this, TQT_SLOT(showPopupMenu(TDEListView*,TQListViewItem*, const TQPoint&)) );
connect( this, TQT_SIGNAL(dropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)),
this, TQT_SLOT(slotDropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)) );
connect( m_doc, TQ_SIGNAL(changed()), this, TQ_SLOT(slotDocChanged()) );
connect( this, TQ_SIGNAL(clicked(TQListViewItem*)), this, TQ_SLOT(slotExecuted(TQListViewItem*)) );
connect( this, TQ_SIGNAL(selectionChanged(TQListViewItem*)), this, TQ_SLOT(slotExecuted(TQListViewItem*)) );
connect( m_doc, TQ_SIGNAL(itemRemoved(K3bDataItem*)), this, TQ_SLOT(slotDataItemRemoved(K3bDataItem*)) );
connect( m_doc, TQ_SIGNAL(itemAdded(K3bDataItem*)), this, TQ_SLOT(slotItemAdded(K3bDataItem*)) );
connect( this, TQ_SIGNAL(contextMenu(TDEListView*,TQListViewItem*, const TQPoint&)),
this, TQ_SLOT(showPopupMenu(TDEListView*,TQListViewItem*, const TQPoint&)) );
connect( this, TQ_SIGNAL(dropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)),
this, TQ_SLOT(slotDropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)) );
setupActions();
}
@ -207,7 +207,7 @@ void K3bDataDirTreeView::slotDropped( TQDropEvent* e, TQListViewItem*, TQListVie
// event queues: the url adding dialog will be non-modal regardless of
// the settings in case we open it directly.
//
TQTimer::singleShot( 0, this, TQT_SLOT(slotAddUrls()) );
TQTimer::singleShot( 0, this, TQ_SLOT(slotAddUrls()) );
}
}
}
@ -280,15 +280,15 @@ void K3bDataDirTreeView::setupActions()
{
m_actionCollection = new TDEActionCollection( this );
m_actionProperties = new TDEAction( i18n("Properties"), "misc", 0, this, TQT_SLOT(slotProperties()),
m_actionProperties = new TDEAction( i18n("Properties"), "misc", 0, this, TQ_SLOT(slotProperties()),
actionCollection(), "properties" );
m_actionNewDir = new TDEAction( i18n("New Directory..."), "folder-new", CTRL+Key_N, this, TQT_SLOT(slotNewDir()),
m_actionNewDir = new TDEAction( i18n("New Directory..."), "folder-new", CTRL+Key_N, this, TQ_SLOT(slotNewDir()),
actionCollection(), "new_dir" );
m_actionRemove = new TDEAction( i18n("Remove"), "edit-delete", Key_Delete, this, TQT_SLOT(slotRemoveItem()),
m_actionRemove = new TDEAction( i18n("Remove"), "edit-delete", Key_Delete, this, TQ_SLOT(slotRemoveItem()),
actionCollection(), "remove" );
TDEShortcut renameShortCut( Key_F2 );
renameShortCut.append( TDEShortcut(CTRL+Key_R) ); // backwards compatibility
m_actionRename = new TDEAction( i18n("Rename"), "edit", renameShortCut, this, TQT_SLOT(slotRenameItem()),
m_actionRename = new TDEAction( i18n("Rename"), "edit", renameShortCut, this, TQ_SLOT(slotRenameItem()),
actionCollection(), "rename" );
m_popupMenu = new TDEActionMenu( m_actionCollection, "contextMenu" );
@ -393,7 +393,7 @@ void K3bDataDirTreeView::startDropAnimation( K3bDirItem* dir )
d->animationCounter = 0;
d->animatedDirItem = vI;
d->beforeAniPixmap = TQPixmap( *vI->pixmap(0) );
TQTimer::singleShot( 0, this, TQT_SLOT(slotDropAnimate()) );
TQTimer::singleShot( 0, this, TQ_SLOT(slotDropAnimate()) );
}
}
@ -426,7 +426,7 @@ void K3bDataDirTreeView::slotDropAnimate()
}
d->animationCounter++;
TQTimer::singleShot( 300, this, TQT_SLOT(slotDropAnimate()) );
TQTimer::singleShot( 300, this, TQ_SLOT(slotDropAnimate()) );
}
}
}

@ -79,16 +79,16 @@ K3bDataFileView::K3bDataFileView( K3bView* view, K3bDataDirTreeView* dirTreeView
m_currentDir = doc->root();
checkForNewItems();
connect( m_treeView, TQT_SIGNAL(dirSelected(K3bDirItem*)), this, TQT_SLOT(slotSetCurrentDir(K3bDirItem*)) );
connect( m_doc, TQT_SIGNAL(itemRemoved(K3bDataItem*)), this, TQT_SLOT(slotDataItemRemoved(K3bDataItem*)) );
connect( m_doc, TQT_SIGNAL(itemAdded(K3bDataItem*)), this, TQT_SLOT(slotItemAdded(K3bDataItem*)) );
connect( this, TQT_SIGNAL(executed(TQListViewItem*)), this, TQT_SLOT(slotExecuted(TQListViewItem*)) );
connect( this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
this, TQT_SLOT(showPopupMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
connect( this, TQT_SIGNAL(dropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)),
this, TQT_SLOT(slotDropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)) );
connect( this, TQT_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)),
this, TQT_SLOT(slotDoubleClicked(TQListViewItem*)) );
connect( m_treeView, TQ_SIGNAL(dirSelected(K3bDirItem*)), this, TQ_SLOT(slotSetCurrentDir(K3bDirItem*)) );
connect( m_doc, TQ_SIGNAL(itemRemoved(K3bDataItem*)), this, TQ_SLOT(slotDataItemRemoved(K3bDataItem*)) );
connect( m_doc, TQ_SIGNAL(itemAdded(K3bDataItem*)), this, TQ_SLOT(slotItemAdded(K3bDataItem*)) );
connect( this, TQ_SIGNAL(executed(TQListViewItem*)), this, TQ_SLOT(slotExecuted(TQListViewItem*)) );
connect( this, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
this, TQ_SLOT(showPopupMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
connect( this, TQ_SIGNAL(dropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)),
this, TQ_SLOT(slotDropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)) );
connect( this, TQ_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)),
this, TQ_SLOT(slotDoubleClicked(TQListViewItem*)) );
setupActions();
}
@ -289,7 +289,7 @@ void K3bDataFileView::slotDropped( TQDropEvent* e, TQListViewItem*, TQListViewIt
// event queues: the url adding dialog will be non-modal regardless of
// the settings in case we open it directly.
//
TQTimer::singleShot( 0, this, TQT_SLOT(slotAddUrls()) );
TQTimer::singleShot( 0, this, TQ_SLOT(slotAddUrls()) );
}
}
}
@ -319,19 +319,19 @@ void K3bDataFileView::setupActions()
{
m_actionCollection = new TDEActionCollection( this );
m_actionProperties = new TDEAction( i18n("Properties"), "misc", 0, this, TQT_SLOT(slotProperties()),
m_actionProperties = new TDEAction( i18n("Properties"), "misc", 0, this, TQ_SLOT(slotProperties()),
actionCollection(), "properties" );
m_actionNewDir = new TDEAction( i18n("New Directory..."), "folder-new", CTRL+Key_N, this, TQT_SLOT(slotNewDir()),
m_actionNewDir = new TDEAction( i18n("New Directory..."), "folder-new", CTRL+Key_N, this, TQ_SLOT(slotNewDir()),
actionCollection(), "new_dir" );
m_actionRemove = new TDEAction( i18n("Remove"), "edit-delete", Key_Delete, this, TQT_SLOT(slotRemoveItem()),
m_actionRemove = new TDEAction( i18n("Remove"), "edit-delete", Key_Delete, this, TQ_SLOT(slotRemoveItem()),
actionCollection(), "remove" );
TDEShortcut renameShortCut( Key_F2 );
renameShortCut.append( TDEShortcut(CTRL+Key_R) ); // backwards compatibility
m_actionRename = new TDEAction( i18n("Rename"), "edit", renameShortCut, this, TQT_SLOT(slotRenameItem()),
m_actionRename = new TDEAction( i18n("Rename"), "edit", renameShortCut, this, TQ_SLOT(slotRenameItem()),
actionCollection(), "rename" );
m_actionParentDir = new TDEAction( i18n("Parent Directory"), "go-up", 0, this, TQT_SLOT(slotParentDir()),
m_actionParentDir = new TDEAction( i18n("Parent Directory"), "go-up", 0, this, TQ_SLOT(slotParentDir()),
actionCollection(), "parent_dir" );
m_actionOpen = new TDEAction( i18n("Open"), "document-open", 0, this, TQT_SLOT(slotOpen()),
m_actionOpen = new TDEAction( i18n("Open"), "document-open", 0, this, TQ_SLOT(slotOpen()),
actionCollection(), "open" );
m_popupMenu = new TDEActionMenu( m_actionCollection, "contextMenu" );

@ -176,12 +176,12 @@ K3bDataImageSettingsWidget::K3bDataImageSettingsWidget( TQWidget* parent, const
m_customFsDlg = new CustomFilesystemsDialog( this );
m_volDescDlg = new VolumeDescDialog( this );
connect( m_buttonCustomFilesystems, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotCustomFilesystems()) );
connect( m_buttonMoreVolDescFields, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotMoreVolDescFields()) );
connect( m_comboSpaceHandling, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotSpaceHandlingChanged(int)) );
connect( m_buttonCustomFilesystems, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotCustomFilesystems()) );
connect( m_buttonMoreVolDescFields, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotMoreVolDescFields()) );
connect( m_comboSpaceHandling, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(slotSpaceHandlingChanged(int)) );
for( int i = 0; i < FS_MAX; ++i )
m_comboFilesystems->insertItem( i18n( s_fsPresetNames[i] ) );

@ -42,8 +42,8 @@ K3bDataSessionImportDialog::K3bDataSessionImportDialog( TQWidget* parent )
m_comboMedia = new K3bMediaSelectionComboBox( this );
setMainWidget( m_comboMedia );
connect( m_comboMedia, TQT_SIGNAL(selectionChanged(K3bDevice::Device*)),
this, TQT_SLOT(slotSelectionChanged(K3bDevice::Device*)) );
connect( m_comboMedia, TQ_SIGNAL(selectionChanged(K3bDevice::Device*)),
this, TQ_SLOT(slotSelectionChanged(K3bDevice::Device*)) );
}

@ -92,8 +92,8 @@ K3bDataUrlAddingDialog::K3bDataUrlAddingDialog( K3bDataDoc* doc, TQWidget* paren
grid->addMultiCellWidget( m_progressWidget, 1, 1, 0, 1 );
m_dirSizeJob = new K3bDirSizeJob( this );
connect( m_dirSizeJob, TQT_SIGNAL(finished(bool)),
this, TQT_SLOT(slotDirSizeDone(bool)) );
connect( m_dirSizeJob, TQ_SIGNAL(finished(bool)),
this, TQ_SLOT(slotDirSizeDone(bool)) );
// try to start with a reasonable size
resize( (int)( fontMetrics().width( caption() ) * 1.5 ), sizeHint().height() );
@ -583,7 +583,7 @@ void K3bDataUrlAddingDialog::slotAddUrls()
}
else {
updateProgress();
TQTimer::singleShot( 0, this, TQT_SLOT(slotAddUrls()) );
TQTimer::singleShot( 0, this, TQ_SLOT(slotAddUrls()) );
}
}
@ -736,7 +736,7 @@ void K3bDataUrlAddingDialog::slotCopyMoveItems()
}
else {
updateProgress();
TQTimer::singleShot( 0, this, TQT_SLOT(slotCopyMoveItems()) );
TQTimer::singleShot( 0, this, TQ_SLOT(slotCopyMoveItems()) );
}
}

@ -66,22 +66,22 @@ K3bDataView::K3bDataView(K3bDataDoc* doc, TQWidget *parent, const char *name )
setMainWidget( mainSplitter );
connect( m_dataFileView, TQT_SIGNAL(dirSelected(K3bDirItem*)),
m_dataDirTree, TQT_SLOT(setCurrentDir(K3bDirItem*)) );
connect( m_doc, TQT_SIGNAL(changed()), this, TQT_SLOT(slotDocChanged()) );
connect( m_dataFileView, TQ_SIGNAL(dirSelected(K3bDirItem*)),
m_dataDirTree, TQ_SLOT(setCurrentDir(K3bDirItem*)) );
connect( m_doc, TQ_SIGNAL(changed()), this, TQ_SLOT(slotDocChanged()) );
m_dataDirTree->checkForNewItems();
m_dataFileView->checkForNewItems();
// the data actions
TDEAction* actionImportSession = new TDEAction(i18n("&Import Session..."), "gear", 0, this, TQT_SLOT(importSession()),
TDEAction* actionImportSession = new TDEAction(i18n("&Import Session..."), "gear", 0, this, TQ_SLOT(importSession()),
actionCollection(), "project_data_import_session" );
TDEAction* actionClearSession = new TDEAction(i18n("&Clear Imported Session"), "gear", 0, this,
TQT_SLOT(clearImportedSession()), actionCollection(),
TQ_SLOT(clearImportedSession()), actionCollection(),
"project_data_clear_imported_session" );
TDEAction* actionEditBootImages = new TDEAction(i18n("&Edit Boot Images..."), "application-x-cda", 0, this,
TQT_SLOT(editBootImages()), actionCollection(),
TQ_SLOT(editBootImages()), actionCollection(),
"project_data_edit_boot_images" );
actionImportSession->setToolTip( i18n("Import a previously burned session into the current project") );
@ -104,9 +104,9 @@ K3bDataView::K3bDataView(K3bDataDoc* doc, TQWidget *parent, const char *name )
toolBox()->addLabel( i18n("Volume Name:") );
toolBox()->addSpacing();
toolBox()->addWidget( m_volumeIDEdit );
connect( m_volumeIDEdit, TQT_SIGNAL(textChanged(const TQString&)),
connect( m_volumeIDEdit, TQ_SIGNAL(textChanged(const TQString&)),
m_doc,
TQT_SLOT(setVolumeID(const TQString&)) );
TQ_SLOT(setVolumeID(const TQString&)) );
// this is just for testing (or not?)
// most likely every project type will have it's rc file in the future

@ -38,8 +38,8 @@ K3bDataVolumeDescWidget::K3bDataVolumeDescWidget( TQWidget* parent, const char*
m_editSystem->setValidator( isoValidator );
m_editApplication->setValidator( isoValidator );
connect( m_spinVolumeSetSize, TQT_SIGNAL(valueChanged(int)),
this, TQT_SLOT(slotVolumeSetSizeChanged(int)) );
connect( m_spinVolumeSetSize, TQ_SIGNAL(valueChanged(int)),
this, TQ_SLOT(slotVolumeSetSizeChanged(int)) );
// for now we hide the volume set size stuff since it's not working anymore in mkisofs 2.01a34
textLabel1->hide();

@ -77,8 +77,8 @@ K3bDvdBurnDialog::K3bDvdBurnDialog( K3bDvdDoc* doc, TQWidget *parent, const char
m_tempDirSelectionWidget->setDefaultImageFileName( doc->isoOptions().volumeID() + ".iso" );
}
connect( m_imageSettingsWidget->m_editVolumeName, TQT_SIGNAL(textChanged(const TQString&)),
m_tempDirSelectionWidget, TQT_SLOT(setDefaultImageFileName(const TQString&)) );
connect( m_imageSettingsWidget->m_editVolumeName, TQ_SIGNAL(textChanged(const TQString&)),
m_tempDirSelectionWidget, TQ_SLOT(setDefaultImageFileName(const TQString&)) );
}
@ -104,8 +104,8 @@ void K3bDvdBurnDialog::setupSettingsTab()
addPage( frame, i18n("Misc") );
connect( m_comboMultisession, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotMultiSessionModeChanged()) );
connect( m_comboMultisession, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(slotMultiSessionModeChanged()) );
}

@ -344,7 +344,7 @@ K3bFillStatusDisplay::K3bFillStatusDisplay( K3bDoc* doc, TQWidget *parent, const
// d->buttonMenu->setIconSet( SmallIconSet("media-optical-cdrom-unmounted") );
// d->buttonMenu->setAutoRaise(true);
// TQToolTip::add( d->buttonMenu, i18n("Fill display properties") );
// connect( d->buttonMenu, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotMenuButtonClicked()) );
// connect( d->buttonMenu, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotMenuButtonClicked()) );
TQGridLayout* layout = new TQGridLayout( this );
layout->setSpacing(5);
@ -357,10 +357,10 @@ K3bFillStatusDisplay::K3bFillStatusDisplay( K3bDoc* doc, TQWidget *parent, const
showDvdSizes( false );
connect( d->doc, TQT_SIGNAL(changed()), this, TQT_SLOT(slotDocChanged()) );
connect( &d->updateTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotUpdateDisplay()) );
connect( k3bappcore->mediaCache(), TQT_SIGNAL(mediumChanged(K3bDevice::Device*)),
this, TQT_SLOT(slotMediumChanged(K3bDevice::Device*)) );
connect( d->doc, TQ_SIGNAL(changed()), this, TQ_SLOT(slotDocChanged()) );
connect( &d->updateTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotUpdateDisplay()) );
connect( k3bappcore->mediaCache(), TQ_SIGNAL(mediumChanged(K3bDevice::Device*)),
this, TQ_SLOT(slotMediumChanged(K3bDevice::Device*)) );
}
K3bFillStatusDisplay::~K3bFillStatusDisplay()
@ -378,32 +378,32 @@ void K3bFillStatusDisplay::setupPopupMenu()
d->popup = new TDEPopupMenu( this, "popup" );
d->dvdPopup = new TDEPopupMenu( this, "dvdpopup" );
d->actionShowMinutes = new TDERadioAction( i18n("Minutes"), 0, this, TQT_SLOT(showTime()),
d->actionShowMinutes = new TDERadioAction( i18n("Minutes"), 0, this, TQ_SLOT(showTime()),
d->actionCollection, "fillstatus_show_minutes" );
d->actionShowMegs = new TDERadioAction( i18n("Megabytes"), 0, this, TQT_SLOT(showSize()),
d->actionShowMegs = new TDERadioAction( i18n("Megabytes"), 0, this, TQ_SLOT(showSize()),
d->actionCollection, "fillstatus_show_megabytes" );
d->actionShowMegs->setExclusiveGroup( "show_size_in" );
d->actionShowMinutes->setExclusiveGroup( "show_size_in" );
d->actionAuto = new TDERadioAction( i18n("Auto"), 0, this, TQT_SLOT(slotAutoSize()),
d->actionAuto = new TDERadioAction( i18n("Auto"), 0, this, TQ_SLOT(slotAutoSize()),
d->actionCollection, "fillstatus_auto" );
d->action74Min = new TDERadioAction( i18n("%1 MB").arg(650), 0, this, TQT_SLOT(slot74Minutes()),
d->action74Min = new TDERadioAction( i18n("%1 MB").arg(650), 0, this, TQ_SLOT(slot74Minutes()),
d->actionCollection, "fillstatus_74minutes" );
d->action80Min = new TDERadioAction( i18n("%1 MB").arg(700), 0, this, TQT_SLOT(slot80Minutes()),
d->action80Min = new TDERadioAction( i18n("%1 MB").arg(700), 0, this, TQ_SLOT(slot80Minutes()),
d->actionCollection, "fillstatus_80minutes" );
d->action100Min = new TDERadioAction( i18n("%1 MB").arg(880), 0, this, TQT_SLOT(slot100Minutes()),
d->action100Min = new TDERadioAction( i18n("%1 MB").arg(880), 0, this, TQ_SLOT(slot100Minutes()),
d->actionCollection, "fillstatus_100minutes" );
d->actionDvd4_7GB = new TDERadioAction( TDEIO::convertSizeFromKB((int)(4.4*1024.0*1024.0)), 0, this, TQT_SLOT(slotDvd4_7GB()),
d->actionDvd4_7GB = new TDERadioAction( TDEIO::convertSizeFromKB((int)(4.4*1024.0*1024.0)), 0, this, TQ_SLOT(slotDvd4_7GB()),
d->actionCollection, "fillstatus_dvd_4_7gb" );
d->actionDvdDoubleLayer = new TDERadioAction( TDEIO::convertSizeFromKB((int)(8.0*1024.0*1024.0)),
0, this, TQT_SLOT(slotDvdDoubleLayer()),
0, this, TQ_SLOT(slotDvdDoubleLayer()),
d->actionCollection, "fillstatus_dvd_double_layer" );
d->actionCustomSize = new K3bRadioAction( i18n("Custom..."), 0, this, TQT_SLOT(slotCustomSize()),
d->actionCustomSize = new K3bRadioAction( i18n("Custom..."), 0, this, TQ_SLOT(slotCustomSize()),
d->actionCollection, "fillstatus_custom_size" );
d->actionCustomSize->setAlwaysEmitActivated(true);
d->actionDetermineSize = new K3bRadioAction( i18n("From Medium..."), "media-optical-cdrom-unmounted", 0,
this, TQT_SLOT(slotDetermineSize()),
this, TQ_SLOT(slotDetermineSize()),
d->actionCollection, "fillstatus_size_from_disk" );
d->actionDetermineSize->setAlwaysEmitActivated(true);
@ -417,14 +417,14 @@ void K3bFillStatusDisplay::setupPopupMenu()
d->actionDetermineSize->setExclusiveGroup( "cd_size" );
d->actionLoadUserDefaults = new TDEAction( i18n("User Defaults"), "", 0,
this, TQT_SLOT(slotLoadUserDefaults()),
this, TQ_SLOT(slotLoadUserDefaults()),
d->actionCollection, "load_user_defaults" );
d->actionSaveUserDefaults = new TDEAction( i18n("Save User Defaults"), "", 0,
this, TQT_SLOT(slotSaveUserDefaults()),
this, TQ_SLOT(slotSaveUserDefaults()),
d->actionCollection, "save_user_defaults" );
TDEAction* dvdSizeInfoAction = new TDEAction( i18n("Why 4.4 instead of 4.7?"), "", 0,
this, TQT_SLOT(slotWhy44()),
this, TQ_SLOT(slotWhy44()),
d->actionCollection, "why_44_gb" );
d->popup->insertTitle( i18n("Show Size In") );
@ -452,7 +452,7 @@ void K3bFillStatusDisplay::setupPopupMenu()
d->actionLoadUserDefaults->plug( d->dvdPopup );
d->actionSaveUserDefaults->plug( d->dvdPopup );
connect( d->displayWidget, TQT_SIGNAL(contextMenu(const TQPoint&)), this, TQT_SLOT(slotPopupMenu(const TQPoint&)) );
connect( d->displayWidget, TQ_SIGNAL(contextMenu(const TQPoint&)), this, TQ_SLOT(slotPopupMenu(const TQPoint&)) );
}

@ -83,10 +83,10 @@ K3bMixedBurnDialog::K3bMixedBurnDialog( K3bMixedDoc* doc, TQWidget *parent, cons
TQSpacerItem* spacer = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
m_optionGroupLayout->addItem( spacer );
connect( m_checkNormalize, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotNormalizeToggled(bool)) );
connect( m_checkCacheImage, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotCacheImageToggled(bool)) );
connect( m_writerSelectionWidget, TQT_SIGNAL(writingAppChanged(int)), this, TQT_SLOT(slotToggleAll()) );
connect( m_writingModeWidget, TQT_SIGNAL(writingModeChanged(int)), this, TQT_SLOT(slotToggleAll()) );
connect( m_checkNormalize, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotNormalizeToggled(bool)) );
connect( m_checkCacheImage, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotCacheImageToggled(bool)) );
connect( m_writerSelectionWidget, TQ_SIGNAL(writingAppChanged(int)), this, TQ_SLOT(slotToggleAll()) );
connect( m_writingModeWidget, TQ_SIGNAL(writingModeChanged(int)), this, TQ_SLOT(slotToggleAll()) );
}

@ -57,9 +57,9 @@ K3bMixedDirTreeView::K3bMixedDirTreeView( K3bView* view, K3bMixedDoc* doc, TQWid
{
m_audioRootItem = new PrivateAudioRootViewItem( doc, this, root() );
connect( this, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
this, TQT_SLOT(slotSelectionChanged(TQListViewItem*)) );
connect( m_doc->audioDoc(), TQT_SIGNAL(changed()), this, TQT_SLOT(slotNewAudioTracks()) );
connect( this, TQ_SIGNAL(selectionChanged(TQListViewItem*)),
this, TQ_SLOT(slotSelectionChanged(TQListViewItem*)) );
connect( m_doc->audioDoc(), TQ_SIGNAL(changed()), this, TQ_SLOT(slotNewAudioTracks()) );
}

@ -56,10 +56,10 @@ K3bMixedView::K3bMixedView( K3bMixedDoc* doc, TQWidget* parent, const char* name
setMainWidget( splitter );
connect( m_mixedDirTreeView, TQT_SIGNAL(audioTreeSelected()),
this, TQT_SLOT(slotAudioTreeSelected()) );
connect( m_mixedDirTreeView, TQT_SIGNAL(dataTreeSelected()),
this, TQT_SLOT(slotDataTreeSelected()) );
connect( m_mixedDirTreeView, TQ_SIGNAL(audioTreeSelected()),
this, TQ_SLOT(slotAudioTreeSelected()) );
connect( m_mixedDirTreeView, TQ_SIGNAL(dataTreeSelected()),
this, TQ_SLOT(slotDataTreeSelected()) );
m_widgetStack->raiseWidget( m_dataFileView );

@ -79,8 +79,8 @@ K3bMovixBurnDialog::K3bMovixBurnDialog( K3bMovixDoc* doc, TQWidget* parent, cons
m_tempDirSelectionWidget->setDefaultImageFileName( m_doc->isoOptions().volumeID() + ".iso" );
}
connect( m_imageSettingsWidget->m_editVolumeName, TQT_SIGNAL(textChanged(const TQString&)),
m_tempDirSelectionWidget, TQT_SLOT(setDefaultImageFileName(const TQString&)) );
connect( m_imageSettingsWidget->m_editVolumeName, TQ_SIGNAL(textChanged(const TQString&)),
m_tempDirSelectionWidget, TQ_SLOT(setDefaultImageFileName(const TQString&)) );
}

@ -79,8 +79,8 @@ K3bMovixDvdBurnDialog::K3bMovixDvdBurnDialog( K3bMovixDvdDoc* doc, TQWidget* par
m_tempDirSelectionWidget->setDefaultImageFileName( m_doc->isoOptions().volumeID() + ".iso" );
}
connect( m_imageSettingsWidget->m_editVolumeName, TQT_SIGNAL(textChanged(const TQString&)),
m_tempDirSelectionWidget, TQT_SLOT(setDefaultImageFileName(const TQString&)) );
connect( m_imageSettingsWidget->m_editVolumeName, TQ_SIGNAL(textChanged(const TQString&)),
m_tempDirSelectionWidget, TQ_SLOT(setDefaultImageFileName(const TQString&)) );
}

@ -189,12 +189,12 @@ K3bMovixListView::K3bMovixListView( K3bMovixDoc* doc, TQWidget* parent, const ch
+ i18n("To remove or rename files use the context menu.") + "\n"
+ i18n("After that press the burn button to write the CD.") );
connect( m_doc, TQT_SIGNAL(changed()), this, TQT_SLOT(slotChanged()) );
connect( m_doc, TQT_SIGNAL(newMovixFileItems()), this, TQT_SLOT(slotNewFileItems()) );
connect( m_doc, TQT_SIGNAL(movixItemRemoved(K3bMovixFileItem*)), this, TQT_SLOT(slotFileItemRemoved(K3bMovixFileItem*)) );
connect( m_doc, TQT_SIGNAL(subTitleItemRemoved(K3bMovixFileItem*)), this, TQT_SLOT(slotSubTitleItemRemoved(K3bMovixFileItem*)) );
connect( this, TQT_SIGNAL(dropped(TDEListView*, TQDropEvent*, TQListViewItem*)),
this, TQT_SLOT(slotDropped(TDEListView*, TQDropEvent*, TQListViewItem*)) );
connect( m_doc, TQ_SIGNAL(changed()), this, TQ_SLOT(slotChanged()) );
connect( m_doc, TQ_SIGNAL(newMovixFileItems()), this, TQ_SLOT(slotNewFileItems()) );
connect( m_doc, TQ_SIGNAL(movixItemRemoved(K3bMovixFileItem*)), this, TQ_SLOT(slotFileItemRemoved(K3bMovixFileItem*)) );
connect( m_doc, TQ_SIGNAL(subTitleItemRemoved(K3bMovixFileItem*)), this, TQ_SLOT(slotSubTitleItemRemoved(K3bMovixFileItem*)) );
connect( this, TQ_SIGNAL(dropped(TDEListView*, TQDropEvent*, TQListViewItem*)),
this, TQ_SLOT(slotDropped(TDEListView*, TQDropEvent*, TQListViewItem*)) );
// let's see what the doc already has
slotNewFileItems();

@ -45,22 +45,22 @@ K3bMovixView::K3bMovixView( K3bMovixDoc* doc, TQWidget* parent, const char* name
m_listView = new K3bMovixListView( m_doc, this );
setMainWidget( m_listView );
connect( m_listView, TQT_SIGNAL(contextMenuRequested( TQListViewItem*, const TQPoint& , int )),
this, TQT_SLOT(slotContextMenuRequested(TQListViewItem*, const TQPoint& , int )) );
connect( m_listView, TQ_SIGNAL(contextMenuRequested( TQListViewItem*, const TQPoint& , int )),
this, TQ_SLOT(slotContextMenuRequested(TQListViewItem*, const TQPoint& , int )) );
// setup actions
m_actionProperties = new TDEAction( i18n("Properties"), "misc",
0, this, TQT_SLOT(showPropertiesDialog()),
0, this, TQ_SLOT(showPropertiesDialog()),
actionCollection(), "movix_show_props" );
m_actionRemove = new TDEAction( i18n( "Remove" ), "edit-delete",
Key_Delete, this, TQT_SLOT(slotRemoveItems()),
Key_Delete, this, TQ_SLOT(slotRemoveItems()),
actionCollection(), "movix_remove_item" );
m_actionRemoveSubTitle = new TDEAction( i18n( "Remove Subtitle File" ), "edit-delete",
0, this, TQT_SLOT(slotRemoveSubTitleItems()),
0, this, TQ_SLOT(slotRemoveSubTitleItems()),
actionCollection(), "movix_remove_subtitle_item" );
m_actionAddSubTitle = new TDEAction( i18n("Add Subtitle File..."), "",
0, this, TQT_SLOT(slotAddSubTitleFile()),
0, this, TQ_SLOT(slotAddSubTitleFile()),
actionCollection(), "movix_add_subtitle" );
m_popupMenu = new TDEPopupMenu( this );
@ -81,11 +81,11 @@ K3bMovixView::K3bMovixView( K3bMovixDoc* doc, TQWidget* parent, const char* name
toolBox()->addLabel( i18n("Volume Name:") );
toolBox()->addSpacing();
toolBox()->addWidget( m_volumeIDEdit );
connect( m_volumeIDEdit, TQT_SIGNAL(textChanged(const TQString&)),
connect( m_volumeIDEdit, TQ_SIGNAL(textChanged(const TQString&)),
m_doc,
TQT_SLOT(setVolumeID(const TQString&)) );
TQ_SLOT(setVolumeID(const TQString&)) );
connect( m_doc, TQT_SIGNAL(changed()), this, TQT_SLOT(slotDocChanged()) );
connect( m_doc, TQ_SIGNAL(changed()), this, TQ_SLOT(slotDocChanged()) );
}

@ -162,10 +162,10 @@ K3bMusicBrainzJob::K3bMusicBrainzJob( TQWidget* parent, const char* name )
m_trmJob = new K3bThreadJob( m_trmThread, this, this );
m_mbJob = new K3bThreadJob( m_mbThread, this, this );
connect( m_trmJob, TQT_SIGNAL(percent(int)), this, TQT_SIGNAL(subPercent(int)) );
connect( m_trmJob, TQT_SIGNAL(percent(int)), this, TQT_SLOT(slotTrmPercent(int)) );
connect( m_trmJob, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotTrmJobFinished(bool)) );
connect( m_mbJob, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(slotMbJobFinished(bool)) );
connect( m_trmJob, TQ_SIGNAL(percent(int)), this, TQ_SIGNAL(subPercent(int)) );
connect( m_trmJob, TQ_SIGNAL(percent(int)), this, TQ_SLOT(slotTrmPercent(int)) );
connect( m_trmJob, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotTrmJobFinished(bool)) );
connect( m_mbJob, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(slotMbJobFinished(bool)) );
}

@ -321,14 +321,14 @@ void K3bProjectBurnDialog::prepareGui()
setTabOrder( groupCopies, m_optionGroup );
// some default connections that should always be useful
connect( m_writerSelectionWidget, TQT_SIGNAL(writerChanged()), this, TQT_SLOT(slotWriterChanged()) );
connect( m_writerSelectionWidget, TQT_SIGNAL(writerChanged(K3bDevice::Device*)),
m_writingModeWidget, TQT_SLOT(determineSupportedModesFromMedium(K3bDevice::Device*)) );
connect( m_writerSelectionWidget, TQT_SIGNAL(writingAppChanged(int)), this, TQT_SLOT(slotWritingAppChanged(int)) );
connect( m_checkCacheImage, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotToggleAll()) );
connect( m_checkSimulate, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotToggleAll()) );
connect( m_checkOnlyCreateImage, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotToggleAll()) );
connect( m_writingModeWidget, TQT_SIGNAL(writingModeChanged(int)), this, TQT_SLOT(slotToggleAll()) );
connect( m_writerSelectionWidget, TQ_SIGNAL(writerChanged()), this, TQ_SLOT(slotWriterChanged()) );
connect( m_writerSelectionWidget, TQ_SIGNAL(writerChanged(K3bDevice::Device*)),
m_writingModeWidget, TQ_SLOT(determineSupportedModesFromMedium(K3bDevice::Device*)) );
connect( m_writerSelectionWidget, TQ_SIGNAL(writingAppChanged(int)), this, TQ_SLOT(slotWritingAppChanged(int)) );
connect( m_checkCacheImage, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotToggleAll()) );
connect( m_checkSimulate, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotToggleAll()) );
connect( m_checkOnlyCreateImage, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotToggleAll()) );
connect( m_writingModeWidget, TQ_SIGNAL(writingModeChanged(int)), this, TQ_SLOT(slotToggleAll()) );
}

@ -86,11 +86,11 @@ K3bVcdBurnDialog::K3bVcdBurnDialog( K3bVcdDoc* _doc, TQWidget *parent, const cha
setupLabelTab();
setupAdvancedTab();
connect( m_spinVolumeCount, TQT_SIGNAL( valueChanged( int ) ), this, TQT_SLOT( slotSpinVolumeCount() ) );
connect( m_groupVcdFormat, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( slotVcdTypeClicked( int ) ) );
connect( m_checkCdiSupport, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotCdiSupportChecked( bool ) ) );
connect( m_checkAutoDetect, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotAutoDetect( bool ) ) );
connect( m_checkGaps, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotGapsChecked( bool ) ) );
connect( m_spinVolumeCount, TQ_SIGNAL( valueChanged( int ) ), this, TQ_SLOT( slotSpinVolumeCount() ) );
connect( m_groupVcdFormat, TQ_SIGNAL( clicked( int ) ), this, TQ_SLOT( slotVcdTypeClicked( int ) ) );
connect( m_checkCdiSupport, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotCdiSupportChecked( bool ) ) );
connect( m_checkAutoDetect, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotAutoDetect( bool ) ) );
connect( m_checkGaps, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotGapsChecked( bool ) ) );
// ToolTips
// -------------------------------------------------------------------------

@ -60,15 +60,15 @@ K3bVcdListView::K3bVcdListView( K3bView* view, K3bVcdDoc* doc, TQWidget *parent,
setupColumns();
header() ->setClickEnabled( false );
connect( this, TQT_SIGNAL( dropped( TDEListView*, TQDropEvent*, TQListViewItem* ) ),
this, TQT_SLOT( slotDropped( TDEListView*, TQDropEvent*, TQListViewItem* ) ) );
connect( this, TQT_SIGNAL( contextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ),
this, TQT_SLOT( showPopupMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ) );
connect( this, TQT_SIGNAL( doubleClicked( TQListViewItem*, const TQPoint&, int ) ),
this, TQT_SLOT( showPropertiesDialog() ) );
connect( this, TQ_SIGNAL( dropped( TDEListView*, TQDropEvent*, TQListViewItem* ) ),
this, TQ_SLOT( slotDropped( TDEListView*, TQDropEvent*, TQListViewItem* ) ) );
connect( this, TQ_SIGNAL( contextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ),
this, TQ_SLOT( showPopupMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ) );
connect( this, TQ_SIGNAL( doubleClicked( TQListViewItem*, const TQPoint&, int ) ),
this, TQ_SLOT( showPropertiesDialog() ) );
connect( m_doc, TQT_SIGNAL( changed() ), this, TQT_SLOT( slotUpdateItems() ) );
connect( m_doc, TQT_SIGNAL( trackRemoved( K3bVcdTrack* ) ), this, TQT_SLOT( slotTrackRemoved( K3bVcdTrack* ) ) );
connect( m_doc, TQ_SIGNAL( changed() ), this, TQ_SLOT( slotUpdateItems() ) );
connect( m_doc, TQ_SIGNAL( trackRemoved( K3bVcdTrack* ) ), this, TQ_SLOT( slotTrackRemoved( K3bVcdTrack* ) ) );
slotUpdateItems();
}
@ -94,8 +94,8 @@ void K3bVcdListView::setupColumns()
void K3bVcdListView::setupActions()
{
m_actionCollection = new TDEActionCollection( this );
m_actionProperties = new TDEAction( i18n( "Properties" ), "misc", 0, this, TQT_SLOT( showPropertiesDialog() ), actionCollection() );
m_actionRemove = new TDEAction( i18n( "Remove" ), "edit-delete", Key_Delete, this, TQT_SLOT( slotRemoveTracks() ), actionCollection() );
m_actionProperties = new TDEAction( i18n( "Properties" ), "misc", 0, this, TQ_SLOT( showPropertiesDialog() ), actionCollection() );
m_actionRemove = new TDEAction( i18n( "Remove" ), "edit-delete", Key_Delete, this, TQ_SLOT( slotRemoveTracks() ), actionCollection() );
// disabled by default
m_actionRemove->setEnabled( false );

@ -539,10 +539,10 @@ void K3bVcdTrackDialog::setupPbcTab()
m_groupPlay->setEnabled( false );
m_groupPbc->setEnabled( false );
connect( m_check_pbc, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotPbcToggled( bool ) ) );
connect( m_spin_times, TQT_SIGNAL( valueChanged( int ) ), this, TQT_SLOT( slotPlayTimeChanged( int ) ) );
connect( m_spin_waittime, TQT_SIGNAL( valueChanged( int ) ), this, TQT_SLOT( slotWaitTimeChanged( int ) ) );
connect( m_check_usekeys, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotUseKeysToggled( bool ) ) );
connect( m_check_pbc, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotPbcToggled( bool ) ) );
connect( m_spin_times, TQ_SIGNAL( valueChanged( int ) ), this, TQ_SLOT( slotPlayTimeChanged( int ) ) );
connect( m_spin_waittime, TQ_SIGNAL( valueChanged( int ) ), this, TQ_SLOT( slotWaitTimeChanged( int ) ) );
connect( m_check_usekeys, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotUseKeysToggled( bool ) ) );
}
void K3bVcdTrackDialog::setupPbcKeyTab()
@ -578,7 +578,7 @@ void K3bVcdTrackDialog::setupPbcKeyTab()
m_mainTabbed->addTab( m_widgetnumkeys, i18n( "Numeric Keys" ) );
connect( m_check_overwritekeys, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotGroupkeyToggled( bool ) ) );
connect( m_check_overwritekeys, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotGroupkeyToggled( bool ) ) );
}

@ -45,8 +45,8 @@ K3bVcdView::K3bVcdView( K3bVcdDoc* pDoc, TQWidget* parent, const char *name )
setMainWidget( m_vcdlist );
fillStatusDisplay() ->showSize();
connect( m_vcdlist, TQT_SIGNAL( lengthReady() ), fillStatusDisplay(), TQT_SLOT( update() ) );
connect( m_doc, TQT_SIGNAL( newTracks() ), fillStatusDisplay(), TQT_SLOT( update() ) );
connect( m_vcdlist, TQ_SIGNAL( lengthReady() ), fillStatusDisplay(), TQ_SLOT( update() ) );
connect( m_doc, TQ_SIGNAL( newTracks() ), fillStatusDisplay(), TQ_SLOT( update() ) );
}
K3bVcdView::~K3bVcdView()

@ -44,7 +44,7 @@ K3bVideoDvdView::K3bVideoDvdView( K3bVideoDvdDoc* doc, TQWidget *parent, const c
m_dataDirTree->setFileView( m_dataFileView );
setMainWidget( mainSplitter );
connect( m_dataFileView, TQT_SIGNAL(dirSelected(K3bDirItem*)), m_dataDirTree, TQT_SLOT(setCurrentDir(K3bDirItem*)) );
connect( m_dataFileView, TQ_SIGNAL(dirSelected(K3bDirItem*)), m_dataDirTree, TQ_SLOT(setCurrentDir(K3bDirItem*)) );
m_dataDirTree->checkForNewItems();
m_dataFileView->checkForNewItems();

@ -57,10 +57,10 @@ K3bView::K3bView( K3bDoc* pDoc, TQWidget *parent, const char* name )
grid->setSpacing( 5 );
grid->setMargin( 2 );
TDEAction* burnAction = new TDEAction( i18n("&Burn"), "cdburn", CTRL + Key_B, this, TQT_SLOT(slotBurn()),
TDEAction* burnAction = new TDEAction( i18n("&Burn"), "cdburn", CTRL + Key_B, this, TQ_SLOT(slotBurn()),
actionCollection(), "project_burn");
burnAction->setToolTip( i18n("Open the burn dialog for the current project") );
TDEAction* propAction = new TDEAction( i18n("&Properties"), "edit", CTRL + Key_P, this, TQT_SLOT(slotProperties()),
TDEAction* propAction = new TDEAction( i18n("&Properties"), "edit", CTRL + Key_P, this, TQ_SLOT(slotProperties()),
actionCollection(), "project_properties");
propAction->setToolTip( i18n("Open the properties dialog") );
@ -140,7 +140,7 @@ void K3bView::addPluginButtons( int projectType )
pp->toolTip(),
pp->whatsThis(),
this,
TQT_SLOT(slotPluginButtonClicked()) );
TQ_SLOT(slotPluginButtonClicked()) );
m_plugins.insert( static_cast<void*>(button), pp );
}
}

@ -119,12 +119,12 @@ K3bAudioCdView::K3bAudioCdView( TQWidget* parent, const char *name )
// ----------------------------------------------------------------------------------
m_trackView = new K3bAudioCdListView( this, mainWidget() );
connect( m_trackView, TQT_SIGNAL(itemRenamed(TQListViewItem*, const TQString&, int)),
this, TQT_SLOT(slotItemRenamed(TQListViewItem*, const TQString&, int)) );
connect( m_trackView, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
this, TQT_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
// connect( m_trackView, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
// this, TQT_SLOT(slotTrackSelectionChanged(TQListViewItem*)) );
connect( m_trackView, TQ_SIGNAL(itemRenamed(TQListViewItem*, const TQString&, int)),
this, TQ_SLOT(slotItemRenamed(TQListViewItem*, const TQString&, int)) );
connect( m_trackView, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
this, TQ_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
// connect( m_trackView, TQ_SIGNAL(selectionChanged(TQListViewItem*)),
// this, TQ_SLOT(slotTrackSelectionChanged(TQListViewItem*)) );
mainGrid->addLayout( toolBoxLayout, 0, 0 );
mainGrid->addWidget( m_trackView, 1, 0 );
@ -132,8 +132,8 @@ K3bAudioCdView::K3bAudioCdView( TQWidget* parent, const char *name )
m_cddb = new K3bCddb( this );
connect( m_cddb, TQT_SIGNAL(queryFinished(int)),
this, TQT_SLOT(slotCddbQueryFinished(int)) );
connect( m_cddb, TQ_SIGNAL(queryFinished(int)),
this, TQ_SLOT(slotCddbQueryFinished(int)) );
initActions();
// slotTrackSelectionChanged(0);
@ -227,32 +227,32 @@ void K3bAudioCdView::initActions()
m_actionCollection = new TDEActionCollection( this );
TDEAction* actionSelectAll = new TDEAction( i18n("Check All"), 0, 0, this,
TQT_SLOT(slotCheckAll()), actionCollection(),
TQ_SLOT(slotCheckAll()), actionCollection(),
"check_all" );
TDEAction* actionDeselectAll = new TDEAction( i18n("Uncheck All"), 0, 0, this,
TQT_SLOT(slotUncheckAll()), actionCollection(),
TQ_SLOT(slotUncheckAll()), actionCollection(),
"uncheck_all" );
TDEAction* actionSelect = new TDEAction( i18n("Check Track"), 0, 0, this,
TQT_SLOT(slotSelect()), actionCollection(),
TQ_SLOT(slotSelect()), actionCollection(),
"select_track" );
TDEAction* actionDeselect = new TDEAction( i18n("Uncheck Track"), 0, 0, this,
TQT_SLOT(slotDeselect()), actionCollection(),
TQ_SLOT(slotDeselect()), actionCollection(),
"deselect_track" );
TDEAction* actionEditTrackCddbInfo = new TDEAction( i18n("Edit Track cddb Info"), "edit", 0, this,
TQT_SLOT(slotEditTrackCddb()), actionCollection(),
TQ_SLOT(slotEditTrackCddb()), actionCollection(),
"edit_track_cddb" );
TDEAction* actionEditAlbumCddbInfo = new TDEAction( i18n("Edit Album cddb Info"), "edit", 0, this,
TQT_SLOT(slotEditAlbumCddb()), actionCollection(),
TQ_SLOT(slotEditAlbumCddb()), actionCollection(),
"edit_album_cddb" );
TDEAction* actionStartRip = new TDEAction( i18n("Start Ripping"), "cddarip", 0, this,
TQT_SLOT(startRip()), actionCollection(), "start_rip" );
TQ_SLOT(startRip()), actionCollection(), "start_rip" );
TDEAction* actionQueryCddb = new TDEAction( i18n("Query cddb"), "reload", 0, this,
TQT_SLOT(queryCddb()), actionCollection(), "query_cddb" );
TQ_SLOT(queryCddb()), actionCollection(), "query_cddb" );
TDEAction* actionSaveCddbLocally = new TDEAction( i18n("Save Cddb Entry Locally"), "document-save", 0, this,
TQT_SLOT(slotSaveCddbLocally()), actionCollection(), "save_cddb_local" );
TQ_SLOT(slotSaveCddbLocally()), actionCollection(), "save_cddb_local" );
// TODO: set the actions tooltips and whatsthis infos

@ -82,18 +82,18 @@ K3bAudioConvertingOptionWidget::K3bAudioConvertingOptionWidget( TQWidget* parent
{
d = new Private();
connect( m_editBaseDir, TQT_SIGNAL(textChanged(const TQString&)),
this, TQT_SLOT(slotUpdateFreeTempSpace()) );
connect( m_comboFileType, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotEncoderChanged()) );
connect( &d->freeSpaceUpdateTimer, TQT_SIGNAL(timeout()),
this, TQT_SLOT(slotUpdateFreeTempSpace()) );
connect( m_checkCreatePlaylist, TQT_SIGNAL(toggled(bool)), this, TQT_SIGNAL(changed()) );
connect( m_checkSingleFile, TQT_SIGNAL(toggled(bool)), this, TQT_SIGNAL(changed()) );
connect( m_checkWriteCueFile, TQT_SIGNAL(toggled(bool)), this, TQT_SIGNAL(changed()) );
connect( m_comboFileType, TQT_SIGNAL(activated(int)), this, TQT_SIGNAL(changed()) );
connect( m_editBaseDir, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SIGNAL(changed()) );
connect( m_buttonConfigurePlugin, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotConfigurePlugin()) );
connect( m_editBaseDir, TQ_SIGNAL(textChanged(const TQString&)),
this, TQ_SLOT(slotUpdateFreeTempSpace()) );
connect( m_comboFileType, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(slotEncoderChanged()) );
connect( &d->freeSpaceUpdateTimer, TQ_SIGNAL(timeout()),
this, TQ_SLOT(slotUpdateFreeTempSpace()) );
connect( m_checkCreatePlaylist, TQ_SIGNAL(toggled(bool)), this, TQ_SIGNAL(changed()) );
connect( m_checkSingleFile, TQ_SIGNAL(toggled(bool)), this, TQ_SIGNAL(changed()) );
connect( m_checkWriteCueFile, TQ_SIGNAL(toggled(bool)), this, TQ_SIGNAL(changed()) );
connect( m_comboFileType, TQ_SIGNAL(activated(int)), this, TQ_SIGNAL(changed()) );
connect( m_editBaseDir, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SIGNAL(changed()) );
connect( m_buttonConfigurePlugin, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotConfigurePlugin()) );
m_editBaseDir->setMode( KFile::Directory | KFile::ExistingOnly | KFile::LocalOnly );
m_buttonConfigurePlugin->setIconSet( SmallIconSet( "gear" ) );

@ -116,13 +116,13 @@ void K3bAudioProjectConvertingDialog::setupGui()
// -------------------------------------------------------------------------------------------
m_patternWidget = new K3bCddbPatternWidget( mainTab );
mainTab->addTab( m_patternWidget, i18n("File Naming") );
connect( m_patternWidget, TQT_SIGNAL(changed()), this, TQT_SLOT(refresh()) );
connect( m_patternWidget, TQ_SIGNAL(changed()), this, TQ_SLOT(refresh()) );
Form1Layout->addWidget( m_viewTracks, 0, 0 );
Form1Layout->addWidget( mainTab, 1, 0 );
Form1Layout->setRowStretch( 0, 1 );
connect( m_optionWidget, TQT_SIGNAL(changed()), this, TQT_SLOT(refresh()) );
connect( m_optionWidget, TQ_SIGNAL(changed()), this, TQ_SLOT(refresh()) );
}

@ -29,11 +29,11 @@ K3bAudioRipJob::K3bAudioRipJob( K3bJobHandler* hdl, TQObject* parent )
m_thread = new K3bAudioRipThread();
m_threadJob = new K3bThreadJob( m_thread, this, this );
connectSubJob( m_threadJob,
TQT_SLOT(slotRippingFinished(bool)),
TQT_SIGNAL(newTask(const TQString&)),
TQT_SIGNAL(newSubTask(const TQString&)),
TQT_SIGNAL(percent(int)),
TQT_SIGNAL(subPercent(int)) );
TQ_SLOT(slotRippingFinished(bool)),
TQ_SIGNAL(newTask(const TQString&)),
TQ_SIGNAL(newSubTask(const TQString&)),
TQ_SIGNAL(percent(int)),
TQ_SIGNAL(subPercent(int)) );
}

@ -142,7 +142,7 @@ void K3bAudioRippingDialog::setupGui()
// -------------------------------------------------------------------------------------------
m_patternWidget = new K3bCddbPatternWidget( mainTab );
mainTab->addTab( m_patternWidget, i18n("File Naming") );
connect( m_patternWidget, TQT_SIGNAL(changed()), this, TQT_SLOT(refresh()) );
connect( m_patternWidget, TQ_SIGNAL(changed()), this, TQ_SLOT(refresh()) );
// setup advanced page
@ -176,8 +176,8 @@ void K3bAudioRippingDialog::setupGui()
setStartButtonText( i18n( "Start Ripping" ), i18n( "Starts copying the selected tracks") );
connect( m_checkUseIndex0, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(refresh()) );
connect( m_optionWidget, TQT_SIGNAL(changed()), this, TQT_SLOT(refresh()) );
connect( m_checkUseIndex0, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(refresh()) );
connect( m_optionWidget, TQ_SIGNAL(changed()), this, TQ_SLOT(refresh()) );
}

@ -409,7 +409,7 @@ void K3bAudioRipThread::cancel()
// wait for 1 second. I the thread still is working terminate it
// and trigger the finished slot manually
emitInfoMessage( i18n("Cancellation could take a while..."), K3bJob::INFO );
TQTimer::singleShot( 1000, this, TQT_SLOT(slotCheckIfThreadStillRunning()) );
TQTimer::singleShot( 1000, this, TQ_SLOT(slotCheckIfThreadStillRunning()) );
}

@ -56,18 +56,18 @@ K3bCddbPatternWidget::K3bCddbPatternWidget( TQWidget* parent, const char* name )
m_comboPlaylistPattern->insertItem( i18n( "Playlist" ) );
m_comboPlaylistPattern->insertItem( i18n( "playlists/%{albumartist}/%{albumtitle }" ) );
connect( m_comboFilenamePattern, TQT_SIGNAL(textChanged(const TQString&)),
this, TQT_SIGNAL(changed()) );
connect( m_comboPlaylistPattern, TQT_SIGNAL(textChanged(const TQString&)),
this, TQT_SIGNAL(changed()) );
connect( m_editBlankReplace, TQT_SIGNAL(textChanged(const TQString&)),
this, TQT_SIGNAL(changed()) );
connect( m_checkBlankReplace, TQT_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(changed()) );
connect( m_specialStringsLabel, TQT_SIGNAL(leftClickedURL()),
this, TQT_SLOT(slotSeeSpecialStrings()) );
connect( m_conditionalInclusionLabel, TQT_SIGNAL(leftClickedURL()),
this, TQT_SLOT(slotSeeConditionalInclusion()) );
connect( m_comboFilenamePattern, TQ_SIGNAL(textChanged(const TQString&)),
this, TQ_SIGNAL(changed()) );
connect( m_comboPlaylistPattern, TQ_SIGNAL(textChanged(const TQString&)),
this, TQ_SIGNAL(changed()) );
connect( m_editBlankReplace, TQ_SIGNAL(textChanged(const TQString&)),
this, TQ_SIGNAL(changed()) );
connect( m_checkBlankReplace, TQ_SIGNAL(toggled(bool)),
this, TQ_SIGNAL(changed()) );
connect( m_specialStringsLabel, TQ_SIGNAL(leftClickedURL()),
this, TQ_SLOT(slotSeeSpecialStrings()) );
connect( m_conditionalInclusionLabel, TQ_SIGNAL(leftClickedURL()),
this, TQ_SLOT(slotSeeConditionalInclusion()) );
}

@ -67,12 +67,12 @@ void K3bVideoCdInfo::info( const TQString& device )
*m_process << "-q" << "--norip" << "-i" << device << "-o" << "-";
connect( m_process, TQT_SIGNAL( receivedStderr( TDEProcess*, char*, int ) ),
this, TQT_SLOT( slotParseOutput( TDEProcess*, char*, int ) ) );
connect( m_process, TQT_SIGNAL( receivedStdout( TDEProcess*, char*, int ) ),
this, TQT_SLOT( slotParseOutput( TDEProcess*, char*, int ) ) );
connect( m_process, TQT_SIGNAL( processExited( TDEProcess* ) ),
this, TQT_SLOT( slotInfoFinished() ) );
connect( m_process, TQ_SIGNAL( receivedStderr( TDEProcess*, char*, int ) ),
this, TQ_SLOT( slotParseOutput( TDEProcess*, char*, int ) ) );
connect( m_process, TQ_SIGNAL( receivedStdout( TDEProcess*, char*, int ) ),
this, TQ_SLOT( slotParseOutput( TDEProcess*, char*, int ) ) );
connect( m_process, TQ_SIGNAL( processExited( TDEProcess* ) ),
this, TQ_SLOT( slotInfoFinished() ) );
if ( !m_process->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput ) ) {
kdDebug() << "(K3bVideoCdInfo::info) could not start vcdxrip" << endl;

@ -150,12 +150,12 @@ void K3bVideoCdRip::vcdxRip()
*m_process << "-o" << "/dev/null";
connect( m_process, TQT_SIGNAL( receivedStderr( TDEProcess*, char*, int ) ),
this, TQT_SLOT( slotParseVcdXRipOutput( TDEProcess*, char*, int ) ) );
connect( m_process, TQT_SIGNAL( receivedStdout( TDEProcess*, char*, int ) ),
this, TQT_SLOT( slotParseVcdXRipOutput( TDEProcess*, char*, int ) ) );
connect( m_process, TQT_SIGNAL( processExited( TDEProcess* ) ),
this, TQT_SLOT( slotVcdXRipFinished() ) );
connect( m_process, TQ_SIGNAL( receivedStderr( TDEProcess*, char*, int ) ),
this, TQ_SLOT( slotParseVcdXRipOutput( TDEProcess*, char*, int ) ) );
connect( m_process, TQ_SIGNAL( receivedStdout( TDEProcess*, char*, int ) ),
this, TQ_SLOT( slotParseVcdXRipOutput( TDEProcess*, char*, int ) ) );
connect( m_process, TQ_SIGNAL( processExited( TDEProcess* ) ),
this, TQ_SLOT( slotVcdXRipFinished() ) );
m_process->setWorkingDirectory( TQUrl( m_videooptions ->getVideoCdDestination() ).dirPath() );

@ -124,7 +124,7 @@ void K3bVideoCdRippingDialog::setupGui()
setStartButtonText( i18n( "Start Ripping" ), i18n( "Starts extracting the selected VideoCd tracks" ) );
// ----------------------------------------------------------------------------------
connect( m_editDirectory, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateFreeSpace()) );
connect( m_editDirectory, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateFreeSpace()) );
m_labelNecessarySize ->setText( TDEIO::convertSize( m_videooptions ->getVideoCdSize() ) );
}
@ -211,7 +211,7 @@ void K3bVideoCdRippingDialog::slotFreeSpace(const TQString&,
else
m_labelNecessarySize->setPaletteForegroundColor( m_labelFreeSpace->paletteForegroundColor() );
TQTimer::singleShot( 1000, this, TQT_SLOT(slotUpdateFreeSpace()) );
TQTimer::singleShot( 1000, this, TQ_SLOT(slotUpdateFreeSpace()) );
}

@ -173,14 +173,14 @@ K3bVideoCdView::K3bVideoCdView( TQWidget* parent, const char *name )
m_trackView->setItemsRenameable( false );
m_trackView->setRootIsDecorated( true );
connect( m_trackView, TQT_SIGNAL( contextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ),
this, TQT_SLOT( slotContextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ) );
connect( m_trackView, TQT_SIGNAL( selectionChanged( TQListViewItem* ) ),
this, TQT_SLOT( slotTrackSelectionChanged( TQListViewItem* ) ) );
connect( m_trackView, TQT_SIGNAL( clicked( TQListViewItem* ) ),
this, TQT_SLOT( slotStateChanged( TQListViewItem* ) ) );
connect( m_trackView, TQT_SIGNAL( spacePressed( TQListViewItem* ) ),
this, TQT_SLOT( slotStateChanged( TQListViewItem* ) ) );
connect( m_trackView, TQ_SIGNAL( contextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ),
this, TQ_SLOT( slotContextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ) );
connect( m_trackView, TQ_SIGNAL( selectionChanged( TQListViewItem* ) ),
this, TQ_SLOT( slotTrackSelectionChanged( TQListViewItem* ) ) );
connect( m_trackView, TQ_SIGNAL( clicked( TQListViewItem* ) ),
this, TQ_SLOT( slotStateChanged( TQListViewItem* ) ) );
connect( m_trackView, TQ_SIGNAL( spacePressed( TQListViewItem* ) ),
this, TQ_SLOT( slotStateChanged( TQListViewItem* ) ) );
mainGrid->addLayout( toolBoxLayout, 0, 0 );
@ -251,8 +251,8 @@ void K3bVideoCdView::reloadMedium()
m_videocdinfo = new K3bVideoCdInfo( this );
m_videocdinfo->info( device()->devicename() );
connect( m_videocdinfo, TQT_SIGNAL( infoFinished( bool ) ),
this, TQT_SLOT( slotVideoCdInfoFinished( bool ) ) );
connect( m_videocdinfo, TQ_SIGNAL( infoFinished( bool ) ),
this, TQ_SLOT( slotVideoCdInfoFinished( bool ) ) );
}
@ -322,20 +322,20 @@ void K3bVideoCdView::initActions()
{
m_actionCollection = new TDEActionCollection( this );
TDEAction* actionSelectAll = KStdAction::selectAll( this, TQT_SLOT( slotSelectAll() ),
TDEAction* actionSelectAll = KStdAction::selectAll( this, TQ_SLOT( slotSelectAll() ),
m_actionCollection, "select_all" );
TDEAction* actionDeselectAll = KStdAction::deselect( this, TQT_SLOT( slotDeselectAll() ),
TDEAction* actionDeselectAll = KStdAction::deselect( this, TQ_SLOT( slotDeselectAll() ),
m_actionCollection, "deselect_all" );
actionDeselectAll->setText( i18n( "Dese&lect All" ) );
TDEAction* actionSelect = new TDEAction( i18n( "Select Track" ), 0, 0, this,
TQT_SLOT( slotSelect() ), actionCollection(),
TQ_SLOT( slotSelect() ), actionCollection(),
"select_track" );
TDEAction* actionDeselect = new TDEAction( i18n( "Deselect Track" ), 0, 0, this,
TQT_SLOT( slotDeselect() ), actionCollection(),
TQ_SLOT( slotDeselect() ), actionCollection(),
"deselect_track" );
TDEAction* actionStartRip = new TDEAction( i18n( "Start Ripping" ), "system-run", 0, this,
TQT_SLOT( startRip() ), actionCollection(), "start_rip" );
TQ_SLOT( startRip() ), actionCollection(), "start_rip" );
// TODO: set the actions tooltips and whatsthis infos

@ -163,12 +163,12 @@ K3bVideoDVDRippingDialog::K3bVideoDVDRippingDialog( const K3bVideoDVD::VideoDVD&
frameLayout->setAutoAdd( true );
m_w = new K3bVideoDVDRippingWidget( frame );
connect( m_w, TQT_SIGNAL(changed()),
this, TQT_SLOT(slotUpdateFilesizes()) );
connect( m_w, TQT_SIGNAL(changed()),
this, TQT_SLOT(slotUpdateFilenames()) );
connect( m_w, TQT_SIGNAL(changed()),
this, TQT_SLOT(slotUpdateVideoSizes()) );
connect( m_w, TQ_SIGNAL(changed()),
this, TQ_SLOT(slotUpdateFilesizes()) );
connect( m_w, TQ_SIGNAL(changed()),
this, TQ_SLOT(slotUpdateFilenames()) );
connect( m_w, TQ_SIGNAL(changed()),
this, TQ_SLOT(slotUpdateVideoSizes()) );
setTitle( i18n("Video DVD Ripping"),
i18n("1 title from %1", "%n titles from %1", titles.count())

@ -89,11 +89,11 @@ K3bVideoDVDRippingJob::K3bVideoDVDRippingJob( K3bJobHandler* hdl, TQObject* pare
m_transcodingJob = new K3bVideoDVDTitleTranscodingJob( this, this );
connectSubJob( m_transcodingJob,
TQT_SLOT(slotTranscodingJobFinished(bool)),
TQT_SIGNAL(newTask(const TQString&)),
TQT_SIGNAL(newSubTask(const TQString&)),
TQT_SLOT(slotTranscodingProgress(int)),
TQT_SIGNAL(subPercent(int)),
TQ_SLOT(slotTranscodingJobFinished(bool)),
TQ_SIGNAL(newTask(const TQString&)),
TQ_SIGNAL(newSubTask(const TQString&)),
TQ_SLOT(slotTranscodingProgress(int)),
TQ_SIGNAL(subPercent(int)),
0,
0 );
m_detectClippingJob = 0;
@ -234,11 +234,11 @@ void K3bVideoDVDRippingJob::startDetectClipping( int ripInfoIndex )
if( !m_detectClippingJob ) {
m_detectClippingJob = new K3bVideoDVDTitleDetectClippingJob( this, this );
connectSubJob( m_detectClippingJob,
TQT_SLOT(slotDetectClippingJobFinished(bool)),
TQT_SIGNAL(newTask(const TQString&)),
TQT_SIGNAL(newSubTask(const TQString&)),
TQT_SLOT(slotDetectClippingProgress(int)),
TQT_SIGNAL(subPercent(int)),
TQ_SLOT(slotDetectClippingJobFinished(bool)),
TQ_SIGNAL(newTask(const TQString&)),
TQ_SIGNAL(newSubTask(const TQString&)),
TQ_SLOT(slotDetectClippingProgress(int)),
TQ_SIGNAL(subPercent(int)),
0,
0 );
}

@ -85,8 +85,8 @@ void K3bVideoDVDRippingPreview::generatePreview( const K3bVideoDVD::VideoDVD& dv
*m_process << "-Z" << "x200";
*m_process << "-o" << m_tempDir->name();
connect( m_process, TQT_SIGNAL(processExited(TDEProcess*)),
this, TQT_SLOT(slotTranscodeFinished(TDEProcess*)) );
connect( m_process, TQ_SIGNAL(processExited(TDEProcess*)),
this, TQ_SLOT(slotTranscodeFinished(TDEProcess*)) );
if( !m_process->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput ) ) { // we use AllOutput to not pollute stdout
// something went wrong when starting the program
// it "should" be the executable

@ -353,8 +353,8 @@ K3bVideoDVDRippingTitleListView::K3bVideoDVDRippingTitleListView( TQWidget* pare
m_toolTip = new TitleToolTip( this );
m_previewGen = new K3bVideoDVDRippingPreview( this );
connect( m_previewGen, TQT_SIGNAL(previewDone(bool)),
this, TQT_SLOT(slotPreviewDone(bool)) );
connect( m_previewGen, TQ_SIGNAL(previewDone(bool)),
this, TQ_SLOT(slotPreviewDone(bool)) );
}

@ -62,8 +62,8 @@ K3bVideoDVDRippingView::K3bVideoDVDRippingView( TQWidget* parent, const char * n
// ----------------------------------------------------------------------------------
m_titleView = new K3bVideoDVDRippingTitleListView( mainWidget() );
connect( m_titleView, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
this, TQT_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
connect( m_titleView, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
this, TQ_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
// general layout
// ----------------------------------------------------------------------------------
@ -219,19 +219,19 @@ void K3bVideoDVDRippingView::initActions()
m_actionCollection = new TDEActionCollection( this );
TDEAction* actionSelectAll = new TDEAction( i18n("Check All"), 0, 0, this,
TQT_SLOT(slotCheckAll()), actionCollection(),
TQ_SLOT(slotCheckAll()), actionCollection(),
"check_all" );
TDEAction* actionDeselectAll = new TDEAction( i18n("Uncheck All"), 0, 0, this,
TQT_SLOT(slotUncheckAll()), actionCollection(),
TQ_SLOT(slotUncheckAll()), actionCollection(),
"uncheck_all" );
TDEAction* actionSelect = new TDEAction( i18n("Check Track"), 0, 0, this,
TQT_SLOT(slotCheck()), actionCollection(),
TQ_SLOT(slotCheck()), actionCollection(),
"select_track" );
TDEAction* actionDeselect = new TDEAction( i18n("Uncheck Track"), 0, 0, this,
TQT_SLOT(slotUncheck()), actionCollection(),
TQ_SLOT(slotUncheck()), actionCollection(),
"deselect_track" );
TDEAction* actionStartRip = new TDEAction( i18n("Start Ripping"), "gear", 0, this,
TQT_SLOT(slotStartRipping()), m_actionCollection, "start_rip" );
TQ_SLOT(slotStartRipping()), m_actionCollection, "start_rip" );
actionStartRip->setToolTip( i18n("Open the Video DVD ripping dialog") );

@ -118,32 +118,32 @@ K3bVideoDVDRippingWidget::K3bVideoDVDRippingWidget( TQWidget* parent )
slotAudioCodecChanged( m_comboAudioCodec->selectedValue() );
connect( m_comboAudioBitrate, TQT_SIGNAL(textChanged(const TQString&)),
this, TQT_SIGNAL(changed()) );
connect( m_spinVideoBitrate, TQT_SIGNAL(valueChanged(int)),
this, TQT_SIGNAL(changed()) );
connect( m_checkBlankReplace, TQT_SIGNAL(toggled(bool)),
this, TQT_SIGNAL(changed()) );
connect( m_editBlankReplace, TQT_SIGNAL(textChanged(const TQString&)),
this, TQT_SIGNAL(changed()) );
connect( m_comboFilenamePattern, TQT_SIGNAL(textChanged(const TQString&)),
this, TQT_SIGNAL(changed()) );
connect( m_editBaseDir, TQT_SIGNAL(textChanged(const TQString&)),
this, TQT_SIGNAL(changed()) );
connect( m_comboAudioCodec, TQT_SIGNAL(valueChanged(int)),
this, TQT_SLOT(slotAudioCodecChanged(int)) );
connect( m_specialStringsLabel, TQT_SIGNAL(leftClickedURL()),
this, TQT_SLOT(slotSeeSpecialStrings()) );
connect( m_buttonCustomPictureSize, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotCustomPictureSize()) );
connect( m_comboVideoSize, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotVideoSizeChanged(int)) );
connect( m_comboAudioBitrate, TQ_SIGNAL(textChanged(const TQString&)),
this, TQ_SIGNAL(changed()) );
connect( m_spinVideoBitrate, TQ_SIGNAL(valueChanged(int)),
this, TQ_SIGNAL(changed()) );
connect( m_checkBlankReplace, TQ_SIGNAL(toggled(bool)),
this, TQ_SIGNAL(changed()) );
connect( m_editBlankReplace, TQ_SIGNAL(textChanged(const TQString&)),
this, TQ_SIGNAL(changed()) );
connect( m_comboFilenamePattern, TQ_SIGNAL(textChanged(const TQString&)),
this, TQ_SIGNAL(changed()) );
connect( m_editBaseDir, TQ_SIGNAL(textChanged(const TQString&)),
this, TQ_SIGNAL(changed()) );
connect( m_comboAudioCodec, TQ_SIGNAL(valueChanged(int)),
this, TQ_SLOT(slotAudioCodecChanged(int)) );
connect( m_specialStringsLabel, TQ_SIGNAL(leftClickedURL()),
this, TQ_SLOT(slotSeeSpecialStrings()) );
connect( m_buttonCustomPictureSize, TQ_SIGNAL(clicked()),
this, TQ_SLOT(slotCustomPictureSize()) );
connect( m_comboVideoSize, TQ_SIGNAL(activated(int)),
this, TQ_SLOT(slotVideoSizeChanged(int)) );
// refresh every 2 seconds
m_freeSpaceUpdateTimer = new TQTimer( this );
connect( m_freeSpaceUpdateTimer, TQT_SIGNAL(timeout()),
this, TQT_SLOT(slotUpdateFreeTempSpace()) );
connect( m_freeSpaceUpdateTimer, TQ_SIGNAL(timeout()),
this, TQ_SLOT(slotUpdateFreeTempSpace()) );
m_freeSpaceUpdateTimer->start(2000);
slotUpdateFreeTempSpace();
}

Loading…
Cancel
Save