summaryrefslogtreecommitdiffstats
path: root/src/tools/qlibrary_unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qlibrary_unix.cpp')
-rw-r--r--src/tools/qlibrary_unix.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tools/qlibrary_unix.cpp b/src/tools/qlibrary_unix.cpp
index d75ae0d..0c67ca1 100644
--- a/src/tools/qlibrary_unix.cpp
+++ b/src/tools/qlibrary_unix.cpp
@@ -68,7 +68,7 @@ bool QLibraryPrivate::loadLibrary()
pHnd = (void*)shl_load( filename.latin1(), BIND_DEFERRED | BIND_NONFATAL | DYNAMIC_PATH, 0 );
#if defined(QT_DEBUG) || defined(QT_DEBUG_COMPONENT)
if ( !pHnd )
- qWarning( "%s: failed to load library!", filename.latin1() );
+ tqWarning( "%s: failed to load library!", filename.latin1() );
#endif
return pHnd != 0;
}
@@ -81,7 +81,7 @@ bool QLibraryPrivate::freeLibrary()
if ( shl_unload( (shl_t)pHnd ) ) {
#if defined(QT_DEBUG) || defined(QT_DEBUG_COMPONENT)
QString filename = library->library();
- qWarning( "%s: Failed to unload library!", filename.latin1() );
+ tqWarning( "%s: Failed to unload library!", filename.latin1() );
#endif
return FALSE;
}
@@ -98,7 +98,7 @@ void* QLibraryPrivate::resolveSymbol( const char* symbol )
if ( shl_findsym( (shl_t*)&pHnd, symbol, TYPE_UNDEFINED, &address ) < 0 ) {
#if defined(QT_DEBUG_COMPONENT)
QString filename = library->library();
- qWarning( "%s: couldn't resolve symbol \"%s\"", filename.latin1(), symbol );
+ tqWarning( "%s: couldn't resolve symbol \"%s\"", filename.latin1(), symbol );
#endif
}
return address;
@@ -120,7 +120,7 @@ bool QLibraryPrivate::loadLibrary()
pHnd = DL_PREFIX(dlopen)( filename.latin1(), RTLD_LAZY );
#if defined(QT_DEBUG) || defined(QT_DEBUG_COMPONENT)
if ( !pHnd )
- qWarning( "%s", DL_PREFIX(dlerror)() );
+ tqWarning( "%s", DL_PREFIX(dlerror)() );
#endif
return pHnd != 0;
}
@@ -132,7 +132,7 @@ bool QLibraryPrivate::freeLibrary()
if ( DL_PREFIX(dlclose)( pHnd ) ) {
#if defined(QT_DEBUG) || defined(QT_DEBUG_COMPONENT)
- qWarning( "%s", DL_PREFIX(dlerror)() );
+ tqWarning( "%s", DL_PREFIX(dlerror)() );
#endif
return FALSE;
}
@@ -159,7 +159,7 @@ void* QLibraryPrivate::resolveSymbol( const char* symbol )
#if defined(QT_DEBUG_COMPONENT)
const char* error = DL_PREFIX(dlerror)();
if ( error )
- qWarning( "%s", error );
+ tqWarning( "%s", error );
#endif
return address;
}