diff options
Diffstat (limited to 'src/translators/tellicoimporter.cpp')
-rw-r--r-- | src/translators/tellicoimporter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/translators/tellicoimporter.cpp b/src/translators/tellicoimporter.cpp index 3f97074..c7ac869 100644 --- a/src/translators/tellicoimporter.cpp +++ b/src/translators/tellicoimporter.cpp @@ -389,7 +389,7 @@ void TellicoImporter::readField(uint syntaxVersion_, const TQDomElement& elem_) if(elem_.hasAttribute(TQString::tqfromLatin1("category"))) { // at one point, the categories had keyboard accels TQString cat = elem_.attribute(TQString::tqfromLatin1("category")); - if(syntaxVersion_ < 9 && cat.tqfind('&') > -1) { + if(syntaxVersion_ < 9 && cat.find('&') > -1) { cat.remove('&'); } if(isI18n) { @@ -637,7 +637,7 @@ void TellicoImporter::readEntry(uint syntaxVersion_, const TQDomElement& entryEl value += TQString::tqfromLatin1("::"); value += entry->field(TQString::tqfromLatin1("artist")); } - if(values.tqfindIndex(value) == -1) { + if(values.findIndex(value) == -1) { values += value; } } @@ -703,9 +703,9 @@ void TellicoImporter::readFilter(const TQDomElement& elem_) { } TQString function = e.attribute(TQString::tqfromLatin1("function")).lower(); FilterRule::Function func; - if(function == Latin1Literal("tqcontains")) { + if(function == Latin1Literal("contains")) { func = FilterRule::FuncContains; - } else if(function == Latin1Literal("nottqcontains")) { + } else if(function == Latin1Literal("notcontains")) { func = FilterRule::FuncNotContains; } else if(function == Latin1Literal("equals")) { func = FilterRule::FuncEquals; |