summaryrefslogtreecommitdiffstats
path: root/khtml/misc/stringit.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /khtml/misc/stringit.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/misc/stringit.cpp')
-rw-r--r--khtml/misc/stringit.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/khtml/misc/stringit.cpp b/khtml/misc/stringit.cpp
index 5dbe857be..9b8fc5899 100644
--- a/khtml/misc/stringit.cpp
+++ b/khtml/misc/stringit.cpp
@@ -32,8 +32,8 @@ uint TokenizerString::length() const
++length;
}
if (m_composite) {
- QValueListConstIterator<TokenizerSubstring> i = m_substrings.begin();
- QValueListConstIterator<TokenizerSubstring> e = m_substrings.end();
+ TQValueListConstIterator<TokenizerSubstring> i = m_substrings.begin();
+ TQValueListConstIterator<TokenizerSubstring> e = m_substrings.end();
for (; i != e; ++i)
length += (*i).m_length;
}
@@ -83,8 +83,8 @@ void TokenizerString::append(const TokenizerString &s)
assert(!s.escaped());
append(s.m_currentString);
if (s.m_composite) {
- QValueListConstIterator<TokenizerSubstring> i = s.m_substrings.begin();
- QValueListConstIterator<TokenizerSubstring> e = s.m_substrings.end();
+ TQValueListConstIterator<TokenizerSubstring> i = s.m_substrings.begin();
+ TQValueListConstIterator<TokenizerSubstring> e = s.m_substrings.end();
for (; i != e; ++i)
append(*i);
}
@@ -96,8 +96,8 @@ void TokenizerString::prepend(const TokenizerString &s)
assert(!escaped());
assert(!s.escaped());
if (s.m_composite) {
- QValueListConstIterator<TokenizerSubstring> i = s.m_substrings.fromLast();
- QValueListConstIterator<TokenizerSubstring> e = s.m_substrings.end();
+ TQValueListConstIterator<TokenizerSubstring> i = s.m_substrings.fromLast();
+ TQValueListConstIterator<TokenizerSubstring> e = s.m_substrings.end();
for (; i != e; --i)
prepend(*i);
}
@@ -117,9 +117,9 @@ void TokenizerString::advanceSubstring()
}
}
-QString TokenizerString::toString() const
+TQString TokenizerString::toString() const
{
- QString result;
+ TQString result;
if (!m_pushedChar1.isNull()) {
result.append(m_pushedChar1);
if (!m_pushedChar2.isNull())
@@ -127,8 +127,8 @@ QString TokenizerString::toString() const
}
m_currentString.appendTo(result);
if (m_composite) {
- QValueListConstIterator<TokenizerSubstring> i = m_substrings.begin();
- QValueListConstIterator<TokenizerSubstring> e = m_substrings.end();
+ TQValueListConstIterator<TokenizerSubstring> i = m_substrings.begin();
+ TQValueListConstIterator<TokenizerSubstring> e = m_substrings.end();
for (; i != e; ++i)
(*i).appendTo(result);
}