From 359640943bcf155faa9a067dde9e00a123276290 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Feb 2012 17:43:39 -0600 Subject: Automated update from Qt3 --- tools/assistant/config.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/assistant/config.cpp') 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"] + "/"; -- cgit v1.2.1