summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9burndvd.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:54 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:54 -0600
commitb8a4f26c42f6d41e8251b60357f1a6990c1e8ad8 (patch)
tree9beca7fe1a592f5f49be1e0bb4d03f0dfc1829c7 /libk9copy/k9burndvd.cpp
parent23c5272c1c49acf0906f7c97a524333705f7be46 (diff)
downloadk9copy-b8a4f26c42f6d41e8251b60357f1a6990c1e8ad8.tar.gz
k9copy-b8a4f26c42f6d41e8251b60357f1a6990c1e8ad8.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'libk9copy/k9burndvd.cpp')
-rw-r--r--libk9copy/k9burndvd.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/libk9copy/k9burndvd.cpp b/libk9copy/k9burndvd.cpp
index b9114de..542f37d 100644
--- a/libk9copy/k9burndvd.cpp
+++ b/libk9copy/k9burndvd.cpp
@@ -101,13 +101,13 @@ void k9BurnDVD::burnWithK3b() {
}
void k9BurnDVD::mkisoSizeStderr(KProcess *proc, char *buffer, int buflen) {
- TQString c=TQString::tqfromLatin1( buffer,buflen);// (proc2->readStderr());
+ TQString c=TQString::fromLatin1( buffer,buflen);// (proc2->readStderr());
imageSize=c.replace("\n","");
;
}
void k9BurnDVD::mkisoSizeStdout(KProcess *proc, char *buffer, int buflen) {
- TQString c=TQString::tqfromLatin1(buffer,buflen);// (proc2->readStdout());
+ TQString c=TQString::fromLatin1(buffer,buflen);// (proc2->readStdout());
imageSize=c.replace("\n","");
;
}
@@ -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;
}
@@ -331,7 +331,7 @@ void k9BurnDVD::burnWithGrowisofs() {
/** No descriptions */
void k9BurnDVD::growisoStderr(KProcess *proc, char *buffer, int buflen) {
- TQString c=TQString::tqfromLatin1( buffer,buflen);// (proc->readStderr());
+ TQString c=TQString::fromLatin1( buffer,buflen);// (proc->readStderr());
char s[255];
int a,b;
int pos;
@@ -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) {
@@ -371,7 +371,7 @@ void k9BurnDVD::growisoStderr(KProcess *proc, char *buffer, int buflen) {
}
}
void k9BurnDVD::growisoStdout(KProcess *proc, char *buffer, int buflen) {
- TQString c=TQString::tqfromLatin1( buffer,buflen);// (proc->readStdout());
+ TQString c=TQString::fromLatin1( buffer,buflen);// (proc->readStdout());
int pos;
pos=c.find("STAT");
if (pos!=-1) {