summaryrefslogtreecommitdiffstats
path: root/libkmime/kqcstringsplitter.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /libkmime/kqcstringsplitter.cpp
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;