summaryrefslogtreecommitdiffstats
path: root/libkmime/kqcstringsplitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkmime/kqcstringsplitter.cpp')
-rw-r--r--libkmime/kqcstringsplitter.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/libkmime/kqcstringsplitter.cpp b/libkmime/kqcstringsplitter.cpp
index 2038f4f25..4f8263133 100644
--- a/libkmime/kqcstringsplitter.cpp
+++ b/libkmime/kqcstringsplitter.cpp
@@ -16,7 +16,7 @@
#include "kqcstringsplitter.h"
-KQCStringSplitter::KQCStringSplitter()
+KTQCStringSplitter::KTQCStringSplitter()
{
reset();
}
@@ -24,13 +24,13 @@ KQCStringSplitter::KQCStringSplitter()
-KQCStringSplitter::~KQCStringSplitter()
+KTQCStringSplitter::~KTQCStringSplitter()
{
}
-void KQCStringSplitter::init(const TQCString &str, const char *s)
+void KTQCStringSplitter::init(const TQCString &str, const char *s)
{
sep=s;
src=str;
@@ -38,13 +38,13 @@ void KQCStringSplitter::init(const TQCString &str, const char *s)
-void KQCStringSplitter::init(const char *str, const char *s)
+void KTQCStringSplitter::init(const char *str, const char *s)
{
sep=s;
src=str;
}
-bool KQCStringSplitter::first()
+bool KTQCStringSplitter::first()
{
/*int plus;
if(incSep) plus=sep.length();
@@ -52,7 +52,7 @@ bool KQCStringSplitter::first()
start=0;
- end=src.find(sep, start);
+ end=src.tqfind(sep, start);
if(end!=-1) {
dst=src.mid(start, end);
@@ -68,7 +68,7 @@ bool KQCStringSplitter::first()
-bool KQCStringSplitter::last()
+bool KTQCStringSplitter::last()
{
/*int startplus, endplus;
@@ -96,7 +96,7 @@ bool KQCStringSplitter::last()
-bool KQCStringSplitter::next()
+bool KTQCStringSplitter::next()
{
/*int plus;
if(incSep) plus=sep.length();
@@ -106,7 +106,7 @@ bool KQCStringSplitter::next()
if(start< (int) src.length()) {
- end=src.find(sep, start);
+ end=src.tqfind(sep, start);
if(end!=-1) {
dst=src.mid(start, end-start);
@@ -125,7 +125,7 @@ bool KQCStringSplitter::next()
-bool KQCStringSplitter::prev()
+bool KTQCStringSplitter::prev()
{
/*int startplus, endplus;