summaryrefslogtreecommitdiffstats
path: root/quanta/src/dcopquanta.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/src/dcopquanta.cpp')
-rw-r--r--quanta/src/dcopquanta.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/quanta/src/dcopquanta.cpp b/quanta/src/dcopquanta.cpp
index 149240d6..8dde34bc 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.find(':');
+ int index = selectorName.tqfind(':');
if (index != -1)
selectorName = selectorName.mid(0, index);
TQString tmpStr;
- index = selectorName.find(rx);
+ index = selectorName.tqfind(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).replace('.',' ');
- if (!tmpStr.isEmpty() && !selectorList.contains(tmpStr))
+ tmpStr = selectorName.mid(index + 1).tqreplace('.',' ');
+ if (!tmpStr.isEmpty() && !selectorList.tqcontains(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.find(':');
+ int index = name.tqfind(':');
if (index != -1)
name = name.mid(0, index);
TQString tmpStr;
- index = name.find("|");
+ index = name.tqfind("|");
if (index != -1)
{
tmpStr = name.left(index).lower();