diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
commit | 359640943bcf155faa9a067dde9e00a123276290 (patch) | |
tree | fb3d55ea5e18949042fb0064123fb73d2b1eb932 /src/tools/qgpluginmanager.cpp | |
parent | a829bcdc533e154000803d517200d32fe762e85c (diff) | |
download | tqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz tqt3-359640943bcf155faa9a067dde9e00a123276290.zip |
Automated update from Qt3
Diffstat (limited to 'src/tools/qgpluginmanager.cpp')
-rw-r--r-- | src/tools/qgpluginmanager.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tools/qgpluginmanager.cpp b/src/tools/qgpluginmanager.cpp index 5afd8bc41..5c428f924 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 ) { |