summaryrefslogtreecommitdiffstats
path: root/tools/designer/uic/main.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
commit359640943bcf155faa9a067dde9e00a123276290 (patch)
treefb3d55ea5e18949042fb0064123fb73d2b1eb932 /tools/designer/uic/main.cpp
parenta829bcdc533e154000803d517200d32fe762e85c (diff)
downloadtqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz
tqt3-359640943bcf155faa9a067dde9e00a123276290.zip
Automated update from Qt3
Diffstat (limited to 'tools/designer/uic/main.cpp')
-rw-r--r--tools/designer/uic/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/designer/uic/main.cpp b/tools/designer/uic/main.cpp
index 452aad978..dbb3962a4 100644
--- a/tools/designer/uic/main.cpp
+++ b/tools/designer/uic/main.cpp
@@ -74,7 +74,7 @@ int main( int argc, char * argv[] )
TQApplication app(argc, argv, FALSE);
TQString keybase( "/TQt Designer/" +
- TQString::number( (QT_VERSION >> 16) & 0xff ) +"." + TQString::number( (QT_VERSION >> 8) & 0xff ) + "/" );
+ TQString::number( (TQT_VERSION >> 16) & 0xff ) +"." + TQString::number( (TQT_VERSION >> 8) & 0xff ) + "/" );
TQSettings config;
config.insertSearchPath( TQSettings::Windows, "/Trolltech" );
TQStringList pluginPaths = config.readListEntry( keybase + "PluginPaths" );
@@ -169,7 +169,7 @@ int main( int argc, char * argv[] )
} else if ( opt == "version" ) {
fprintf( stderr,
"User Interface Compiler for TQt version %s\n",
- QT_VERSION_STR );
+ TQT_VERSION_STR );
return 1;
} else if ( opt == "help" ) {
break;
@@ -298,7 +298,7 @@ int main( int argc, char * argv[] )
TQDomElement e = doc.firstChild().toElement();
if ( e.hasAttribute("version") && e.attribute("version").toDouble() > 3.3 ) {
qWarning( TQString("uic: File generated with too recent version of TQt Designer (%s vs. %s)"),
- e.attribute("version").latin1(), QT_VERSION_STR );
+ e.attribute("version").latin1(), TQT_VERSION_STR );
return 1;
}