summaryrefslogtreecommitdiffstats
path: root/src/tools/qgpluginmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qgpluginmanager.cpp')
-rw-r--r--src/tools/qgpluginmanager.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tools/qgpluginmanager.cpp b/src/tools/qgpluginmanager.cpp
index 5afd8bc4..5c428f92 100644
--- a/src/tools/qgpluginmanager.cpp
+++ b/src/tools/qgpluginmanager.cpp
@@ -398,7 +398,7 @@ const TQLibrary* TQGPluginManager::library( const TQString& feature ) const
same.append( new TQComLibrary( *bit ) );
TQComLibrary* bestMatch = 0;
for ( TQComLibrary* candidate = same.first(); candidate; candidate = same.next() )
- if ( candidate->qtVersion() && candidate->qtVersion() <= QT_VERSION
+ if ( candidate->qtVersion() && candidate->qtVersion() <= TQT_VERSION
&& ( !bestMatch || candidate->qtVersion() > bestMatch->qtVersion() ) )
bestMatch = candidate;
if ( bestMatch ) {
@@ -435,7 +435,7 @@ TQStringList TQGPluginManager::featureList() const
if ( (*it).isEmpty() || libDict[*it] )
continue;
TQComLibrary* library = new TQComLibrary( *it );
- if ( library->qtVersion() == QT_VERSION ) {
+ if ( library->qtVersion() == TQT_VERSION ) {
that->addLibrary( library );
phase2Deny << TQFileInfo( *it ).baseName();
} else {
@@ -491,11 +491,11 @@ bool TQGPluginManager::addLibrary( TQLibrary* lib )
TQComLibrary* first = (TQComLibrary*)old;
TQComLibrary* second = (TQComLibrary*)plugin;
bool takeFirst = TRUE;
- if ( first->qtVersion() != QT_VERSION ) {
- if ( second->qtVersion() == QT_VERSION )
+ if ( first->qtVersion() != TQT_VERSION ) {
+ if ( second->qtVersion() == TQT_VERSION )
takeFirst = FALSE;
- else if ( second->qtVersion() < QT_VERSION &&
- first->qtVersion() > QT_VERSION )
+ else if ( second->qtVersion() < TQT_VERSION &&
+ first->qtVersion() > TQT_VERSION )
takeFirst = FALSE;
}
if ( !takeFirst ) {