summaryrefslogtreecommitdiffstats
path: root/tdecore/tdelocale.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-26 14:53:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-26 14:53:30 +0900
commit57af4f9d87ac88216a3bbcebaeed55db07a8948d (patch)
tree9b2639876a268642abf8496deb98346237124eb1 /tdecore/tdelocale.cpp
parent503eb0d9f476369e9733b22d56054da5031af100 (diff)
downloadtdelibs-57af4f9d87ac88216a3bbcebaeed55db07a8948d.tar.gz
tdelibs-57af4f9d87ac88216a3bbcebaeed55db07a8948d.zip
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore/tdelocale.cpp')
-rw-r--r--tdecore/tdelocale.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/tdecore/tdelocale.cpp b/tdecore/tdelocale.cpp
index 254d5f054..97a58fe20 100644
--- a/tdecore/tdelocale.cpp
+++ b/tdecore/tdelocale.cpp
@@ -2083,22 +2083,12 @@ void TDELocale::initFileNameEncoding(TDEConfig *)
// which, on Unix platforms, use the locale's codec.
}
-#ifdef USE_QT3
TQCString TDELocale::encodeFileNameUTF8( const TQString & fileName )
-#endif // USE_QT3
-#ifdef USE_QT4
-QByteArray TDELocale::encodeFileNameUTF8( const QString & fileName )
-#endif // USE_QT4
{
return TQString(fileName).utf8();
}
-#ifdef USE_QT3
TQString TDELocale::decodeFileNameUTF8( const TQCString & localFileName )
-#endif // USE_QT3
-#ifdef USE_QT4
-QString TDELocale::decodeFileNameUTF8( const QByteArray & localFileName )
-#endif // USE_QT4
{
return TQString::fromUtf8(localFileName);
}