summaryrefslogtreecommitdiffstats
path: root/kabc/vcard/LangValue.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 /kabc/vcard/LangValue.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 'kabc/vcard/LangValue.cpp')
-rw-r--r--kabc/vcard/LangValue.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kabc/vcard/LangValue.cpp b/kabc/vcard/LangValue.cpp
index edf180460..6ef46c98f 100644
--- a/kabc/vcard/LangValue.cpp
+++ b/kabc/vcard/LangValue.cpp
@@ -39,7 +39,7 @@ LangValue::LangValue(const LangValue & x)
{
}
-LangValue::LangValue(const QCString & s)
+LangValue::LangValue(const TQCString & s)
: Value(s)
{
}
@@ -54,7 +54,7 @@ LangValue::operator = (LangValue & x)
}
LangValue &
-LangValue::operator = (const QCString & s)
+LangValue::operator = (const TQCString & s)
{
Value::operator = (s);
return *this;
@@ -74,7 +74,7 @@ LangValue::~LangValue()
void
LangValue::_parse()
{
- QStrList l;
+ TQStrList l;
RTokenise(strRep_, "-", l);
if (l.count() == 0) return;
@@ -91,10 +91,10 @@ LangValue::_assemble()
{
strRep_ = primary_;
- QStrListIterator it(subtags_);
+ TQStrListIterator it(subtags_);
for (; it.current(); ++it)
- strRep_ += QCString('-') + it.current();
+ strRep_ += TQCString('-') + it.current();
}
QCString
@@ -112,14 +112,14 @@ LangValue::subtags()
}
void
-LangValue::setPrimary(const QCString & s)
+LangValue::setPrimary(const TQCString & s)
{
parse();
primary_ = s;
}
void
-LangValue::setSubTags(const QStrList & l)
+LangValue::setSubTags(const TQStrList & l)
{
parse();
subtags_ = l;