Changeset 561 for trunk/tools/xmlpatterns
- Timestamp:
- Feb 11, 2010, 11:19:06 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 4 deleted
- 8 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/tools/xmlpatterns/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) 5 ** 6 ** This file is part of the Patternist project on Trolltech Labs. 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 6 ** 7 ** This file is part of the QtXmlPatterns module of the Qt Toolkit. 7 8 ** 8 9 ** $QT_BEGIN_LICENSE:LGPL$ … … 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 ** … … 50 50 #include <QtCore/QVariant> 51 51 #include <QtCore/QVector> 52 #include <QtCore/QCoreApplication> 52 53 53 54 #include <QtXmlPatterns/QXmlFormatter> … … 59 60 #include "qapplicationargument_p.h" 60 61 #include "qapplicationargumentparser_p.h" 61 #include "qcoloringmessagehandler_p.h"62 62 63 63 #if defined(Q_OS_WIN) && !defined(Q_OS_WINCE) … … 81 81 */ 82 82 typedef QPair<QString, QString> Parameter; 83 Q_DECLARE_METATYPE(Parameter) ;83 Q_DECLARE_METATYPE(Parameter) 84 84 85 85 /*! … … 88 88 For the -output switch. 89 89 */ 90 Q_DECLARE_METATYPE(QIODevice *) ;90 Q_DECLARE_METATYPE(QIODevice *) 91 91 92 92 /*! … … 193 193 #ifdef Q_OS_WIN 194 194 /* If we don't open stdout in "binary" mode on Windows, it will translate 195 * 0xA into 0xD 0xA. See Trolltech task 173619, for an example.*/195 * 0xA into 0xD 0xA. */ 196 196 _setmode(_fileno(stdout), _O_BINARY); 197 m_stdout = QT_WA_INLINE(_wfdopen(_fileno(stdout), L"wb"),_fdopen(_fileno(stdout), "wb"));197 m_stdout = _wfdopen(_fileno(stdout), L"wb"); 198 198 out->open(m_stdout, QIODevice::WriteOnly); 199 199 #else -
trunk/tools/xmlpatterns/main.h
r2 r561 1 1 /**************************************************************************** 2 * ** * ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 3 ** Contact: Qt Software Information (qt-info@nokia.com) 4 * ** 5 * ** This file is part of the Patternist project on Trolltech Labs. * ** 6 * ** $QT_BEGIN_LICENSE:LGPL$ 2 ** 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 6 ** 7 ** This file is part of the XMLPatterns module of the Qt Toolkit. 8 ** 9 ** $QT_BEGIN_LICENSE:LGPL$ 7 10 ** Commercial Usage 8 11 ** Licensees holding valid Qt Commercial licenses may use this file in … … 19 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 20 23 ** 21 ** In addition, as a special exception, Nokia gives you certain 22 ** additional rights. These rights are described in the Nokia Qt LGPL 23 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 24 ** 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. 25 27 ** 26 28 ** GNU General Public License Usage … … 32 34 ** met: http://www.gnu.org/copyleft/gpl.html. 33 35 ** 34 ** If you are unsure which license is appropriate for your use, please35 ** 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. 36 38 ** $QT_END_LICENSE$ 37 * ** 38 * ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 39 * ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 40 * ** 41 * ****************************************************************************/ 39 ** 40 ****************************************************************************/ 42 41 43 42 // … … 56 55 #include <QCoreApplication> 57 56 58 QT_BEGIN_HEADER59 60 QT_BEGIN_NAMESPACE61 62 57 class QXmlPatternistCLI 63 58 { 64 59 public: 65 60 Q_DECLARE_TR_FUNCTIONS(QXmlPatternistCLI) 66 61 private: 67 62 inline QXmlPatternistCLI(); … … 69 64 }; 70 65 71 QT_END_NAMESPACE72 73 QT_END_HEADER74 75 66 #endif -
trunk/tools/xmlpatterns/qapplicationargument.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/tools/xmlpatterns/qapplicationargument_p.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) 5 ** ** This file is part of the tools applications of the Qt Toolkit. 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 6 ** 7 ** This file is part of the tools applications of the Qt Toolkit. 6 8 ** 7 9 ** $QT_BEGIN_LICENSE:LGPL$ … … 20 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 21 23 ** 22 ** In addition, as a special exception, Nokia gives you certain 23 ** additional rights. These rights are described in the Nokia Qt LGPL 24 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 25 ** 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. 26 27 ** 27 28 ** GNU General Public License Usage … … 33 34 ** met: http://www.gnu.org/copyleft/gpl.html. 34 35 ** 35 ** If you are unsure which license is appropriate for your use, please36 ** 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. 37 38 ** $QT_END_LICENSE$ 38 39 ** -
trunk/tools/xmlpatterns/qapplicationargumentparser.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/tools/xmlpatterns/qapplicationargumentparser_p.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) 5 ** ** This file is part of the tools applications of the Qt Toolkit. 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 6 ** 7 ** This file is part of the tools applications of the Qt Toolkit. 6 8 ** 7 9 ** $QT_BEGIN_LICENSE:LGPL$ … … 20 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 21 23 ** 22 ** In addition, as a special exception, Nokia gives you certain 23 ** additional rights. These rights are described in the Nokia Qt LGPL 24 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 25 ** 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. 26 27 ** 27 28 ** GNU General Public License Usage … … 33 34 ** met: http://www.gnu.org/copyleft/gpl.html. 34 35 ** 35 ** If you are unsure which license is appropriate for your use, please36 ** 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. 37 38 ** $QT_END_LICENSE$ 38 39 ** -
trunk/tools/xmlpatterns/xmlpatterns.pro
r2 r561 18 18 SOURCES = main.cpp \ 19 19 qapplicationargument.cpp \ 20 qapplicationargumentparser.cpp \ 21 qcoloringmessagehandler.cpp \ 22 qcoloroutput.cpp 20 qapplicationargumentparser.cpp 23 21 24 22 25 23 HEADERS = main.h \ 26 24 qapplicationargument.cpp \ 27 qapplicationargumentparser.cpp \ 28 qcoloringmessagehandler_p.h \ 29 qcoloroutput_p.h 25 qapplicationargumentparser.cpp 30 26 31 include(../src/common.pri) 27 symbian: TARGET.UID3 = 0xA000D7C9 28
Note:
See TracChangeset
for help on using the changeset viewer.