diff options
Diffstat (limited to 'libk9copy/k9burndvd.cpp')
-rw-r--r-- | libk9copy/k9burndvd.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libk9copy/k9burndvd.cpp b/libk9copy/k9burndvd.cpp index 7a53968..542f37d 100644 --- a/libk9copy/k9burndvd.cpp +++ b/libk9copy/k9burndvd.cpp @@ -176,9 +176,9 @@ void k9BurnDVD::getWodimCmd(k9Process *proc) { *proc <<"-data"; if (m_speed !=i18n("default")) - *proc << TQString("speed=%1").tqarg(m_speed); - *proc <<TQString("dev=%1").tqarg(burnDevice); - *proc <<TQString("tsize=%1s").tqarg(imageSize); + *proc << TQString("speed=%1").arg(m_speed); + *proc <<TQString("dev=%1").arg(burnDevice); + *proc <<TQString("tsize=%1s").arg(imageSize); *proc << "-"; } @@ -222,7 +222,7 @@ void k9BurnDVD::burnWithGenisoimage() { if (!cancelled) { int res=progress->execute(); if ( res==-1 ) { - KMessageBox::error( 0, i18n("Error burning DVD :\n")+i18n("Unable to run %1").tqarg("genisoimage"), i18n("DVD burning") ); + KMessageBox::error( 0, i18n("Error burning DVD :\n")+i18n("Unable to run %1").arg("genisoimage"), i18n("DVD burning") ); cancelled=true; } else { if (proc->exitStatus()==0) { @@ -233,7 +233,7 @@ void k9BurnDVD::burnWithGenisoimage() { } else { TQString c; - c=i18n("An error occured while Burning DVD: %1").tqarg(lastMsg) +"\n" +i18n("Insert an other DVD"); + c=i18n("An error occured while Burning DVD: %1").arg(lastMsg) +"\n" +i18n("Insert an other DVD"); if ( KMessageBox::warningContinueCancel ( 0,c, i18n("authoring"))!=KMessageBox::Continue) { cancelled=true; } @@ -306,7 +306,7 @@ void k9BurnDVD::burnWithGrowisofs() { if (!cancelled) { int res=progress->execute(); if ( res==-1 ) { - KMessageBox::error( 0, i18n("Error burning DVD :\n")+i18n("Unable to run %1").tqarg(progname), i18n("DVD burning") ); + KMessageBox::error( 0, i18n("Error burning DVD :\n")+i18n("Unable to run %1").arg(progname), i18n("DVD burning") ); cancelled=true; } else { if (proc->exitStatus()==0) { @@ -317,7 +317,7 @@ void k9BurnDVD::burnWithGrowisofs() { } else { TQString c; - c=i18n("An error occured while Burning DVD: %1").tqarg(lastMsg) +"\n" +i18n("Insert an other DVD"); + c=i18n("An error occured while Burning DVD: %1").arg(lastMsg) +"\n" +i18n("Insert an other DVD"); if ( KMessageBox::warningContinueCancel ( 0,c, i18n("authoring"))!=KMessageBox::Continue) { cancelled=true; } @@ -346,7 +346,7 @@ void k9BurnDVD::growisoStderr(KProcess *proc, char *buffer, int buflen) { } progress->setTitle(i18n("Burning DVD")); - progress->setLabelText(i18n("Current write speed :%1 x").tqarg(burnSpeed)); + progress->setLabelText(i18n("Current write speed :%1 x").arg(burnSpeed)); if (c.contains("% done")) { pos=c.find("%"); if (pos!=-1) { |