Changeset 651 for trunk/src/tools/uic3/main.cpp
- Timestamp:
- Mar 8, 2010, 12:52:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.2 (added) merged: 650 /branches/vendor/nokia/qt/current merged: 649 /branches/vendor/nokia/qt/4.6.1 removed
- Property svn:mergeinfo changed
-
trunk/src/tools/uic3/main.cpp
r561 r651 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 20 09Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 20 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 79 79 const char* projectName = 0; 80 80 const char* trmacro = 0; 81 bool nofwd = false;82 81 bool fix = false; 83 82 bool deps = false; 84 bool implicitIncludes = true;83 ; 85 84 QByteArray pchFile; 86 87 85 88 86 QApplication app(argc, argv, false); … … 147 145 deps = true; 148 146 } else if (opt == "no-implicit-includes") { 149 implicitIncludes = false;147 ; 150 148 } else if (opt == "nofwd") { 151 nofwd = true; 149 readerOptions &= ~Ui3Reader::CustomWidgetForwardDeclarations; 150 } else if (opt == "layout-names") { 151 readerOptions |= Ui3Reader::PreserveLayoutNames; 152 152 } else if (opt == "nounload") { 153 153 // skip … … 254 254 "\t-pch file Add #include \"file\" as the first statement in implementation\n" 255 255 "\t-nofwd Omit forward declarations of custom classes\n" 256 256 257 "\t-no-implicit-includes Do not generate #include-directives for custom classes\n" 257 258 "\t-nounload Do not unload plugins after processing\n" … … 290 291 QTextStream out(&fileOut); 291 292 292 Ui3Reader ui3(out );293 Ui3Reader ui3(out); 293 294 ui3.setExtractImages(extract, qrcOutputFile); 294 295 295 if (projectName && imagecollection) { 296 296 out.setEncoding(QTextStream::Latin1); … … 350 350 return 0; 351 351 } else if (convert) { 352 ui3.generateUi4(QFile::decodeName(fileName), QFile::decodeName(outputFile), doc , implicitIncludes);352 ui3.generateUi4(QFile::decodeName(fileName), QFile::decodeName(outputFile), doc); 353 353 return 0; 354 354 } … … 389 389 QString::fromUtf8(trmacro), 390 390 QString::fromUtf8(className), 391 nofwd,392 implicitIncludes,393 391 convertedUi); 394 392
Note:
See TracChangeset
for help on using the changeset viewer.