Changeset 1156 for branches/vendor/nokia/qt/current/tools/xmlpatterns
- Timestamp:
- Nov 7, 2014, 5:23:02 PM (11 years ago)
- Location:
- branches/vendor/nokia/qt/current/tools/xmlpatterns
- Files:
-
- 7 edited
-
main.cpp (modified) (10 diffs)
-
main.h (modified) (3 diffs)
-
qapplicationargument.cpp (modified) (3 diffs)
-
qapplicationargument_p.h (modified) (3 diffs)
-
qapplicationargumentparser.cpp (modified) (3 diffs)
-
qapplicationargumentparser_p.h (modified) (3 diffs)
-
xmlpatterns.pro (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/vendor/nokia/qt/current/tools/xmlpatterns/main.cpp
r844 r1156 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 3 ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). 4 ** Contact: http://www.qt-project.org/legal 6 5 ** 7 6 ** This file is part of the QtXmlPatterns module of the Qt Toolkit. 8 7 ** 9 8 ** $QT_BEGIN_LICENSE:LGPL$ 10 ** Commercial Usage11 ** Licensees holding valid Qt Commerciallicenses may use this file in12 ** accordance with the Qt Commercial License Agreement provided with the9 ** Commercial Usage 10 ** Licensees holding valid licenses may use this file in 11 ** accordance with the greement provided with the 13 12 ** Software or, alternatively, in accordance with the terms contained in 14 ** a written agreement between you and Nokia. 13 ** a written agreement between you and Digia. For licensing terms and 14 ** conditions see http://qt.digia.com/licensing. For further information 15 ** use the contact form at http://qt.digia.com/contact-us. 15 16 ** 16 17 ** GNU Lesser General Public License Usage … … 22 23 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 23 24 ** 24 ** In addition, as a special exception, Nokia gives you certain additional25 ** rights. These rights are described in the Nokia Qt LGPL Exception25 ** In addition, as a special exception, ia gives you certain additional 26 ** rights. These rights are described in the ia Qt LGPL Exception 26 27 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 28 ** … … 34 35 ** met: http://www.gnu.org/copyleft/gpl.html. 35 36 ** 36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at [email protected]. 37 ** 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 146 146 147 147 /* The value.isNull() check ensures we can bind variables whose value is an empty string. */ 148 return qVariantFromValue(Parameter(name, value.isNull() ? QString(QLatin1String("")) : value ));148 return romValue(Parameter(name, value.isNull() ? QString(QLatin1String("")) : value )); 149 149 } 150 150 else if(arg.name() == QLatin1String("output")) … … 153 153 154 154 if(f->open(QIODevice::WriteOnly)) 155 return qVariantFromValue(static_cast<QIODevice *>(f));155 return romValue(static_cast<QIODevice *>(f)); 156 156 else 157 157 { … … 169 169 } 170 170 else 171 return qVariantFromValue(name);171 return romValue(name); 172 172 } 173 173 else … … 201 201 #endif 202 202 203 return qVariantFromValue(static_cast<QIODevice *>(out));203 return romValue(static_cast<QIODevice *>(out)); 204 204 } 205 205 else … … 318 318 QXmlQuery query(lang, namePool); 319 319 320 query.setInitialTemplateName(q VariantValue<QXmlName>(parser.value(initialTemplateName)));320 query.setInitialTemplateName(q<QXmlName>(parser.value(initialTemplateName))); 321 321 322 322 /* Bind external variables. */ … … 330 330 for(int i = 0; i < len; ++i) 331 331 { 332 const Parameter p(q VariantValue<Parameter>(parameters.at(i)));332 const Parameter p(q<Parameter>(parameters.at(i))); 333 333 334 334 if(usedParameters.contains(p.first)) … … 360 360 query.setQuery(effectiveURI); 361 361 362 const QPatternist::AutoPtr<QIODevice> outDevice(q VariantValue<QIODevice *>(parser.value(output)));362 const QPatternist::AutoPtr<QIODevice> outDevice(q<QIODevice *>(parser.value(output))); 363 363 Q_ASSERT(outDevice); 364 364 Q_ASSERT(outDevice->isWritable()); -
branches/vendor/nokia/qt/current/tools/xmlpatterns/main.h
r844 r1156 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 3 ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). 4 ** Contact: http://www.qt-project.org/legal 6 5 ** 7 6 ** This file is part of the XMLPatterns module of the Qt Toolkit. 8 7 ** 9 8 ** $QT_BEGIN_LICENSE:LGPL$ 10 ** Commercial Usage11 ** Licensees holding valid Qt Commerciallicenses may use this file in12 ** accordance with the Qt Commercial License Agreement provided with the9 ** Commercial Usage 10 ** Licensees holding valid licenses may use this file in 11 ** accordance with the greement provided with the 13 12 ** Software or, alternatively, in accordance with the terms contained in 14 ** a written agreement between you and Nokia. 13 ** a written agreement between you and Digia. For licensing terms and 14 ** conditions see http://qt.digia.com/licensing. For further information 15 ** use the contact form at http://qt.digia.com/contact-us. 15 16 ** 16 17 ** GNU Lesser General Public License Usage … … 22 23 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 23 24 ** 24 ** In addition, as a special exception, Nokia gives you certain additional25 ** rights. These rights are described in the Nokia Qt LGPL Exception25 ** In addition, as a special exception, ia gives you certain additional 26 ** rights. These rights are described in the ia Qt LGPL Exception 26 27 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 28 ** … … 34 35 ** met: http://www.gnu.org/copyleft/gpl.html. 35 36 ** 36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at [email protected]. 37 ** 38 38 ** $QT_END_LICENSE$ 39 39 ** -
branches/vendor/nokia/qt/current/tools/xmlpatterns/qapplicationargument.cpp
r844 r1156 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 3 ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). 4 ** Contact: http://www.qt-project.org/legal 6 5 ** 7 6 ** This file is part of the tools applications of the Qt Toolkit. 8 7 ** 9 8 ** $QT_BEGIN_LICENSE:LGPL$ 10 ** Commercial Usage11 ** Licensees holding valid Qt Commerciallicenses may use this file in12 ** accordance with the Qt Commercial License Agreement provided with the9 ** Commercial Usage 10 ** Licensees holding valid licenses may use this file in 11 ** accordance with the greement provided with the 13 12 ** Software or, alternatively, in accordance with the terms contained in 14 ** a written agreement between you and Nokia. 13 ** a written agreement between you and Digia. For licensing terms and 14 ** conditions see http://qt.digia.com/licensing. For further information 15 ** use the contact form at http://qt.digia.com/contact-us. 15 16 ** 16 17 ** GNU Lesser General Public License Usage … … 22 23 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 23 24 ** 24 ** In addition, as a special exception, Nokia gives you certain additional25 ** rights. These rights are described in the Nokia Qt LGPL Exception25 ** In addition, as a special exception, ia gives you certain additional 26 ** rights. These rights are described in the ia Qt LGPL Exception 26 27 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 28 ** … … 34 35 ** met: http://www.gnu.org/copyleft/gpl.html. 35 36 ** 36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at [email protected]. 37 ** 38 38 ** $QT_END_LICENSE$ 39 39 ** -
branches/vendor/nokia/qt/current/tools/xmlpatterns/qapplicationargument_p.h
r844 r1156 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 3 ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). 4 ** Contact: http://www.qt-project.org/legal 6 5 ** 7 6 ** This file is part of the tools applications of the Qt Toolkit. 8 7 ** 9 8 ** $QT_BEGIN_LICENSE:LGPL$ 10 ** Commercial Usage11 ** Licensees holding valid Qt Commerciallicenses may use this file in12 ** accordance with the Qt Commercial License Agreement provided with the9 ** Commercial Usage 10 ** Licensees holding valid licenses may use this file in 11 ** accordance with the greement provided with the 13 12 ** Software or, alternatively, in accordance with the terms contained in 14 ** a written agreement between you and Nokia. 13 ** a written agreement between you and Digia. For licensing terms and 14 ** conditions see http://qt.digia.com/licensing. For further information 15 ** use the contact form at http://qt.digia.com/contact-us. 15 16 ** 16 17 ** GNU Lesser General Public License Usage … … 22 23 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 23 24 ** 24 ** In addition, as a special exception, Nokia gives you certain additional25 ** rights. These rights are described in the Nokia Qt LGPL Exception25 ** In addition, as a special exception, ia gives you certain additional 26 ** rights. These rights are described in the ia Qt LGPL Exception 26 27 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 28 ** … … 34 35 ** met: http://www.gnu.org/copyleft/gpl.html. 35 36 ** 36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at [email protected]. 37 ** 38 38 ** $QT_END_LICENSE$ 39 39 ** -
branches/vendor/nokia/qt/current/tools/xmlpatterns/qapplicationargumentparser.cpp
r844 r1156 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 3 ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). 4 ** Contact: http://www.qt-project.org/legal 6 5 ** 7 6 ** This file is part of the tools applications of the Qt Toolkit. 8 7 ** 9 8 ** $QT_BEGIN_LICENSE:LGPL$ 10 ** Commercial Usage11 ** Licensees holding valid Qt Commerciallicenses may use this file in12 ** accordance with the Qt Commercial License Agreement provided with the9 ** Commercial Usage 10 ** Licensees holding valid licenses may use this file in 11 ** accordance with the greement provided with the 13 12 ** Software or, alternatively, in accordance with the terms contained in 14 ** a written agreement between you and Nokia. 13 ** a written agreement between you and Digia. For licensing terms and 14 ** conditions see http://qt.digia.com/licensing. For further information 15 ** use the contact form at http://qt.digia.com/contact-us. 15 16 ** 16 17 ** GNU Lesser General Public License Usage … … 22 23 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 23 24 ** 24 ** In addition, as a special exception, Nokia gives you certain additional25 ** rights. These rights are described in the Nokia Qt LGPL Exception25 ** In addition, as a special exception, ia gives you certain additional 26 ** rights. These rights are described in the ia Qt LGPL Exception 26 27 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 28 ** … … 34 35 ** met: http://www.gnu.org/copyleft/gpl.html. 35 36 ** 36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at [email protected]. 37 ** 38 38 ** $QT_END_LICENSE$ 39 39 ** -
branches/vendor/nokia/qt/current/tools/xmlpatterns/qapplicationargumentparser_p.h
r844 r1156 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 3 ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). 4 ** Contact: http://www.qt-project.org/legal 6 5 ** 7 6 ** This file is part of the tools applications of the Qt Toolkit. 8 7 ** 9 8 ** $QT_BEGIN_LICENSE:LGPL$ 10 ** Commercial Usage11 ** Licensees holding valid Qt Commerciallicenses may use this file in12 ** accordance with the Qt Commercial License Agreement provided with the9 ** Commercial Usage 10 ** Licensees holding valid licenses may use this file in 11 ** accordance with the greement provided with the 13 12 ** Software or, alternatively, in accordance with the terms contained in 14 ** a written agreement between you and Nokia. 13 ** a written agreement between you and Digia. For licensing terms and 14 ** conditions see http://qt.digia.com/licensing. For further information 15 ** use the contact form at http://qt.digia.com/contact-us. 15 16 ** 16 17 ** GNU Lesser General Public License Usage … … 22 23 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 23 24 ** 24 ** In addition, as a special exception, Nokia gives you certain additional25 ** rights. These rights are described in the Nokia Qt LGPL Exception25 ** In addition, as a special exception, ia gives you certain additional 26 ** rights. These rights are described in the ia Qt LGPL Exception 26 27 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 28 ** … … 34 35 ** met: http://www.gnu.org/copyleft/gpl.html. 35 36 ** 36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at [email protected]. 37 ** 38 38 ** $QT_END_LICENSE$ 39 39 ** -
branches/vendor/nokia/qt/current/tools/xmlpatterns/xmlpatterns.pro
r556 r1156 4 4 QT -= gui 5 5 QT += xmlpatterns 6 7 8 9 6 10 7 11 target.path = $$[QT_INSTALL_BINS]
Note:
See TracChangeset
for help on using the changeset viewer.
