summaryrefslogtreecommitdiffstats
path: root/kdecore/kidna.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 /kdecore/kidna.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 'kdecore/kidna.cpp')
-rw-r--r--kdecore/kidna.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kdecore/kidna.cpp b/kdecore/kidna.cpp
index f3289b26c..c7e1ccdb5 100644
--- a/kdecore/kidna.cpp
+++ b/kdecore/kidna.cpp
@@ -30,34 +30,34 @@
using namespace KNetwork;
#endif
-QCString KIDNA::toAsciiCString(const QString &idna)
+TQCString KIDNA::toAsciiCString(const TQString &idna)
{
#ifndef Q_WS_WIN //TODO kresolver not ported
return KResolver::domainToAscii(idna);
#else
- return QCString();
+ return TQCString();
#endif
}
-QString KIDNA::toAscii(const QString &idna)
+TQString KIDNA::toAscii(const TQString &idna)
{
if (idna.length() && (idna[0] == "."))
{
- QString host = QString::fromLatin1(toAsciiCString(idna.mid(1)));
+ TQString host = TQString::fromLatin1(toAsciiCString(idna.mid(1)));
if (host.isEmpty())
- return QString::null; // Error
+ return TQString::null; // Error
return idna[0] + host;
}
- return QString::fromLatin1(toAsciiCString(idna));
+ return TQString::fromLatin1(toAsciiCString(idna));
}
-QString KIDNA::toUnicode(const QString &idna)
+TQString KIDNA::toUnicode(const TQString &idna)
{
#ifndef Q_WS_WIN //TODO kresolver not ported
if (idna.length() && (idna[0] == "."))
return idna[0] + KResolver::domainToUnicode(idna.mid(1));
return KResolver::domainToUnicode(idna);
#else
- return QString::null;
+ return TQString::null;
#endif
}