summaryrefslogtreecommitdiffstats
path: root/k9author/k9newdvd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'k9author/k9newdvd.cpp')
-rw-r--r--k9author/k9newdvd.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/k9author/k9newdvd.cpp b/k9author/k9newdvd.cpp
index 3fa8c5b..5f0500e 100644
--- a/k9author/k9newdvd.cpp
+++ b/k9author/k9newdvd.cpp
@@ -276,13 +276,13 @@ void k9NewDVD::getStderr(KProcess *_process, char *_buffer, int _length) {
TQCString tmp(_buffer,_length);
m_stdout=tmp;
int pos;
- if (tmp.tqcontains("STAT:")) {
- pos=tmp.tqfind("fixing VOBU");
+ if (tmp.contains("STAT:")) {
+ pos=tmp.find("fixing VOBU");
if (pos!=-1) {
TQString tmp2=tmp;
// m_progress->setTitle(i18n("Authoring"));
// m_progress->setLabelText(i18n("Fixing VOBUS"));
- int end=tmp2.tqfind("%");
+ int end=tmp2.find("%");
if (end!=-1) {
pos =end -2;
tmp2=tmp2.mid(pos,end-pos);
@@ -290,7 +290,7 @@ void k9NewDVD::getStderr(KProcess *_process, char *_buffer, int _length) {
// m_progress->setProgress(tmp2.toInt(),100);
}
} else {
- pos=tmp.tqfind("STAT: VOBU ");
+ pos=tmp.find("STAT: VOBU ");
if (pos !=-1) {
TQCString tmp2(_buffer+pos,_length-pos);
int vobu,mb;
@@ -312,10 +312,10 @@ void k9NewDVD::getStdout(KProcess *_process, char *_buffer, int _length) {
k9Process *process=(k9Process*) _process;
if (m_timers[process].elapsed() >500) {
TQCString tmp(_buffer,_length);
- int pos=tmp.tqfind("Pos:");
+ int pos=tmp.find("Pos:");
if (pos!=-1) {
TQString tmp2=tmp.mid(pos);
- tmp2=tmp2.tqreplace(":",": ").tqreplace("(","").tqreplace(")","").simplifyWhiteSpace();
+ tmp2=tmp2.replace(":",": ").replace("(","").replace(")","").simplifyWhiteSpace();
TQStringList sl=TQStringList::split(" ",tmp2);
float position;
sscanf(sl[1].latin1(),"%fs",&position);