Changeset 561 for trunk/src/tools/uic3
- Timestamp:
- Feb 11, 2010, 11:19:06 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/vendor/nokia/qt/4.6.1 merged eligible /branches/vendor/nokia/qt/current merged eligible /branches/vendor/trolltech/qt/current 3-149
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/src/tools/uic3/converter.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the tools applications of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 989 989 990 990 bool wordWrapFound = false; 991 bool wordWrapPropertyFound = false; 991 992 992 993 for (QDomElement e=n.firstChild().toElement(); !e.isNull(); e = e.nextSibling().toElement()) { … … 1100 1101 name = prop->attributeName(); // sync the name 1101 1102 1102 if (className == QLatin1String("QLabel") && name == QLatin1String("alignment")) { 1103 QString v = prop->elementSet(); 1104 1105 if (v.contains(QRegExp(QLatin1String("\\bWordBreak\\b")))) 1106 wordWrapFound = true; 1107 } 1108 1103 if (className == QLatin1String("QLabel")) { 1104 if (name == QLatin1String("alignment")) { 1105 const QString v = prop->elementSet(); 1106 if (v.contains(QRegExp(QLatin1String("\\bWordBreak\\b")))) 1107 wordWrapFound = true; 1108 } else if (name == QLatin1String("wordWrap")) { 1109 wordWrapPropertyFound = true; 1110 } 1111 } 1109 1112 1110 1113 // resolve the flags and enumerator … … 1165 1168 } 1166 1169 } 1167 if (className == QLatin1String("QLabel") ) {1170 if (className == QLatin1String("QLabel") && !wordWrapPropertyFound) { 1168 1171 DomProperty *wordWrap = new DomProperty(); 1169 1172 wordWrap->setAttributeName(QLatin1String("wordWrap")); -
trunk/src/tools/uic3/deps.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the tools applications of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/tools/uic3/domtool.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the tools applications of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/tools/uic3/domtool.h
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the tools applications of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/tools/uic3/embed.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the tools applications of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 178 178 e->height = img.height(); 179 179 e->depth = img.depth(); 180 e->numColors = img. numColors();180 e->numColors = img.colorCount(); 181 181 e->colorTable = new QRgb[e->numColors]; 182 182 e->alpha = img.hasAlphaBuffer(); … … 196 196 e->compressed = 197 197 #endif 198 embedData( out, img.bits(), img. numBytes() );198 embedData( out, img.bits(), img.byteCount() ); 199 199 out << "\n};\n\n"; 200 200 if ( e->numColors ) { … … 239 239 else 240 240 out << "false, "; 241 out << "\""<< e->name << "\" },\n";241 out << '\"' << e->name << "\" },\n"; 242 242 delete e; 243 243 } -
trunk/src/tools/uic3/form.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the tools applications of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 186 186 if (!(*it).isEmpty()) { 187 187 QString header = fixHeaderName(*it); 188 out << "#include <" << header << ">"<< endl;188 out << "#include <" << header << '>' << endl; 189 189 } 190 190 } … … 193 193 if (!(*it).isEmpty()) { 194 194 QString header = fixHeaderName(*it); 195 out << "#include \"" << header << "\""<< endl;195 out << "#include \"" << header << '\"' << endl; 196 196 } 197 197 } … … 217 217 for (it = typeDefs.constBegin(); it != typeDefs.constEnd(); ++it) { 218 218 if (!(*it).isEmpty()) 219 out << "typedef " << *it << ";"<< endl;219 out << "typedef " << *it << ';' << endl; 220 220 } 221 221 … … 237 237 ++ns; 238 238 } 239 out << "class " << forwardName << ";"<< endl;239 out << "class " << forwardName << ';' << endl; 240 240 for (int i = 0; i < (int) forwardNamespaces.count(); i++) 241 out << "}"<< endl;241 out << '}' << endl; 242 242 } 243 243 } … … 246 246 QString fd = *it; 247 247 fd = fd.trimmed(); 248 if (!fd.endsWith(QLatin1 String(";")))249 fd += QLatin1 String(";");248 if (!fd.endsWith(QLatin1Char(';'))) 249 fd += QLatin1Char(';'); 250 250 out << fd << endl; 251 251 } … … 280 280 out << "#define " << protector << endl; 281 281 out << endl; 282 out << "#include \"" << convertedUiFile << "\""<< endl;282 out << "#include \"" << convertedUiFile << '\"' << endl; 283 283 284 284 createWrapperDeclContents(e); … … 310 310 out << "class "; 311 311 if (!exportMacro.isEmpty()) 312 out << exportMacro << " ";313 out << bareNameOfClass << " : public " << objClass << ", public Ui::" << bareNameOfClass << endl << "{"<< endl;312 out << exportMacro << ' '; 313 out << bareNameOfClass << " : public " << objClass << ", public Ui::" << bareNameOfClass << endl << '{' << endl; 314 314 315 315 /* qmake ignore Q_OBJECT */ … … 363 363 QString returnType = n.attribute(QLatin1String("returnType"), QLatin1String("void")); 364 364 QString functionName = n.firstChild().toText().data().trimmed(); 365 if (functionName.endsWith(QLatin1 String(";")))366 functionName = functionName.left(functionName.length() -1);365 if (functionName.endsWith(QLatin1Char(';'))) 366 functionName.chop(1); 367 367 QString specifier = n.attribute(QLatin1String("specifier")); 368 368 QString access = n.attribute(QLatin1String("access")); … … 395 395 QString returnType = n.attribute(QLatin1String("returnType"), QLatin1String("void")); 396 396 QString functionName = n.firstChild().toText().data().trimmed(); 397 if (functionName.endsWith(QLatin1 String(";")))398 functionName = functionName.left(functionName.length() -1);397 if (functionName.endsWith(QLatin1Char(';'))) 398 functionName.chop(1); 399 399 QString specifier = n.attribute(QLatin1String("specifier")); 400 400 QString access = n.attribute(QLatin1String("access")); … … 424 424 QString access = n.attribute(QLatin1String("access"), QLatin1String("protected")); 425 425 QString var = fixDeclaration(n.firstChild().toText().data().trimmed()); 426 if (!var.endsWith(QLatin1 String(";")))427 var += QLatin1 String(";");426 if (!var.endsWith(QLatin1Char(';'))) 427 var += QLatin1Char(';'); 428 428 if (access == QLatin1String("public")) 429 429 publicVars += var; … … 459 459 continue; 460 460 QString sigName = n.firstChild().toText().data().trimmed(); 461 if (sigName.endsWith(QLatin1 String(";")))461 if (sigName.endsWith(QLatin1Char(';'))) 462 462 sigName = sigName.left(sigName.length() - 1); 463 463 extraSignals += fixDeclaration(sigName); … … 468 468 out << "signals:" << endl; 469 469 for (it = extraSignals.constBegin(); it != extraSignals.constEnd(); ++it) 470 out << " void " << (*it) << ";"<< endl;470 out << " void " << (*it) << ';' << endl; 471 471 out << endl; 472 472 } … … 514 514 out << "};" << endl; 515 515 for (i = 0; i < (int) namespaces.count(); i++) 516 out << "}"<< endl;516 out << '}' << endl; 517 517 518 518 out << endl; … … 544 544 signature = fixDeclaration(signature); 545 545 type = fixType(type); 546 out << " " << specifier << type << " " << signature << pure << ";"<< endl;546 out << " " << specifier << type << ' ' << signature << pure << ';' << endl; 547 547 } 548 548 out << endl; … … 584 584 continue; 585 585 QString functionName = n.firstChild().toText().data().trimmed(); 586 if (functionName.endsWith(QLatin1 String(";")))587 functionName = functionName.left(functionName.length() -1);586 if (functionName.endsWith(QLatin1Char(';'))) 587 functionName.chop(1); 588 588 extraFuncts += functionName; 589 589 extraFunctTyp += n.attribute(QLatin1String("returnType"), QLatin1String("void")); … … 599 599 continue; 600 600 QString functionName = n.firstChild().toText().data().trimmed(); 601 if (functionName.endsWith(QLatin1 String(";")))602 functionName = functionName.left(functionName.length() -1);601 if (functionName.endsWith(QLatin1Char(';'))) 602 functionName.chop(1); 603 603 extraFuncts += functionName; 604 604 extraFunctTyp += n.attribute(QLatin1String("returnType"), QLatin1String("void")); … … 664 664 for (it = globalIncludes.begin(); it != globalIncludes.end(); ++it) { 665 665 if (!(*it).isEmpty()) 666 out << "#include <" << fixHeaderName(*it) << ">"<< endl;666 out << "#include <" << fixHeaderName(*it) << '>' << endl; 667 667 } 668 668 … … 678 678 for (it = localIncludes.begin(); it != localIncludes.end(); ++it) { 679 679 if (!(*it).isEmpty() && *it != QFileInfo(fileName + QLatin1String(".h")).fileName()) 680 out << "#include \"" << fixHeaderName(*it) << "\""<< endl;680 out << "#include \"" << fixHeaderName(*it) << '\"' << endl; 681 681 } 682 682 … … 685 685 if (!outputFileName.isEmpty()) 686 686 uiDotH = QString::fromUtf8(combinePath(uiDotH.ascii(), outputFileName.ascii())); 687 out << "#include \"" << uiDotH << "\""<< endl;687 out << "#include \"" << uiDotH << '\"' << endl; 688 688 writeFunctImpl = false; 689 689 } … … 703 703 out << " *" << endl; 704 704 out << " * The " << objClass.mid(1).toLower() << " will by default be modeless, unless you set 'modal' to" << endl; 705 out << " * true to construct a modal " << objClass.mid(1).toLower() << "."<< endl;705 out << " * true to construct a modal " << objClass.mid(1).toLower() << '.' << endl; 706 706 out << " */" << endl; 707 707 out << nameOfClass << "::" << bareNameOfClass << "(QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl)" << endl; … … 734 734 out << endl; 735 735 736 out << "{"<< endl;736 out << '{' << endl; 737 737 738 738 // … … 776 776 777 777 // end of constructor 778 out << "}"<< endl;778 out << '}' << endl; 779 779 out << endl; 780 780 … … 784 784 out << " */" << endl; 785 785 out << nameOfClass << "::~" << bareNameOfClass << "()" << endl; 786 out << "{"<< endl;786 out << '{' << endl; 787 787 if (extraFuncts.contains(QLatin1String("destroy()"))) 788 788 out << indent << "destroy();" << endl; 789 789 out << indent << "// no need to delete child widgets, Qt does it all for us" << endl; 790 out << "}"<< endl;790 out << '}' << endl; 791 791 out << endl; 792 792 … … 817 817 out << " */" << endl; 818 818 out << "void " << nameOfClass << "::languageChange()" << endl; 819 out << "{"<< endl;819 out << '{' << endl; 820 820 out << " retranslateUi(this);" << endl; 821 out << "}"<< endl;821 out << '}' << endl; 822 822 out << endl; 823 823 … … 834 834 QString fname = fixDeclaration(Parser::cleanArgs(*it)); 835 835 if (!(*it3).startsWith(QLatin1String("pure"))) { // "pure virtual" or "pureVirtual" 836 out << type << " "<< nameOfClass << "::" << fname << endl;837 out << "{"<< endl;836 out << type << ' ' << nameOfClass << "::" << fname << endl; 837 out << '{' << endl; 838 838 if (*it != QLatin1String("init()") && *it != QLatin1String("destroy()")) { 839 839 QRegExp numeric(QLatin1String("^(?:signed|unsigned|u?char|u?short|u?int" … … 869 869 if (type == QLatin1String("bool")) { 870 870 retVal = QLatin1String("false"); 871 } else if (isBasicNumericType || type.endsWith(QLatin1 String("*"))) {871 } else if (isBasicNumericType || type.endsWith(QLatin1Char('*'))) { 872 872 retVal = QLatin1String("0"); 873 } else if (type.endsWith(QLatin1 String("&"))) {873 } else if (type.endsWith(QLatin1Char('&'))) { 874 874 do { 875 875 type.chop(1); 876 } while (type.endsWith(QLatin1 String(" ")));876 } while (type.endsWith(QLatin1Char(' '))); 877 877 retVal = QLatin1String("uic_temp_var"); 878 out << indent << "static " << type << " " << retVal << ";"<< endl;878 out << indent << "static " << type << ' ' << retVal << ';' << endl; 879 879 } else { 880 880 retVal = type + QLatin1String("()"); … … 884 884 out << indent << "qWarning(\"" << nameOfClass << "::" << fname << ": Not implemented yet\");" << endl; 885 885 if (!retVal.isEmpty()) 886 out << indent << "return " << retVal << ";"<< endl;886 out << indent << "return " << retVal << ';' << endl; 887 887 } 888 out << "}"<< endl;888 out << '}' << endl; 889 889 out << endl; 890 890 } -
trunk/src/tools/uic3/main.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the tools applications of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 115 115 if (opt == "wrap" || opt[1] == '\0') { 116 116 if (!(n < argc-1)) { 117 error = "Missing name of converted uifile";117 error = "Missing name of converted UI file"; 118 118 break; 119 119 } … … 231 231 "\t<uiheaderfile> name of the data file\n" 232 232 " %s [options] -wrap <converteduifile> <uifile>\n" 233 "\t<converteduifile> name of the converted uifile\n"233 "\t<converteduifile> name of the converted UI file\n" 234 234 "Generate implementation:\n" 235 235 " %s [options] -impl <headerfile> <uifile>\n" … … 255 255 "\t-nofwd Omit forward declarations of custom classes\n" 256 256 "\t-no-implicit-includes Do not generate #include-directives for custom classes\n" 257 "\t-nounload Do n't unload plugins after processing\n"257 "\t-nounload Do not unload plugins after processing\n" 258 258 "\t-tr func Use func() instead of tr() for i18n\n" 259 259 "\t-L path Additional plugin search path\n" … … 368 368 369 369 if (headerFile) { 370 out << "#include \"" << headerFile << "\""<< endl << endl;370 out << "#include \"" << headerFile << '\"' << endl << endl; 371 371 } 372 372 -
trunk/src/tools/uic3/object.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the tools applications of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/tools/uic3/parser.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the tools applications of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 49 49 { 50 50 QString slot(func); 51 int begin = slot.indexOf(QLatin1 String("(")) + 1;51 int begin = slot.indexOf(QLatin1Char('(')) + 1; 52 52 QString args = slot.mid(begin); 53 args = args.left(args.indexOf(QLatin1 String(")")));53 args = args.left(args.indexOf(QLatin1Char(')'))); 54 54 QStringList lst = args.split(QLatin1Char(',')); 55 55 QString res = slot.left(begin); 56 56 for (QStringList::Iterator it = lst.begin(); it != lst.end(); ++it) { 57 57 if (it != lst.begin()) 58 res += QLatin1 String(",");58 res += QLatin1Char(','); 59 59 QString arg = *it; 60 60 int pos = 0; … … 66 66 arg = arg.simplified(); 67 67 if ((pos = arg.indexOf(QLatin1Char(':'))) != -1) 68 arg = arg.left(pos).simplified() + QLatin1 String(":") + arg.mid(pos + 1).simplified();68 arg = arg.left(pos).simplified() + QLatin1Char(':') + arg.mid(pos + 1).simplified(); 69 69 QStringList l = arg.split(QLatin1Char(' ')); 70 70 if (l.count() == 2) { … … 74 74 arg = l[0]; 75 75 } else if (l.count() == 3) { 76 arg = l[0] + QLatin1 String(" ") + l[1];76 arg = l[0] + QLatin1Char(' ') + l[1]; 77 77 } 78 78 } 79 79 res += arg; 80 80 } 81 res += QLatin1 String(")");81 res += QLatin1Char(')'); 82 82 return res; 83 83 } -
trunk/src/tools/uic3/parser.h
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the tools applications of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/tools/uic3/qt3to4.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the tools applications of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 150 150 QString filePath; 151 151 //check QLibraryInfo::DataPath/filename 152 filePath = QDir::cleanPath(QLibraryInfo::location(QLibraryInfo::DataPath) + QLatin1 String("/") + fileName) ;152 filePath = QDir::cleanPath(QLibraryInfo::location(QLibraryInfo::DataPath) + QLatin1Char('/') + fileName) ; 153 153 154 154 //check QLibraryInfo::PrefixPath/tools/porting/src/filename -
trunk/src/tools/uic3/qt3to4.h
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the tools applications of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/tools/uic3/subclassing.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the tools applications of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 70 70 71 71 out << "class " << subClass << " : public " << nameOfClass << endl; 72 out << "{"<< endl;72 out << '{' << endl; 73 73 74 74 /* tmake ignore Q_OBJECT */ … … 106 106 QString returnType = n.attribute(QLatin1String("returnType"), QLatin1String("void")); 107 107 QString functionName = n.firstChild().toText().data().trimmed(); 108 if ( functionName.endsWith(QLatin1 String(";")))109 functionName = functionName.left( functionName.length() - 1);108 if ( functionName.endsWith(QLatin1Char(';'))) 109 functionName.chop(1); 110 110 QString specifier = n.attribute(QLatin1String("specifier")); 111 111 QString access = n.attribute(QLatin1String("access")); … … 134 134 QString returnType = n.attribute(QLatin1String("returnType"), QLatin1String("void")); 135 135 QString functionName = n.firstChild().toText().data().trimmed(); 136 if ( functionName.endsWith(QLatin1 String(";")) )137 functionName = functionName.left( functionName.length() - 1);136 if ( functionName.endsWith(QLatin1Char(';')) ) 137 functionName.chop(1); 138 138 QString specifier = n.attribute(QLatin1String("specifier")); 139 139 QString access = n.attribute(QLatin1String("access")); … … 196 196 if ( *it3 == QLatin1String("non virtual") ) 197 197 continue; 198 out << " " << type << " " << fixDeclaration(*it) << ";"<< endl;198 out << " " << type << ' ' << fixDeclaration(*it) << ';' << endl; 199 199 } 200 200 out << endl; … … 224 224 out << " *" << endl; 225 225 out << " * The " << objClass.mid(1).toLower() << " will by default be modeless, unless you set 'modal' to" << endl; 226 out << " * true to construct a modal " << objClass.mid(1).toLower() << "."<< endl;226 out << " * true to construct a modal " << objClass.mid(1).toLower() << '.' << endl; 227 227 out << " */" << endl; 228 228 out << subClass << "::" << subClass << "( QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl )" << endl; … … 236 236 out << " : " << nameOfClass << "( parent, name, fl )" << endl; 237 237 } 238 out << "{"<< endl;239 out << "}"<< endl;238 out << '{' << endl; 239 out << '}' << endl; 240 240 out << endl; 241 241 … … 245 245 out << " */" << endl; 246 246 out << subClass << "::~" << subClass << "()" << endl; 247 out << "{"<< endl;247 out << '{' << endl; 248 248 out << " // no need to delete child widgets, Qt does it all for us" << endl; 249 out << "}"<< endl;249 out << '}' << endl; 250 250 out << endl; 251 251 … … 269 269 QString returnType = n.attribute(QLatin1String("returnType"), QLatin1String("void")); 270 270 QString functionName = n.firstChild().toText().data().trimmed(); 271 if ( functionName.endsWith(QLatin1 String(";")) )272 functionName = functionName.left( functionName.length() - 1);271 if ( functionName.endsWith(QLatin1Char(';')) ) 272 functionName.chop(1); 273 273 QString specifier = n.attribute(QLatin1String("specifier")); 274 274 QString access = n.attribute(QLatin1String("access")); … … 297 297 QString returnType = n.attribute(QLatin1String("returnType"), QLatin1String("void")); 298 298 QString functionName = n.firstChild().toText().data().trimmed(); 299 if ( functionName.endsWith(QLatin1 String(";")) )300 functionName = functionName.left( functionName.length() - 1);299 if ( functionName.endsWith(QLatin1Char(';')) ) 300 functionName.chop(1); 301 301 QString specifier = n.attribute(QLatin1String("specifier")); 302 302 QString access = n.attribute(QLatin1String("access")); … … 352 352 out << " * " << descr << endl; 353 353 out << " */" << endl; 354 out << type << " "<< subClass << "::" << fixDeclaration(*it) << endl;355 out << "{"<< endl;354 out << type << ' ' << subClass << "::" << fixDeclaration(*it) << endl; 355 out << '{' << endl; 356 356 out << " qWarning( \"" << subClass << "::" << fixDeclaration(*it) << " not yet implemented!\" );" << endl; 357 out << "}"<< endl << endl;357 out << '}' << endl << endl; 358 358 } 359 359 out << endl; -
trunk/src/tools/uic3/ui3reader.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the tools applications of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 126 126 if (!encode) { 127 127 s = str; 128 s.replace(QLatin1 String("\\"), QLatin1String("\\\\"));129 s.replace(QLatin1 String("\""), QLatin1String("\\\""));130 s.re place(QLatin1String("\r"), QLatin1String(""));131 s.replace(QLatin1 String("\n"), QLatin1String("\\n\"\n\""));128 s.replace(QLatin1Char('\\'), QLatin1String("\\\\")); 129 s.replace(QLatin1Char('\"'), QLatin1String("\\\"")); 130 s.remove(QLatin1Char('\r')); 131 s.replace(QLatin1Char('\n'), QLatin1String("\\n\"\n\"")); 132 132 } else { 133 133 QByteArray utf8 = str.utf8(); … … 137 137 } 138 138 139 return QLatin1 String("\"") + s + QLatin1String("\"");139 return QLatin1Char('\"') + s + QLatin1Char('\"'); 140 140 } 141 141 … … 159 159 160 160 if (comment.isEmpty()) { 161 return t + QLatin1 String("(") + fixString(sourceText, encode) + QLatin1String(")");161 return t + QLatin1Char('(') + fixString(sourceText, encode) + QLatin1Char(')'); 162 162 } else { 163 return t + QLatin1 String("(")163 return t + QLatin1Char('(') 164 164 + fixString(sourceText, encode) 165 165 + QLatin1String(", ") 166 + fixString(comment, encode) + QLatin1 String(")");166 + fixString(comment, encode) + QLatin1Char(')'); 167 167 } 168 168 } … … 481 481 if (!pixmapLoaderFunction.isEmpty()) { 482 482 pixmap.prepend(pixmapLoaderFunction 483 + QLatin1 String("(")483 + QLatin1Char('(') 484 484 + QLatin1String(externPixmaps ? "\"" : "")); 485 485 486 pixmap.append(QLatin1String(externPixmaps ? "\"" : "") + QLatin1 String(")"));486 pixmap.append(QLatin1String(externPixmaps ? "\"" : "") + QLatin1Char(')')); 487 487 } 488 488 out << indent << name << ".setBrush(QColorGroup::" … … 579 579 if (objectNames.contains(result)) { 580 580 int i = 2; 581 while (objectNames.contains(result + QLatin1 String("_") + QString::number(i)))581 while (objectNames.contains(result + QLatin1Char('_') + QString::number(i))) 582 582 i++; 583 result += QLatin1 String("_");583 result += QLatin1Char('_'); 584 584 result += QString::number(i); 585 585 } -
trunk/src/tools/uic3/ui3reader.h
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the tools applications of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/tools/uic3/uic.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the tools applications of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 145 145 146 146 out << "/********************************************************************************\n"; 147 out << "** Form generated from reading uifile '" << QFileInfo(opt.inputFile).fileName() << "'\n";147 out << "** Form generated from reading UI file '" << QFileInfo(opt.inputFile).fileName() << "'\n"; 148 148 out << "**\n"; 149 149 out << "** Created: " << QDateTime::currentDateTime().toString() << "\n"; 150 150 out << "** " << QString::fromLatin1("by: Qt User Interface Compiler version %1\n").arg(QLatin1String(QT_VERSION_STR)); 151 151 out << "**\n"; 152 out << "** WARNING! All changes made in this file will be lost when recompiling uifile!\n";152 out << "** WARNING! All changes made in this file will be lost when recompiling UI file!\n"; 153 153 out << "********************************************************************************/\n\n"; 154 154 } … … 323 323 } 324 324 325 bool Uic::isCustomWidgetContainer(const QString &className) const 326 { 327 return customWidgetsInfo()->isCustomWidgetContainer(className); 328 } 329 325 330 bool Uic::isStatusBar(const QString &className) const 326 331 { -
trunk/src/tools/uic3/uic.h
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the tools applications of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 115 115 bool isButton(const QString &className) const; 116 116 bool isContainer(const QString &className) const; 117 bool isCustomWidgetContainer(const QString &className) const; 117 118 bool isMenuBar(const QString &className) const; 118 119 bool isMenu(const QString &className) const; -
trunk/src/tools/uic3/widgetinfo.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the tools applications of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/tools/uic3/widgetinfo.h
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the tools applications of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 **
Note:
See TracChangeset
for help on using the changeset viewer.