summaryrefslogtreecommitdiffstats
path: root/quanta/src/dcopquanta.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /quanta/src/dcopquanta.cpp
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz
tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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)
{