diff options
author | Timothy Pearson <[email protected]> | 2012-02-13 17:43:39 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-02-13 17:43:39 -0600 |
commit | 359640943bcf155faa9a067dde9e00a123276290 (patch) | |
tree | fb3d55ea5e18949042fb0064123fb73d2b1eb932 /tools/assistant/config.cpp | |
parent | a829bcdc533e154000803d517200d32fe762e85c (diff) | |
download | tqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz tqt3-359640943bcf155faa9a067dde9e00a123276290.zip |
Automated update from Qt3
Diffstat (limited to 'tools/assistant/config.cpp')
-rw-r--r-- | tools/assistant/config.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/assistant/config.cpp b/tools/assistant/config.cpp index 9a8295893..e47e38bdc 100644 --- a/tools/assistant/config.cpp +++ b/tools/assistant/config.cpp @@ -46,8 +46,8 @@ static Config *static_configuration = 0; inline TQString getVersionString() { - return TQString::number( (QT_VERSION >> 16) & 0xff ) - + "." + TQString::number( (QT_VERSION >> 8) & 0xff ); + return TQString::number( (TQT_VERSION >> 16) & 0xff ) + + "." + TQString::number( (TQT_VERSION >> 8) & 0xff ); } Config::Config() @@ -193,7 +193,7 @@ void Config::loadDefaultProfile() { TQSettings settings; settings.insertSearchPath( TQSettings::Windows, "/Trolltech" ); - const TQString key = "/TQt Assistant/" + TQString(QT_VERSION_STR) + "/Profile"; + const TQString key = "/TQt Assistant/" + TQString(TQT_VERSION_STR) + "/Profile"; const TQString profKey = key + "/default/"; if( settings.entryList( key + "/default" ).count() == 0 ) { @@ -242,7 +242,7 @@ void Config::saveProfile( Profile *profile ) TQSettings settings; settings.insertSearchPath( TQSettings::Windows, "/Trolltech" ); TQString versionString = (profile->props["name"] == "default") - ? TQString(QT_VERSION_STR) + ? TQString(TQT_VERSION_STR) : getVersionString(); const TQString key = "/TQt Assistant/" + versionString + "/"; const TQString profKey = key + "Profile/" + profile->props["name"] + "/"; |