diff options
Diffstat (limited to 'quanta/src/dcopquanta.cpp')
-rw-r--r-- | quanta/src/dcopquanta.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/quanta/src/dcopquanta.cpp b/quanta/src/dcopquanta.cpp index 8dde34bc..149240d6 100644 --- a/quanta/src/dcopquanta.cpp +++ b/quanta/src/dcopquanta.cpp @@ -40,11 +40,11 @@ TQStringList DCOPQuanta::selectors(const TQString& tag) if (key.startsWith("Selectors|")) { TQString selectorName = key.mid(10); - int index = selectorName.tqfind(':'); + int index = selectorName.find(':'); if (index != -1) selectorName = selectorName.mid(0, index); TQString tmpStr; - index = selectorName.tqfind(rx); + index = selectorName.find(rx); if (index != -1) { tmpStr = selectorName.left(index).lower(); @@ -54,8 +54,8 @@ TQStringList DCOPQuanta::selectors(const TQString& tag) } if (tmpStr.isEmpty() || tag.lower() == tmpStr || tmpStr == "*") { - tmpStr = selectorName.mid(index + 1).tqreplace('.',' '); - if (!tmpStr.isEmpty() && !selectorList.tqcontains(tmpStr)) + tmpStr = selectorName.mid(index + 1).replace('.',' '); + if (!tmpStr.isEmpty() && !selectorList.contains(tmpStr)) selectorList << tmpStr; } } @@ -93,11 +93,11 @@ TQStringList DCOPQuanta::groupElements(const TQString& group) if (key.startsWith(group + "|")) { TQString name = key.mid(10); - int index = name.tqfind(':'); + int index = name.find(':'); if (index != -1) name = name.mid(0, index); TQString tmpStr; - index = name.tqfind("|"); + index = name.find("|"); if (index != -1) { tmpStr = name.left(index).lower(); |