summaryrefslogtreecommitdiffstats
path: root/src/codecs
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-09-18 01:19:46 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-09-18 01:19:46 +0900
commit2df70f03d493f5226821dd2e1da3759e3abceb02 (patch)
treef105d7829be7401bd27b833e0e26cf64c6a62ad1 /src/codecs
parentf849f22528ee9eb5eeb1f9aa92822846b2b3e01f (diff)
downloadqt3-2df70f03d493f5226821dd2e1da3759e3abceb02.tar.gz
qt3-2df70f03d493f5226821dd2e1da3759e3abceb02.zip
Revert "QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT conversion to align to updated admin module"
The original commit was a mistake and should not have been pushed. This reverts commit f849f22528ee9eb5eeb1f9aa92822846b2b3e01f.
Diffstat (limited to 'src/codecs')
-rw-r--r--src/codecs/qtextcodec.cpp12
-rw-r--r--src/codecs/qtextcodecfactory.cpp6
2 files changed, 9 insertions, 9 deletions
diff --git a/src/codecs/qtextcodec.cpp b/src/codecs/qtextcodec.cpp
index b85f5e9..80d0093 100644
--- a/src/codecs/qtextcodec.cpp
+++ b/src/codecs/qtextcodec.cpp
@@ -75,9 +75,9 @@
# include "qfontcodecs_p.h"
#endif
-#ifdef TQT_THREAD_SUPPORT
+#ifdef QT_THREAD_SUPPORT
# include <private/qmutexpool_p.h>
-#endif // TQT_THREAD_SUPPORT
+#endif // QT_THREAD_SUPPORT
#include <stdlib.h>
#include <ctype.h>
@@ -121,12 +121,12 @@ void QTextCodec::deleteAllCodecs()
if ( !all )
return;
-#ifdef TQT_THREAD_SUPPORT
+#ifdef QT_THREAD_SUPPORT
QMutexLocker locker( qt_global_mutexpool ?
qt_global_mutexpool->get( &all ) : 0 );
if ( !all )
return;
-#endif // TQT_THREAD_SUPPORT
+#endif // QT_THREAD_SUPPORT
destroying_is_ok = TRUE;
@@ -151,11 +151,11 @@ static inline void setup()
{
if ( all ) return;
-#ifdef TQT_THREAD_SUPPORT
+#ifdef QT_THREAD_SUPPORT
QMutexLocker locker( qt_global_mutexpool ?
qt_global_mutexpool->get( &all ) : 0 );
if ( all ) return;
-#endif // TQT_THREAD_SUPPORT
+#endif // QT_THREAD_SUPPORT
realSetup();
}
diff --git a/src/codecs/qtextcodecfactory.cpp b/src/codecs/qtextcodecfactory.cpp
index 6a7766e..85a5d00 100644
--- a/src/codecs/qtextcodecfactory.cpp
+++ b/src/codecs/qtextcodecfactory.cpp
@@ -48,9 +48,9 @@
#include <private/qpluginmanager_p.h>
#include "qtextcodecinterface_p.h"
-#ifdef TQT_THREAD_SUPPORT
+#ifdef QT_THREAD_SUPPORT
# include <private/qmutexpool_p.h>
-#endif // TQT_THREAD_SUPPORT
+#endif // QT_THREAD_SUPPORT
#include <stdlib.h>
@@ -63,7 +63,7 @@ static void create_manager()
if ( manager ) // already created
return;
-#ifdef TQT_THREAD_SUPPORT
+#ifdef QT_THREAD_SUPPORT
// protect manager creation
QMutexLocker locker( qt_global_mutexpool ?
qt_global_mutexpool->get( &manager ) : 0);