Timestamp:
Nov 7, 2014, 5:23:02 PM (11 years ago)
Author:
Dmitry A. Kuminov
Message:

vendor: Import qt-everywhere-opensource-src-4.8.6 from Digia (excluding doc/html and doc/qch dirs generated from doc/src, and imports and templates dirs which are emtpy).

Location:
branches/vendor/nokia/qt/current/tools/xmlpatterns
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • branches/vendor/nokia/qt/current/tools/xmlpatterns/main.cpp

    r844 r1156  
    11/****************************************************************************
    22**
    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
    65**
    76** This file is part of the QtXmlPatterns module of the Qt Toolkit.
    87**
    98** $QT_BEGIN_LICENSE:LGPL$
    10 ** Commercial Usage
    11 ** Licensees holding valid Qt Commercial licenses may use this file in
    12 ** accordance with the Qt Commercial License Agreement provided with the
     9** Commercial Usage
     10** Licensees holding valid licenses may use this file in
     11** accordance with the greement provided with the
    1312** 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.
    1516**
    1617** GNU Lesser General Public License Usage
     
    2223** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2324**
    24 ** In addition, as a special exception, Nokia gives you certain additional
    25 ** rights.  These rights are described in the Nokia Qt LGPL Exception
     25** In addition, as a special exception, ia gives you certain additional
     26** rights.  These rights are described in the ia Qt LGPL Exception
    2627** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2728**
     
    3435** met: http://www.gnu.org/copyleft/gpl.html.
    3536**
    36 ** If you have questions regarding the use of this file, please contact
    37 ** Nokia at [email protected].
     37**
    3838** $QT_END_LICENSE$
    3939**
     
    146146
    147147            /* 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 ));
    149149        }
    150150        else if(arg.name() == QLatin1String("output"))
     
    153153
    154154            if(f->open(QIODevice::WriteOnly))
    155                 return qVariantFromValue(static_cast<QIODevice *>(f));
     155                return romValue(static_cast<QIODevice *>(f));
    156156            else
    157157            {
     
    169169            }
    170170            else
    171                 return qVariantFromValue(name);
     171                return romValue(name);
    172172        }
    173173        else
     
    201201#endif
    202202
    203             return qVariantFromValue(static_cast<QIODevice *>(out));
     203            return romValue(static_cast<QIODevice *>(out));
    204204        }
    205205        else
     
    318318    QXmlQuery query(lang, namePool);
    319319
    320     query.setInitialTemplateName(qVariantValue<QXmlName>(parser.value(initialTemplateName)));
     320    query.setInitialTemplateName(q<QXmlName>(parser.value(initialTemplateName)));
    321321
    322322    /* Bind external variables. */
     
    330330        for(int i = 0; i < len; ++i)
    331331        {
    332             const Parameter p(qVariantValue<Parameter>(parameters.at(i)));
     332            const Parameter p(q<Parameter>(parameters.at(i)));
    333333
    334334            if(usedParameters.contains(p.first))
     
    360360    query.setQuery(effectiveURI);
    361361
    362     const QPatternist::AutoPtr<QIODevice> outDevice(qVariantValue<QIODevice *>(parser.value(output)));
     362    const QPatternist::AutoPtr<QIODevice> outDevice(q<QIODevice *>(parser.value(output)));
    363363    Q_ASSERT(outDevice);
    364364    Q_ASSERT(outDevice->isWritable());
  • branches/vendor/nokia/qt/current/tools/xmlpatterns/main.h

    r844 r1156  
    11/****************************************************************************
    22**
    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
    65**
    76** This file is part of the XMLPatterns module of the Qt Toolkit.
    87**
    98** $QT_BEGIN_LICENSE:LGPL$
    10 ** Commercial Usage
    11 ** Licensees holding valid Qt Commercial licenses may use this file in
    12 ** accordance with the Qt Commercial License Agreement provided with the
     9** Commercial Usage
     10** Licensees holding valid licenses may use this file in
     11** accordance with the greement provided with the
    1312** 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.
    1516**
    1617** GNU Lesser General Public License Usage
     
    2223** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2324**
    24 ** In addition, as a special exception, Nokia gives you certain additional
    25 ** rights.  These rights are described in the Nokia Qt LGPL Exception
     25** In addition, as a special exception, ia gives you certain additional
     26** rights.  These rights are described in the ia Qt LGPL Exception
    2627** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2728**
     
    3435** met: http://www.gnu.org/copyleft/gpl.html.
    3536**
    36 ** If you have questions regarding the use of this file, please contact
    37 ** Nokia at [email protected].
     37**
    3838** $QT_END_LICENSE$
    3939**
  • branches/vendor/nokia/qt/current/tools/xmlpatterns/qapplicationargument.cpp

    r844 r1156  
    11/****************************************************************************
    22**
    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
    65**
    76** This file is part of the tools applications of the Qt Toolkit.
    87**
    98** $QT_BEGIN_LICENSE:LGPL$
    10 ** Commercial Usage
    11 ** Licensees holding valid Qt Commercial licenses may use this file in
    12 ** accordance with the Qt Commercial License Agreement provided with the
     9** Commercial Usage
     10** Licensees holding valid licenses may use this file in
     11** accordance with the greement provided with the
    1312** 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.
    1516**
    1617** GNU Lesser General Public License Usage
     
    2223** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2324**
    24 ** In addition, as a special exception, Nokia gives you certain additional
    25 ** rights.  These rights are described in the Nokia Qt LGPL Exception
     25** In addition, as a special exception, ia gives you certain additional
     26** rights.  These rights are described in the ia Qt LGPL Exception
    2627** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2728**
     
    3435** met: http://www.gnu.org/copyleft/gpl.html.
    3536**
    36 ** If you have questions regarding the use of this file, please contact
    37 ** Nokia at [email protected].
     37**
    3838** $QT_END_LICENSE$
    3939**
  • branches/vendor/nokia/qt/current/tools/xmlpatterns/qapplicationargument_p.h

    r844 r1156  
    11/****************************************************************************
    22**
    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
    65**
    76** This file is part of the tools applications of the Qt Toolkit.
    87**
    98** $QT_BEGIN_LICENSE:LGPL$
    10 ** Commercial Usage
    11 ** Licensees holding valid Qt Commercial licenses may use this file in
    12 ** accordance with the Qt Commercial License Agreement provided with the
     9** Commercial Usage
     10** Licensees holding valid licenses may use this file in
     11** accordance with the greement provided with the
    1312** 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.
    1516**
    1617** GNU Lesser General Public License Usage
     
    2223** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2324**
    24 ** In addition, as a special exception, Nokia gives you certain additional
    25 ** rights.  These rights are described in the Nokia Qt LGPL Exception
     25** In addition, as a special exception, ia gives you certain additional
     26** rights.  These rights are described in the ia Qt LGPL Exception
    2627** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2728**
     
    3435** met: http://www.gnu.org/copyleft/gpl.html.
    3536**
    36 ** If you have questions regarding the use of this file, please contact
    37 ** Nokia at [email protected].
     37**
    3838** $QT_END_LICENSE$
    3939**
  • branches/vendor/nokia/qt/current/tools/xmlpatterns/qapplicationargumentparser.cpp

    r844 r1156  
    11/****************************************************************************
    22**
    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
    65**
    76** This file is part of the tools applications of the Qt Toolkit.
    87**
    98** $QT_BEGIN_LICENSE:LGPL$
    10 ** Commercial Usage
    11 ** Licensees holding valid Qt Commercial licenses may use this file in
    12 ** accordance with the Qt Commercial License Agreement provided with the
     9** Commercial Usage
     10** Licensees holding valid licenses may use this file in
     11** accordance with the greement provided with the
    1312** 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.
    1516**
    1617** GNU Lesser General Public License Usage
     
    2223** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2324**
    24 ** In addition, as a special exception, Nokia gives you certain additional
    25 ** rights.  These rights are described in the Nokia Qt LGPL Exception
     25** In addition, as a special exception, ia gives you certain additional
     26** rights.  These rights are described in the ia Qt LGPL Exception
    2627** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2728**
     
    3435** met: http://www.gnu.org/copyleft/gpl.html.
    3536**
    36 ** If you have questions regarding the use of this file, please contact
    37 ** Nokia at [email protected].
     37**
    3838** $QT_END_LICENSE$
    3939**
  • branches/vendor/nokia/qt/current/tools/xmlpatterns/qapplicationargumentparser_p.h

    r844 r1156  
    11/****************************************************************************
    22**
    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
    65**
    76** This file is part of the tools applications of the Qt Toolkit.
    87**
    98** $QT_BEGIN_LICENSE:LGPL$
    10 ** Commercial Usage
    11 ** Licensees holding valid Qt Commercial licenses may use this file in
    12 ** accordance with the Qt Commercial License Agreement provided with the
     9** Commercial Usage
     10** Licensees holding valid licenses may use this file in
     11** accordance with the greement provided with the
    1312** 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.
    1516**
    1617** GNU Lesser General Public License Usage
     
    2223** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2324**
    24 ** In addition, as a special exception, Nokia gives you certain additional
    25 ** rights.  These rights are described in the Nokia Qt LGPL Exception
     25** In addition, as a special exception, ia gives you certain additional
     26** rights.  These rights are described in the ia Qt LGPL Exception
    2627** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2728**
     
    3435** met: http://www.gnu.org/copyleft/gpl.html.
    3536**
    36 ** If you have questions regarding the use of this file, please contact
    37 ** Nokia at [email protected].
     37**
    3838** $QT_END_LICENSE$
    3939**
  • branches/vendor/nokia/qt/current/tools/xmlpatterns/xmlpatterns.pro

    r556 r1156  
    44QT -= gui
    55QT += xmlpatterns
     6
     7
     8
     9
    610
    711target.path = $$[QT_INSTALL_BINS]
Note: See TracChangeset for help on using the changeset viewer.