summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9burndvd.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:35:52 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:35:52 -0600
commit1e42ec29323d1016df59b8b571d16fefe3d4e6f1 (patch)
tree3cdfd52c475c581a2e1fe682e0954305a21acea2 /libk9copy/k9burndvd.cpp
parent445633c8ffa0b5219c036b130230fdc6d97e9894 (diff)
downloadk9copy-1e42ec29323d1016df59b8b571d16fefe3d4e6f1.tar.gz
k9copy-1e42ec29323d1016df59b8b571d16fefe3d4e6f1.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'libk9copy/k9burndvd.cpp')
-rw-r--r--libk9copy/k9burndvd.cpp16
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) {