summaryrefslogtreecommitdiffstats
path: root/kdecore/klocale.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-17 02:26:08 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-17 02:26:08 +0000
commit54241a1f0a21c7433f8dd2fa0410b93d38cce520 (patch)
treee509d81c855874912b63381f3f760f0ccbadbe57 /kdecore/klocale.cpp
parenta52572740657a539cdc032c89ec744673071698b (diff)
downloadtdelibs-54241a1f0a21c7433f8dd2fa0410b93d38cce520.tar.gz
tdelibs-54241a1f0a21c7433f8dd2fa0410b93d38cce520.zip
Typelocking
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1164527 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/klocale.cpp')
-rw-r--r--kdecore/klocale.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/kdecore/klocale.cpp b/kdecore/klocale.cpp
index 810103e9f..f83ec6be1 100644
--- a/kdecore/klocale.cpp
+++ b/kdecore/klocale.cpp
@@ -2077,12 +2077,22 @@ void KLocale::initFileNameEncoding(KConfig *)
// which, on Unix platforms, use the locale's codec.
}
+#ifdef USE_QT3
TQCString KLocale::encodeFileNameUTF8( const TQString & fileName )
+#endif // USE_QT3
+#ifdef USE_QT4
+TQByteArray KLocale::encodeFileNameUTF8( const TQString & fileName )
+#endif // USE_QT4
{
return fileName.utf8();
}
+#ifdef USE_QT3
TQString KLocale::decodeFileNameUTF8( const TQCString & localFileName )
+#endif // USE_QT3
+#ifdef USE_QT4
+TQString KLocale::decodeFileNameUTF8( const TQByteArray & localFileName )
+#endif // USE_QT4
{
return TQString::fromUtf8(localFileName);
}