summaryrefslogtreecommitdiffstats
path: root/kbabel/common/argextractor.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /kbabel/common/argextractor.cpp
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbabel/common/argextractor.cpp')
-rw-r--r--kbabel/common/argextractor.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kbabel/common/argextractor.cpp b/kbabel/common/argextractor.cpp
index 4146a5a7..ec5d659f 100644
--- a/kbabel/common/argextractor.cpp
+++ b/kbabel/common/argextractor.cpp
@@ -37,22 +37,22 @@
#include <kdebug.h>
#include <kstaticdeleter.h>
-#include <qregexp.h>
+#include <tqregexp.h>
using namespace KBabel;
-ArgExtractor::ArgExtractor(QString string) : RegExpExtractor( string )
+ArgExtractor::ArgExtractor(TQString string) : RegExpExtractor( string )
{
}
-QStringList *ArgExtractor::_argList=0;
-KStaticDeleter< QStringList > sdAL;
+TQStringList *ArgExtractor::_argList=0;
+KStaticDeleter< TQStringList > sdAL;
-QStringList *ArgExtractor::regExpList()
+TQStringList *ArgExtractor::regExpList()
{
if(!_argList)
{
- sdAL.setObject( _argList, new QStringList );
+ sdAL.setObject( _argList, new TQStringList );
//Build the default arg list
_argList->append("%[ndioxXucsfeEgGp]");
_argList->append("%([0-9]+(\\$))?[-+'#0]?[0-9]*(.[0-9]+)?[hlL]?[dioxXucsfeEgGp]");
@@ -62,9 +62,9 @@ QStringList *ArgExtractor::regExpList()
return _argList;
}
-void ArgExtractor::setArgExpressions( QStringList* list )
+void ArgExtractor::setArgExpressions( TQStringList* list )
{
- sdAL.setObject( _argList, new QStringList );
- for( QStringList::Iterator it = list->begin() ; it != list->end() ; ++it )
+ sdAL.setObject( _argList, new TQStringList );
+ for( TQStringList::Iterator it = list->begin() ; it != list->end() ; ++it )
_argList->append(*it);
}