summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/k9langselect.cpp4
-rw-r--r--src/k9main.cpp4
-rw-r--r--src/k9mencodercmdgen.cpp10
-rw-r--r--src/k9play.cpp2
4 files changed, 10 insertions, 10 deletions
diff --git a/src/k9langselect.cpp b/src/k9langselect.cpp
index 2700e56..6dbe66a 100644
--- a/src/k9langselect.cpp
+++ b/src/k9langselect.cpp
@@ -59,13 +59,13 @@ void k9LangSelect::fillLvLanguages() {
switch (litem->streamType) {
case SUB: {
l_sub=litem->subtitle;
- if (slSubLang.tqcontains(l_sub->getlanguage())==0)
+ if (slSubLang.contains(l_sub->getlanguage())==0)
slSubLang.append(l_sub->getlanguage());
break;
}
case AUD: {
l_auds=litem->audioStream;
- if (slAudLang.tqcontains(l_auds->getlanguage())==0)
+ if (slAudLang.contains(l_auds->getlanguage())==0)
slAudLang.append(l_auds->getlanguage());
break;
}
diff --git a/src/k9main.cpp b/src/k9main.cpp
index 055fe17..20b35fc 100644
--- a/src/k9main.cpp
+++ b/src/k9main.cpp
@@ -1254,11 +1254,11 @@ void k9Main::deviceRemoved(k9CdDrive *_drive) {
if (_drive->device == dvd->getDevice())
closeDVD();
- int i=driveList.tqfind(_drive);
+ int i=driveList.find(_drive);
driveList.remove(i);
cbInputDev->removeItem(i);
- i=recorderList.tqfind(_drive);
+ i=recorderList.find(_drive);
recorderList.remove( i);
cbOutputDev->removeItem(i+2);
diff --git a/src/k9mencodercmdgen.cpp b/src/k9mencodercmdgen.cpp
index 6af03af..6de1a67 100644
--- a/src/k9mencodercmdgen.cpp
+++ b/src/k9mencodercmdgen.cpp
@@ -479,7 +479,7 @@ const TQString & k9MencoderCmdGen::getCmd(const TQString &_root) {
KDoubleSpinBox *isb=(KDoubleSpinBox*) this->child(aSWidget.value().latin1(),"KDoubleSpinBox");
if (!sCmd2.isEmpty())
sCmd2 +=m_sepValues;
- sCmd2+=sTmp+sPrefix+isb->text().tqreplace(",",".").stripWhiteSpace();
+ sCmd2+=sTmp+sPrefix+isb->text().replace(",",".").stripWhiteSpace();
sTmp="";
} else if(aSType.value()=="string" && Sck->isChecked()) {
TQComboBox *cb=(TQComboBox*) this->child(aSWidget.value().latin1(),TQCOMBOBOX_OBJECT_NAME_STRING);
@@ -509,7 +509,7 @@ const TQString & k9MencoderCmdGen::getCmd(const TQString &_root) {
KDoubleSpinBox *isb=(KDoubleSpinBox*) this->child(aWidget.value().latin1(),"KDoubleSpinBox");
if (!sCmd.isEmpty())
sCmd +=m_sepOpt;
- sCmd+= eOpt.attributeNode("name").value() + "=" + isb->text().tqreplace(",",".");
+ sCmd+= eOpt.attributeNode("name").value() + "=" + isb->text().replace(",",".");
} else if(aType.value()=="string") {
TQComboBox *cb=(TQComboBox*) this->child(aWidget.value().latin1(),TQCOMBOBOX_OBJECT_NAME_STRING);
if (!sCmd.isEmpty())
@@ -549,7 +549,7 @@ bool k9MencoderCmdGen::getMencoderOptions(TQString &_cmd) {
void k9MencoderCmdGen::parseCmd(const TQString &_cmd){
TQString cmd(_cmd);
- cmd=cmd.tqreplace("\n"," ").simplifyWhiteSpace();
+ cmd=cmd.replace("\n"," ").simplifyWhiteSpace();
TQStringList cmdList=TQStringList::split(" ",cmd);
for (TQStringList::iterator it=cmdList.begin();it!=cmdList.end();++it) {
if (*it=="-ovc") {
@@ -622,7 +622,7 @@ void k9MencoderCmdGen::parseCodecOptions(const TQString &_root,const TQString &_
TQString value;
if (eOpt.attributeNode("type").isNull()) {
//it's a list of values
- TQString sValues=sOpt.tqreplace("="+m_sepValues,"= "+m_sepValues).tqreplace(m_sepValues+m_sepValues,m_sepValues+" "+m_sepValues).tqreplace(m_sepValues+m_sepValues,m_sepValues+" "+m_sepValues).section("=",1);
+ TQString sValues=sOpt.replace("="+m_sepValues,"= "+m_sepValues).replace(m_sepValues+m_sepValues,m_sepValues+" "+m_sepValues).replace(m_sepValues+m_sepValues,m_sepValues+" "+m_sepValues).section("=",1);
TQStringList slValues=TQStringList::split(m_sepValues,sValues);
//loop on values nodes
TQDomNodeList lSOpt=eOpt.elementsByTagName("subopt");
@@ -642,7 +642,7 @@ void k9MencoderCmdGen::parseCodecOptions(const TQString &_root,const TQString &_
for (int k=0;k<slValues.count();k++) {
TQString s=*(slValues.at(k));
if (s.startsWith(sPrefix)) {
- eSOpt.setAttribute("default",s.tqreplace(sPrefix,""));
+ eSOpt.setAttribute("default",s.replace(sPrefix,""));
eSOpt.setAttribute("selected","true");
}
}
diff --git a/src/k9play.cpp b/src/k9play.cpp
index e2c3550..08dff4b 100644
--- a/src/k9play.cpp
+++ b/src/k9play.cpp
@@ -375,7 +375,7 @@ void k9play::play() {
finished=1;
if (!finished && m_chapterList.count() >0) {
- if (m_chapterList.tqfindIndex( TQString::number(ptt)) == -1) {
+ if (m_chapterList.findIndex( TQString::number(ptt)) == -1) {
dvdnav_part_play(dvdnav,tt, ptt+1);
kdebug( TQString("skipping chapter %1").tqarg(ptt));
continue;