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.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/quanta/src/dcopquanta.cpp b/quanta/src/dcopquanta.cpp
index 55ff068e..149240d6 100644
--- a/quanta/src/dcopquanta.cpp
+++ b/quanta/src/dcopquanta.cpp
@@ -17,7 +17,7 @@
//kde includes
//qt includes
-#include <qregexp.h>
+#include <tqregexp.h>
//app includes
#include "dcopquanta.h"
@@ -29,21 +29,21 @@ DCOPQuanta::DCOPQuanta() : DCOPObject("QuantaIf")
{
}
-QStringList DCOPQuanta::selectors(const QString& tag)
+TQStringList DCOPQuanta::selectors(const TQString& tag)
{
- const QRegExp rx("\\.|\\#|\\:");
- QStringList selectorList;
+ const TQRegExp rx("\\.|\\#|\\:");
+ TQStringList selectorList;
GroupElementMapList::Iterator it;
for ( it = globalGroupMap.begin(); it != globalGroupMap.end(); ++it )
{
- QString key = it.key();
+ TQString key = it.key();
if (key.startsWith("Selectors|"))
{
- QString selectorName = key.mid(10);
+ TQString selectorName = key.mid(10);
int index = selectorName.find(':');
if (index != -1)
selectorName = selectorName.mid(0, index);
- QString tmpStr;
+ TQString tmpStr;
index = selectorName.find(rx);
if (index != -1)
{
@@ -63,17 +63,17 @@ QStringList DCOPQuanta::selectors(const QString& tag)
return selectorList;
}
-QStringList DCOPQuanta::idSelectors()
+TQStringList DCOPQuanta::idSelectors()
{
- QStringList selectorList;
+ TQStringList selectorList;
GroupElementMapList::Iterator it;
for ( it = globalGroupMap.begin(); it != globalGroupMap.end(); ++it )
{
- QString key = it.key();
+ TQString key = it.key();
if (key.startsWith("Selectors|"))
{
- QString selectorName = key.mid(10);
- QString tmpStr;
+ TQString selectorName = key.mid(10);
+ TQString tmpStr;
if (selectorName.startsWith("#"))
{
selectorList << selectorName.mid(1);
@@ -83,20 +83,20 @@ QStringList DCOPQuanta::idSelectors()
return selectorList;
}
-QStringList DCOPQuanta::groupElements(const QString& group)
+TQStringList DCOPQuanta::groupElements(const TQString& group)
{
- QStringList elementList;
+ TQStringList elementList;
GroupElementMapList::Iterator it;
for ( it = globalGroupMap.begin(); it != globalGroupMap.end(); ++it )
{
- QString key = it.key();
+ TQString key = it.key();
if (key.startsWith(group + "|"))
{
- QString name = key.mid(10);
+ TQString name = key.mid(10);
int index = name.find(':');
if (index != -1)
name = name.mid(0, index);
- QString tmpStr;
+ TQString tmpStr;
index = name.find("|");
if (index != -1)
{