From 83fbc82a101309e171089f0d5ed080f82a367345 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:49:11 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kaudiocreator/cdconfig.ui | 2 +- kaudiocreator/encodefile.ui | 26 +++++++++++++------------- kaudiocreator/encodefileimp.cpp | 2 +- kaudiocreator/encoder.cpp | 16 ++++++++-------- kaudiocreator/encoderconfig.ui | 10 +++++----- kaudiocreator/encoderconfigimp.cpp | 4 ++-- kaudiocreator/encoderedit.ui | 4 ++-- kaudiocreator/encoderoutput.ui | 2 +- kaudiocreator/general.ui | 6 +++--- kaudiocreator/infodialog.ui | 20 ++++++++++---------- kaudiocreator/jobque.ui | 4 ++-- kaudiocreator/jobqueimp.cpp | 20 ++++++++++---------- kaudiocreator/kaudiocreator.cpp | 26 +++++++++++++------------- kaudiocreator/kaudiocreator.h | 2 +- kaudiocreator/ripconfig.ui | 2 +- kaudiocreator/ripper.cpp | 10 +++++----- kaudiocreator/tracks.ui | 8 ++++---- kaudiocreator/tracksimp.cpp | 10 +++++----- kaudiocreator/wizard.ui | 8 ++++---- kaudiocreator/wizard.ui.h | 2 +- 20 files changed, 92 insertions(+), 92 deletions(-) (limited to 'kaudiocreator') diff --git a/kaudiocreator/cdconfig.ui b/kaudiocreator/cdconfig.ui index cc317a9e..c0756c83 100644 --- a/kaudiocreator/cdconfig.ui +++ b/kaudiocreator/cdconfig.ui @@ -45,7 +45,7 @@ Expanding - + 20 20 diff --git a/kaudiocreator/encodefile.ui b/kaudiocreator/encodefile.ui index ccbb6313..93a4055f 100644 --- a/kaudiocreator/encodefile.ui +++ b/kaudiocreator/encodefile.ui @@ -21,7 +21,7 @@ - tqlayout5 + layout5 @@ -74,7 +74,7 @@ Track: - + AlignVCenter|AlignRight @@ -85,7 +85,7 @@ Comment: - + AlignVCenter|AlignRight @@ -101,7 +101,7 @@ Title: - + AlignVCenter|AlignRight @@ -114,7 +114,7 @@ Artist: - + AlignVCenter|AlignRight @@ -153,7 +153,7 @@ Artist: - + AlignVCenter|AlignRight @@ -166,7 +166,7 @@ Album: - + AlignVCenter|AlignRight @@ -192,7 +192,7 @@ Year: - + AlignVCenter|AlignRight @@ -205,7 +205,7 @@ Genre: - + AlignVCenter|AlignRight @@ -223,7 +223,7 @@ Comment: - + AlignVCenter|AlignRight @@ -244,7 +244,7 @@ Expanding - + 20 16 @@ -267,7 +267,7 @@ - tqlayout4 + layout4 @@ -283,7 +283,7 @@ Expanding - + 121 20 diff --git a/kaudiocreator/encodefileimp.cpp b/kaudiocreator/encodefileimp.cpp index 28d46320..59f32405 100644 --- a/kaudiocreator/encodefileimp.cpp +++ b/kaudiocreator/encodefileimp.cpp @@ -70,7 +70,7 @@ void EncodeFileImp::encode(){ int counter(1); KMessageBox::information(this, i18n("%1 Job(s) have been started. You can watch their progress in the " \ - "jobs section.").tqarg(counter), + "jobs section.").arg(counter), i18n("Jobs have started"), i18n("Jobs have started")); } diff --git a/kaudiocreator/encoder.cpp b/kaudiocreator/encoder.cpp index e528a29a..0be1fef1 100644 --- a/kaudiocreator/encoder.cpp +++ b/kaudiocreator/encoder.cpp @@ -31,7 +31,7 @@ #include #include #include -#include +#include #include /** @@ -53,7 +53,7 @@ void Encoder::loadSettings() { EncoderPrefs* Encoder::loadEncoder( int encoder ){ EncoderPrefs* prefs; - TQString currentEncoderGroup = TQString("Encoder_%1").tqarg(encoder); + TQString currentEncoderGroup = TQString("Encoder_%1").arg(encoder); prefs = EncoderPrefs::prefs(currentEncoderGroup); if ( !EncoderPrefs::hasPrefs(currentEncoderGroup) ) { KMessageBox::sorry(0, i18n("No encoder has been selected.\nPlease select an encoder in the configuration."), i18n("No Encoder Selected")); @@ -132,8 +132,8 @@ void Encoder::removeJob(int id ) { * @param job the job to encode. */ void Encoder::encodeWav(Job *job ) { - emit(addJob(job, i18n("Encoding (%1): %2 - %3").tqarg(loadEncoder(job->encoder)->extension()) - .tqarg(job->track_artist).tqarg(job->track_title))); + emit(addJob(job, i18n("Encoding (%1): %2 - %3").arg(loadEncoder(job->encoder)->extension()) + .arg(job->track_artist).arg(job->track_title))); pendingJobs.append(job); tendToNewJobs(); } @@ -252,12 +252,12 @@ void Encoder::receivedThreadOutput(KProcess *process, char *buffer, int length ) reportCount++; return; } - //qDebug(TQString("Pre cropped: %1").tqarg(output).latin1()); + //qDebug(TQString("Pre cropped: %1").arg(output).latin1()); output = output.mid(output.find('%')-loadEncoder(job->encoder)->percentLength(),2); - //qDebug(TQString("Post cropped: %1").tqarg(output).latin1()); + //qDebug(TQString("Post cropped: %1").arg(output).latin1()); bool conversionSuccessfull = false; int percent = output.toInt(&conversionSuccessfull); - //qDebug(TQString("number: %1").tqarg(percent).latin1()); + //qDebug(TQString("number: %1").arg(percent).latin1()); if ( percent >= 0 && percent < 100 && conversionSuccessfull ) { emit(updateProgress(job->id, percent)); } @@ -284,7 +284,7 @@ void Encoder::jobDone(KProcess *process ) { bool showDebugBox = false; if ( process->exitStatus() == 127 ) { - KMessageBox::sorry(0, i18n("The selected encoder was not found.\nThe wav file has been removed. Command was: %1").tqarg(job->errorString), i18n("Encoding Failed")); + KMessageBox::sorry(0, i18n("The selected encoder was not found.\nThe wav file has been removed. Command was: %1").arg(job->errorString), i18n("Encoding Failed")); emit(updateProgress(job->id, -1)); } else if ( TQFile::exists(job->newLocation) ) { diff --git a/kaudiocreator/encoderconfig.ui b/kaudiocreator/encoderconfig.ui index 67f256c0..51e00ef1 100644 --- a/kaudiocreator/encoderconfig.ui +++ b/kaudiocreator/encoderconfig.ui @@ -131,7 +131,7 @@ Expanding - + 20 20 @@ -140,7 +140,7 @@ - tqlayout2 + layout2 @@ -188,7 +188,7 @@ Expanding - + 20 30 @@ -241,7 +241,7 @@ Lowest - + AlignVCenter|AlignRight @@ -252,7 +252,7 @@ Normal - + AlignCenter diff --git a/kaudiocreator/encoderconfigimp.cpp b/kaudiocreator/encoderconfigimp.cpp index 98321887..e49dd6a9 100644 --- a/kaudiocreator/encoderconfigimp.cpp +++ b/kaudiocreator/encoderconfigimp.cpp @@ -93,7 +93,7 @@ void EncoderConfigImp::loadEncoderList(){ int lastKnownEncoder = Prefs::lastKnownEncoder(); lastKnownEncoder++; for( int i=0; i<=lastKnownEncoder; i++ ){ - TQString currentGroup = TQString("Encoder_%1").tqarg(i); + TQString currentGroup = TQString("Encoder_%1").arg(i); if(EncoderPrefs::hasPrefs(currentGroup)){ lastEncoder = i; EncoderPrefs *encPrefs = EncoderPrefs::prefs(currentGroup); @@ -123,7 +123,7 @@ void EncoderConfigImp::addEncoderSlot(){ uint number = 0; TQString groupName; while(!foundEmptyGroup){ - groupName = TQString("Encoder_%1").tqarg(number); + groupName = TQString("Encoder_%1").arg(number); if(!EncoderPrefs::hasPrefs(groupName)) foundEmptyGroup = true; else diff --git a/kaudiocreator/encoderedit.ui b/kaudiocreator/encoderedit.ui index f5c3c072..1023611b 100644 --- a/kaudiocreator/encoderedit.ui +++ b/kaudiocreator/encoderedit.ui @@ -28,7 +28,7 @@ kcfg_encoderName - + 320 0 @@ -80,7 +80,7 @@ Expanding - + 20 16 diff --git a/kaudiocreator/encoderoutput.ui b/kaudiocreator/encoderoutput.ui index 94779b68..8851d0f4 100644 --- a/kaudiocreator/encoderoutput.ui +++ b/kaudiocreator/encoderoutput.ui @@ -63,7 +63,7 @@ Expanding - + 20 20 diff --git a/kaudiocreator/general.ui b/kaudiocreator/general.ui index 765cbb1c..f372e507 100644 --- a/kaudiocreator/general.ui +++ b/kaudiocreator/general.ui @@ -65,7 +65,7 @@ Regular expression used on all file names. For example using selection " " and replace with "_" would replace all the spaces with underlines. - + WordBreak|AlignVCenter @@ -194,7 +194,7 @@ - tqlayout1 + layout1 @@ -240,7 +240,7 @@ Expanding - + 20 16 diff --git a/kaudiocreator/infodialog.ui b/kaudiocreator/infodialog.ui index 1add6372..5a22fb56 100644 --- a/kaudiocreator/infodialog.ui +++ b/kaudiocreator/infodialog.ui @@ -46,7 +46,7 @@ Comment: - + AlignVCenter|AlignRight @@ -62,7 +62,7 @@ Title: - + AlignVCenter|AlignRight @@ -80,7 +80,7 @@ Artist: - + AlignVCenter|AlignRight @@ -114,7 +114,7 @@ Artist: - + AlignVCenter|AlignRight @@ -127,7 +127,7 @@ Album: - + AlignVCenter|AlignRight @@ -153,7 +153,7 @@ Year: - + AlignVCenter|AlignRight @@ -166,7 +166,7 @@ Genre: - + AlignVCenter|AlignRight @@ -184,7 +184,7 @@ Comment: - + AlignVCenter|AlignRight @@ -205,7 +205,7 @@ Expanding - + 20 100 @@ -214,7 +214,7 @@ - tqlayout2 + layout2 diff --git a/kaudiocreator/jobque.ui b/kaudiocreator/jobque.ui index 3c76a257..eb158f54 100644 --- a/kaudiocreator/jobque.ui +++ b/kaudiocreator/jobque.ui @@ -45,7 +45,7 @@ Expanding - + 16 20 @@ -106,7 +106,7 @@ No jobs are in the queue - + AlignCenter diff --git a/kaudiocreator/jobqueimp.cpp b/kaudiocreator/jobqueimp.cpp index 8ca6d087..81c0431d 100644 --- a/kaudiocreator/jobqueimp.cpp +++ b/kaudiocreator/jobqueimp.cpp @@ -64,7 +64,7 @@ JobQueImp::JobQueImp( TQWidget* parent, const char* name) : */ TQString JobQueImp::getStringFromNumber(int number){ if(number > highestNumber){ - int diff = TQString("%1").tqarg(number).length() - TQString("%1").tqarg(highestNumber).length(); + int diff = TQString("%1").arg(number).length() - TQString("%1").arg(highestNumber).length(); highestNumber = number; if(diff > 0){ // We have to update all of the cells. @@ -77,7 +77,7 @@ TQString JobQueImp::getStringFromNumber(int number){ } TQString buffer = ""; - uint newLength = TQString("%1").tqarg(highestNumber).length() - TQString("%1").tqarg(number).length(); + uint newLength = TQString("%1").arg(highestNumber).length() - TQString("%1").arg(number).length(); for(uint i=0; i < newLength; i++) buffer += "0"; return buffer; @@ -92,9 +92,9 @@ void JobQueImp::addJob(Job*job, const TQString &name ){ if(!job) return; job->id = ++currentId; - QueListViewItem *currentItem = new QueListViewItem(todoQue, TQString("%1%2").tqarg(getStringFromNumber(currentId)).tqarg(currentId), "0", name); + QueListViewItem *currentItem = new QueListViewItem(todoQue, TQString("%1%2").arg(getStringFromNumber(currentId)).arg(currentId), "0", name); currentItem->setPixmap(ICON_LOC, SmallIcon("player_pause", currentItem->height()-2)); - queLabel->setText(i18n("Number of jobs in the queue: %1").tqarg(todoQue->childCount())); + queLabel->setText(i18n("Number of jobs in the queue: %1").arg(todoQue->childCount())); } /** @@ -106,7 +106,7 @@ void JobQueImp::updateProgress(int id, int progress){ int currentJobCount = numberOfJobsNotFinished(); QueListViewItem * currentItem = (QueListViewItem*)todoQue->firstChild(); TQString buffer = getStringFromNumber(id); - buffer += TQString("%1").tqarg(id); + buffer += TQString("%1").arg(id); // Find the current item while( currentItem != NULL ){ @@ -124,7 +124,7 @@ void JobQueImp::updateProgress(int id, int progress){ return; currentItem->percentDone = progress; - currentItem->tqrepaint(); + currentItem->repaint(); // Update the icon if needed if(progress > 0 && progress < 100 && !currentItem->progressing ){ @@ -158,7 +158,7 @@ bool JobQueImp::removeJob(QueListViewItem *item, bool kill, bool prompt){ if(!item) return false; - if(item->percentDone < 100 && item->percentDone > -1 && (prompt && KMessageBox::questionYesNo(this, i18n("KAudioCreator has not finished %1. Remove anyway?").tqarg(item->text(HEADER_DESCRIPTION)), i18n("Unfinished Job in Queue"), KStdGuiItem::del(), i18n("Keep")) + if(item->percentDone < 100 && item->percentDone > -1 && (prompt && KMessageBox::questionYesNo(this, i18n("KAudioCreator has not finished %1. Remove anyway?").arg(item->text(HEADER_DESCRIPTION)), i18n("Unfinished Job in Queue"), KStdGuiItem::del(), i18n("Keep")) == KMessageBox::No )) return false; @@ -180,7 +180,7 @@ bool JobQueImp::removeJob(QueListViewItem *item, bool kill, bool prompt){ currentId = 0; } else - queLabel->setText(i18n("Number of jobs in the queue: %1").tqarg(todoQue->childCount())); + queLabel->setText(i18n("Number of jobs in the queue: %1").arg(todoQue->childCount())); return true; } @@ -248,7 +248,7 @@ void JobQueImp::clearDoneJobs(){ currentId = 0; } else - queLabel->setText(i18n("Number of jobs in the queue: %1").tqarg(todoQue->childCount())); + queLabel->setText(i18n("Number of jobs in the queue: %1").arg(todoQue->childCount())); } /** @@ -270,7 +270,7 @@ int JobQueImp::numberOfJobsNotFinished(){ } /** - * The tqrepaint function overloaded so that we can have a built in progressbar. + * The repaint function overloaded so that we can have a built in progressbar. */ void QueListViewItem::paintCell (TQPainter * p,const TQColorGroup &cg,int column, int width,int align){ diff --git a/kaudiocreator/kaudiocreator.cpp b/kaudiocreator/kaudiocreator.cpp index 91c0de17..c5db6337 100644 --- a/kaudiocreator/kaudiocreator.cpp +++ b/kaudiocreator/kaudiocreator.cpp @@ -92,7 +92,7 @@ KAudioCreator::KAudioCreator( TQWidget* parent, const char* name) : TQT_SLOT( startSession() ), actionCollection(), "rip_selected" ); rip->setEnabled( false ); - connect( jobQue, TQT_SIGNAL( removeJob(int) ), TQT_TQOBJECT(this), TQT_SLOT( updatetqStatus() ) ); + connect( jobQue, TQT_SIGNAL( removeJob(int) ), TQT_TQOBJECT(this), TQT_SLOT( updateStatus() ) ); connect( jobQue, TQT_SIGNAL( removeJob(int) ), TQT_TQOBJECT(ripper), TQT_SLOT( removeJob(int) ) ); connect( jobQue, TQT_SIGNAL( removeJob(int) ), TQT_TQOBJECT(encoder), TQT_SLOT( removeJob(int)) ); @@ -100,11 +100,11 @@ KAudioCreator::KAudioCreator( TQWidget* parent, const char* name) : connect( ripper, TQT_SIGNAL( addJob(Job*, const TQString &) ), TQT_TQOBJECT(jobQue), TQT_SLOT( addJob(Job*, const TQString &)) ); connect( ripper, TQT_SIGNAL( eject(const TQString &) ) , TQT_TQOBJECT(tracks), TQT_SLOT( ejectDevice(const TQString &)) ); connect( ripper, TQT_SIGNAL( encodeWav(Job *) ) , TQT_TQOBJECT(encoder), TQT_SLOT( encodeWav(Job *)) ); - connect( ripper, TQT_SIGNAL( jobsChanged() ) , TQT_TQOBJECT(this), TQT_SLOT( updatetqStatus() ) ); + connect( ripper, TQT_SIGNAL( jobsChanged() ) , TQT_TQOBJECT(this), TQT_SLOT( updateStatus() ) ); connect( encoder, TQT_SIGNAL( updateProgress(int, int) ) , TQT_TQOBJECT(jobQue), TQT_SLOT( updateProgress(int,int)) ); connect( encoder, TQT_SIGNAL( addJob(Job*, const TQString&)), TQT_TQOBJECT(jobQue), TQT_SLOT( addJob(Job*, const TQString &)) ); - connect( encoder, TQT_SIGNAL( jobsChanged() ) , TQT_TQOBJECT(this), TQT_SLOT( updatetqStatus() ) ); + connect( encoder, TQT_SIGNAL( jobsChanged() ) , TQT_TQOBJECT(this), TQT_SLOT( updateStatus() ) ); connect( tracks, TQT_SIGNAL( hasCD(bool) ) , TQT_TQOBJECT(this), TQT_SLOT( hasCD(bool) ) ); connect( tracks, TQT_SIGNAL( ripTrack(Job *) ), TQT_TQOBJECT(ripper), TQT_SLOT( ripTrack(Job *)) ); @@ -153,10 +153,10 @@ void KAudioCreator::getRipMenu(){ ripMenu->clear(); int i=0; - TQString currentGroup = TQString("Encoder_%1").tqarg(i); + TQString currentGroup = TQString("Encoder_%1").arg(i); while(EncoderPrefs::hasPrefs(currentGroup)){ ripMenu->insertItem(EncoderPrefs::prefs(currentGroup)->encoderName(), i); - currentGroup = TQString("Encoder_%1").tqarg(++i); + currentGroup = TQString("Encoder_%1").arg(++i); } } @@ -170,28 +170,28 @@ void KAudioCreator::hasCD(bool cd){ statusBar()->changeItem(i18n("No Audio CD detected"), 0 ); } -void KAudioCreator::updatetqStatus() { +void KAudioCreator::updateStatus() { TQString status = i18n("Idle."); - TQString rippingtqStatus; - TQString encodingtqStatus; + TQString rippingStatus; + TQString encodingStatus; int activeRippingJobs = ripper->activeJobCount(); int pendingRippingJobs = ripper->pendingJobCount(); int activeEncodingJobs = encoder->activeJobCount(); int pendingEncodingJobs = encoder->pendingJobCount(); if ( activeRippingJobs ) { - rippingtqStatus = i18n("Ripping (%1 active, %2 queued)").tqarg( activeRippingJobs ).tqarg( pendingRippingJobs ); - status = rippingtqStatus; + rippingStatus = i18n("Ripping (%1 active, %2 queued)").arg( activeRippingJobs ).arg( pendingRippingJobs ); + status = rippingStatus; } if ( activeEncodingJobs ) { - encodingtqStatus = i18n("Encoding (%1 active, %2 queued)").tqarg( activeEncodingJobs ).tqarg( pendingEncodingJobs ); + encodingStatus = i18n("Encoding (%1 active, %2 queued)").arg( activeEncodingJobs ).arg( pendingEncodingJobs ); if ( activeRippingJobs ) { status.append(" : "); - status.append( encodingtqStatus ); + status.append( encodingStatus ); } else { - status = encodingtqStatus; + status = encodingStatus; } } diff --git a/kaudiocreator/kaudiocreator.h b/kaudiocreator/kaudiocreator.h index 5e901d77..64bca008 100644 --- a/kaudiocreator/kaudiocreator.h +++ b/kaudiocreator/kaudiocreator.h @@ -47,7 +47,7 @@ protected: private slots: void showSettings(); - void updatetqStatus(); + void updateStatus(); void hasCD(bool); void configureNotifications(); diff --git a/kaudiocreator/ripconfig.ui b/kaudiocreator/ripconfig.ui index 8c47615b..7d655de1 100644 --- a/kaudiocreator/ripconfig.ui +++ b/kaudiocreator/ripconfig.ui @@ -151,7 +151,7 @@ Expanding - + 20 280 diff --git a/kaudiocreator/ripper.cpp b/kaudiocreator/ripper.cpp index 2e953ce6..cb9c012b 100644 --- a/kaudiocreator/ripper.cpp +++ b/kaudiocreator/ripper.cpp @@ -120,7 +120,7 @@ void Ripper::removeJob(int id){ pendingJobs.remove(job); delete job; } - //qDebug(TQString("Done removing Job:%1").tqarg(id).latin1()); + //qDebug(TQString("Done removing Job:%1").arg(id).latin1()); tendToNewJobs(); } @@ -132,7 +132,7 @@ void Ripper::removeJob(int id){ void Ripper::ripTrack(Job *job){ if(!job) return; - emit(addJob(job, i18n("Ripping: %1 - %2").tqarg(job->track_artist).tqarg(job->track_title))); + emit(addJob(job, i18n("Ripping: %1 - %2").arg(job->track_artist).arg(job->track_title))); pendingJobs.append(job); tendToNewJobs(); } @@ -172,12 +172,12 @@ void Ripper::tendToNewJobs(){ TQString wavFile; TQString args = job->device; if(!args.isEmpty()) - args = TQString("?device=%1").tqarg(args); + args = TQString("?device=%1").arg(args); args = args+"&fileNameTemplate=Track %{number}"; if(job->track < 10) - wavFile = TQString("audiocd:/Wav/Track 0%1.wav%2").tqarg(job->track).tqarg(args); + wavFile = TQString("audiocd:/Wav/Track 0%1.wav%2").arg(job->track).arg(args); else - wavFile = TQString("audiocd:/Wav/Track %1.wav%2").tqarg(job->track).tqarg(args); + wavFile = TQString("audiocd:/Wav/Track %1.wav%2").arg(job->track).arg(args); KURL source(wavFile); KURL dest(tmp.name()); diff --git a/kaudiocreator/tracks.ui b/kaudiocreator/tracks.ui index 8b7e5a5e..0f9a5743 100644 --- a/kaudiocreator/tracks.ui +++ b/kaudiocreator/tracks.ui @@ -35,7 +35,7 @@ Unknown Artist - Unknown Album - + AlignCenter @@ -120,7 +120,7 @@ Expanding - + 20 20 @@ -147,7 +147,7 @@ - tqlayout6 + layout6 @@ -200,7 +200,7 @@ Expanding - + 246 20 diff --git a/kaudiocreator/tracksimp.cpp b/kaudiocreator/tracksimp.cpp index 81dbe1c9..36419871 100644 --- a/kaudiocreator/tracksimp.cpp +++ b/kaudiocreator/tracksimp.cpp @@ -198,7 +198,7 @@ void TracksImp::changeDevice(const TQString &file ) { TQString errstring = i18n("CDROM read or access error (or no audio disk in drive).\n"\ "Please make sure you have access permissions to:\n%1") - .tqarg(file); + .arg(file); KMessageBox::error(this, errstring, i18n("Error")); } } @@ -247,8 +247,8 @@ void TracksImp::lookupCDDBDone(CDDB::Result result ) { CDInfoList::iterator it; TQStringList list; for ( it = cddb_info.begin(); it != cddb_info.end(); ++it ) { - list.append( TQString("%1, %2, %3").tqarg((*it).artist).tqarg((*it).title) - .tqarg((*it).genre)); + list.append( TQString("%1, %2, %3").arg((*it).artist).arg((*it).title) + .arg((*it).genre)); } bool ok(false); @@ -378,7 +378,7 @@ void TracksImp::startSession( int encoder ) if( Prefs::promptIfIncompleteInfo() && list.count() > 0 ) { int r = KMessageBox::questionYesNo( this, - i18n( "Part of the album is not set: %1.\n (To change album information click the \"Edit Information\" button.)\n Would you like to rip the selected tracks anyway?").tqarg(list.join(", ")), i18n("Album Information Incomplete"), i18n("Rip"), KStdGuiItem::cancel() ); + i18n( "Part of the album is not set: %1.\n (To change album information click the \"Edit Information\" button.)\n Would you like to rip the selected tracks anyway?").arg(list.join(", ")), i18n("Album Information Incomplete"), i18n("Rip"), KStdGuiItem::cancel() ); if( r == KMessageBox::No ) return; @@ -417,7 +417,7 @@ void TracksImp::startSession( int encoder ) KMessageBox::information(this, i18n("%1 Job(s) have been started. You can watch their progress in the " - "jobs section.").tqarg( selected.count() ), + "jobs section.").arg( selected.count() ), i18n("Jobs have started"), i18n("Jobs have started")); } diff --git a/kaudiocreator/wizard.ui b/kaudiocreator/wizard.ui index f289cb2d..34a49d8e 100644 --- a/kaudiocreator/wizard.ui +++ b/kaudiocreator/wizard.ui @@ -51,7 +51,7 @@ RichText - + WordBreak|AlignTop|AlignLeft @@ -65,7 +65,7 @@ Expanding - + 20 16 @@ -117,7 +117,7 @@ - tqlayout15 + layout15 @@ -251,7 +251,7 @@ Expanding - + 20 20 diff --git a/kaudiocreator/wizard.ui.h b/kaudiocreator/wizard.ui.h index 7c22638e..cbd6ca68 100644 --- a/kaudiocreator/wizard.ui.h +++ b/kaudiocreator/wizard.ui.h @@ -105,6 +105,6 @@ void fileWizard::fileFormatTextChanged(const TQString& text) TQMap map; map.insert("extension", "mp3"); string = job.replaceSpecialChars(string, false, map); - exampleLabel->setText(i18n("Example: %1").tqarg(string)); + exampleLabel->setText(i18n("Example: %1").arg(string)); } -- cgit v1.2.1