summaryrefslogtreecommitdiffstats
path: root/src/tools/qlibrary.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
commit69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch)
tree7b133311a4d5e5394f2612dced305f815c04847b /src/tools/qlibrary.cpp
parente07baa10b7b8e7105e02a621efadac67216c61ed (diff)
downloadtqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz
tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/tools/qlibrary.cpp')
-rw-r--r--src/tools/qlibrary.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/qlibrary.cpp b/src/tools/qlibrary.cpp
index 80a328d8b..2181f7fc5 100644
--- a/src/tools/qlibrary.cpp
+++ b/src/tools/qlibrary.cpp
@@ -43,7 +43,7 @@
#include <ntqstringlist.h>
#include <ntqfile.h>
-#ifndef QT_NO_LIBRARY
+#ifndef TQT_NO_LIBRARY
// uncomment this to get error messages
//#define QT_DEBUG_COMPONENT 1
@@ -59,7 +59,7 @@
#if (defined(Q_WS_WIN) && !defined(QT_MAKEDLL)) \
|| (defined(Q_OS_FREEBSD) && defined(Q_CC_INTEL)) \
|| (defined(Q_OS_IRIX) && defined(Q_CC_GNU))
-#define QT_NO_LIBRARY_UNLOAD
+#define TQT_NO_LIBRARY_UNLOAD
#endif
TQLibraryPrivate::TQLibraryPrivate( TQLibrary *lib )
@@ -339,7 +339,7 @@ bool TQLibrary::unload()
if ( !d->pHnd )
return TRUE;
-#if !defined(QT_NO_LIBRARY_UNLOAD)
+#if !defined(TQT_NO_LIBRARY_UNLOAD)
if ( !d->freeLibrary() ) {
# if defined(QT_DEBUG_COMPONENT)
tqWarning( "%s could not be unloaded", (const char*) TQFile::encodeName(library()) );
@@ -440,4 +440,4 @@ TQString TQLibrary::library() const
#endif
return filename;
}
-#endif //QT_NO_LIBRARY
+#endif //TQT_NO_LIBRARY