- Timestamp:
- Feb 10, 2010, 12:52:55 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/vendor/nokia/qt/current/tools/xmlpatterns/main.cpp
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 5 ** 6 ** This file is part of the Patternist project on Trolltech Labs. 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 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 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 50 50 #include <QtCore/QVariant> 51 51 #include <QtCore/QVector> 52 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 = ); 198 198 out->open(m_stdout, QIODevice::WriteOnly); 199 199 #else
Note:
See TracChangeset
for help on using the changeset viewer.
