From e8f6750e65767709575720eb6da1402e6ef20bad Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 26 Aug 2023 14:53:30 +0900 Subject: Drop USE_TQT4 code Signed-off-by: Michele Calgaro (cherry picked from commit 57af4f9d87ac88216a3bbcebaeed55db07a8948d) --- tdecore/tdelocale.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'tdecore/tdelocale.cpp') 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); } -- cgit v1.2.1