From f7e71d47719ab6094cf4a9fafffa5ea351973522 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 13 Jan 2011 08:32:36 +0000 Subject: Initial conversion for TQt for Qt4 3.4.0 TP2 This will also compile with TQt for Qt3, and should not cause any problems with dependent modules such as kdebase. If it does then it needs to be fixed! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdecore/kidna.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kdecore/kidna.cpp') diff --git a/kdecore/kidna.cpp b/kdecore/kidna.cpp index ca41fecdf..1ce2c1348 100644 --- a/kdecore/kidna.cpp +++ b/kdecore/kidna.cpp @@ -43,12 +43,12 @@ TQString KIDNA::toAscii(const TQString &idna) { if (idna.length() && (idna[0] == (QChar)'.')) { - TQString host = TQString::fromLatin1(toAsciiCString(idna.mid(1))); + TQString host = TQString::tqfromLatin1(toAsciiCString(idna.mid(1))); if (host.isEmpty()) return TQString::null; // Error return idna[0] + host; } - return TQString::fromLatin1(toAsciiCString(idna)); + return TQString::tqfromLatin1(toAsciiCString(idna)); } TQString KIDNA::toUnicode(const TQString &idna) -- cgit v1.2.1