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 72be072..b9114de 100644 --- a/libk9copy/k9burndvd.cpp +++ b/libk9copy/k9burndvd.cpp @@ -69,7 +69,7 @@ void k9BurnDVD::makeIso(TQString _filename) { } void k9BurnDVD::setvolId(TQString _newVal) { - volId=_newVal.tqreplace(" ","_"); + volId=_newVal.replace(" ","_"); } void k9BurnDVD::setUseK3b(bool _newVal) { @@ -102,13 +102,13 @@ void k9BurnDVD::burnWithK3b() { void k9BurnDVD::mkisoSizeStderr(KProcess *proc, char *buffer, int buflen) { TQString c=TQString::tqfromLatin1( buffer,buflen);// (proc2->readStderr()); - imageSize=c.tqreplace("\n",""); + imageSize=c.replace("\n",""); ; } void k9BurnDVD::mkisoSizeStdout(KProcess *proc, char *buffer, int buflen) { TQString c=TQString::tqfromLatin1(buffer,buflen);// (proc2->readStdout()); - imageSize=c.tqreplace("\n",""); + imageSize=c.replace("\n",""); ; } @@ -336,19 +336,19 @@ void k9BurnDVD::growisoStderr(KProcess *proc, char *buffer, int buflen) { int a,b; int pos; lastMsg=c; - if (c.tqcontains("Current Write Speed")) { + if (c.contains("Current Write Speed")) { sscanf(c.latin1(),"%s \"Current Write Speed\" is %d.%d",s,&a,&b); burnSpeed=a+b/10; } - if (c.tqcontains("Speed set to")) { + if (c.contains("Speed set to")) { sscanf(c.latin1(),"Speed set to %d",&a); burnSpeed=a/1385; } progress->setTitle(i18n("Burning DVD")); progress->setLabelText(i18n("Current write speed :%1 x").tqarg(burnSpeed)); - if (c.tqcontains("% done")) { - pos=c.tqfind("%"); + if (c.contains("% done")) { + pos=c.find("%"); if (pos!=-1) { c=c.mid(1,pos-4); //progress->setLabelText(c); @@ -373,7 +373,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()); int pos; - pos=c.tqfind("STAT"); + pos=c.find("STAT"); if (pos!=-1) { c=c.mid(pos); progress->setLabelText(c); |