diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-05-22 16:44:51 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-05-22 18:22:49 +0200 |
commit | 427c7147d23fa21c6e8bd08407b1badc48b49c3c (patch) | |
tree | d2742c7ffdfa167bcf6e68f06ce7524bc441102d /sources/pyside2/PySide2/QtSql/typesystem_sql.xml | |
parent | 4ec9cfa3c6b895c0cf50227c189cfa542de88b64 (diff) |
move everying into sources/pyside2 (5.9 edition)
in preparation for a subtree merge.
this should not be necessary to do in a separate commit, but git is a
tad stupid about following history correctly without it.
Diffstat (limited to 'sources/pyside2/PySide2/QtSql/typesystem_sql.xml')
-rw-r--r-- | sources/pyside2/PySide2/QtSql/typesystem_sql.xml | 197 |
1 files changed, 197 insertions, 0 deletions
diff --git a/sources/pyside2/PySide2/QtSql/typesystem_sql.xml b/sources/pyside2/PySide2/QtSql/typesystem_sql.xml new file mode 100644 index 000000000..b3d4f2837 --- /dev/null +++ b/sources/pyside2/PySide2/QtSql/typesystem_sql.xml @@ -0,0 +1,197 @@ +<?xml version="1.0"?> +<!-- +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of PySide2. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ +--> +<typesystem package="PySide2.QtSql"> + <load-typesystem name="typesystem_widgets.xml" generate="no"/> + + <rejection class="QSqlDriverCreator"/> + <rejection class="QSqlDriverPlugin"/> + <rejection class="QSqlDriverFactoryInterface"/> + + <namespace-type name="QSql"> + <enum-type name="Location"/> + <enum-type name="ParamTypeFlag" flags="ParamType"/> + <enum-type name="TableType"/> + <enum-type name="NumericalPrecisionPolicy"/> + <extra-includes> + <include file-name="QtSql/qsql.h" location="global"/> + </extra-includes> + </namespace-type> + + <value-type name="QSqlDatabase"> + <extra-includes> + <include file-name="QSqlQuery" location="global"/> + <include file-name="QSqlError" location="global"/> + <include file-name="QSqlIndex" location="global"/> + <include file-name="QSqlRecord" location="global"/> + <include file-name="QStringList" location="global"/> + <include file-name="QSize" location="global"/> + </extra-includes> + <modify-function signature="exec(QString)const" rename="exec_" allow-thread="yes" /> + <modify-function signature="open()" allow-thread="yes" /> + <modify-function signature="open(const QString&, const QString&)" allow-thread="yes" /> + <modify-function signature="commit()" allow-thread="yes" /> + <modify-function signature="rollback()" allow-thread="yes" /> + <modify-function signature="transaction()" allow-thread="yes" /> + <modify-function signature="registerSqlDriver(const QString &, QSqlDriverCreatorBase*)"> + <modify-argument index="2"> + <define-ownership owner="c++"/> + </modify-argument> + </modify-function> + </value-type> + + <value-type name="QSqlQuery"> + <enum-type name="BatchExecutionMode"/> + <extra-includes> + <include file-name="QSqlError" location="global"/> + <include file-name="QSqlRecord" location="global"/> + <include file-name="QStringList" location="global"/> + <include file-name="QSize" location="global"/> + </extra-includes> + <modify-function signature="exec()" rename="exec_" allow-thread="yes" /> + <modify-function signature="exec(const QString &)" rename="exec_" allow-thread="yes" /> + <modify-function signature="prepare(const QString&)" allow-thread="yes" /> + <modify-function signature="clear()" allow-thread="yes" /> + <modify-function signature="last()" allow-thread="yes" /> + <modify-function signature="first()" allow-thread="yes" /> + <modify-function signature="previous()" allow-thread="yes" /> + <modify-function signature="next()" allow-thread="yes" /> + <modify-function signature="seek(int,bool)" allow-thread="yes" /> + </value-type> + + <value-type name="QSqlRecord"> + <extra-includes> + <include file-name="QSqlField" location="global"/> + </extra-includes> + <modify-function signature="append(QSqlField)" access="non-final"/> + </value-type> + + <value-type name="QSqlError"> + <enum-type name="ErrorType"/> + </value-type> + + <value-type name="QSqlIndex" /> + + <value-type name="QSqlRelation"/> + + <object-type name="QSqlRelationalDelegate"/> + + <value-type name="QSqlField"> + <enum-type name="RequiredStatus"/> + </value-type> + + <object-type name="QSqlDriver"> + <enum-type name="DbmsType" /> + <enum-type name="DriverFeature"/> + <enum-type name="IdentifierType"/> + <enum-type name="NotificationSource" /> + <enum-type name="StatementType"/> + <extra-includes> + <include file-name="QSqlQuery" location="global"/> + <include file-name="QSqlError" location="global"/> + <include file-name="QSqlIndex" location="global"/> + <include file-name="QSqlRecord" location="global"/> + <include file-name="QStringList" location="global"/> + <include file-name="QSize" location="global"/> + </extra-includes> + <modify-function signature="beginTransaction()" allow-thread="yes" /> + <modify-function signature="commitTransaction()" allow-thread="yes" /> + <modify-function signature="rollbackTransaction()" allow-thread="yes" /> + <modify-function signature="open(const QString &, const QString&, const QString&, const QString&, int, const QString&)" allow-thread="yes" /> + <!-- ### This is too low level for Python, and pointer would be useless for the Python programmer --> + <modify-function signature="handle() const" remove="all"/> + <!-- ### --> + </object-type> + + <object-type name="QSqlQueryModel"> + <modify-function signature="indexInQuery(QModelIndex)const" access="non-final"/> + <modify-function signature="setQuery(QSqlQuery)" access="non-final"/> + <extra-includes> + <include file-name="QSqlError" location="global"/> + <include file-name="QSqlQuery" location="global"/> + <include file-name="QSqlRecord" location="global"/> + <include file-name="QStringList" location="global"/> + <include file-name="QSize" location="global"/> + </extra-includes> + </object-type> + <object-type name="QSqlRelationalTableModel"> + <enum-type name="JoinMode" /> + <extra-includes> + <include file-name="QStringList" location="global"/> + <include file-name="QSize" location="global"/> + </extra-includes> + </object-type> + <object-type name="QSqlResult"> + <enum-type name="BindingSyntax"/> + <enum-type name="VirtualHookOperation"/> + <extra-includes> + <include file-name="QSqlError" location="global"/> + <include file-name="QSqlQuery" location="global"/> + <include file-name="QSqlRecord" location="global"/> + <include file-name="QStringList" location="global"/> + <include file-name="QSize" location="global"/> + </extra-includes> + <!-- ### This isn't part of Qt public API --> + <modify-function signature="virtual_hook(int,void*)" remove="all" /> + <!-- ### --> + <modify-function signature="exec()" rename="exec_" allow-thread="yes" /> + <modify-function signature="fetchLast()" allow-thread="yes" /> + <modify-function signature="fetchFirst()" allow-thread="yes" /> + <modify-function signature="fetchNext()" allow-thread="yes" /> + <modify-function signature="fetchPrevious()" allow-thread="yes" /> + <modify-function signature="fetch(int)" allow-thread="yes" /> + <modify-function signature="prepare(QString)" allow-thread="yes" /> + </object-type> + <object-type name="QSqlTableModel"> + <enum-type name="EditStrategy"/> + <extra-includes> + <include file-name="QSqlIndex" location="global"/> + <include file-name="QStringList" location="global"/> + <include file-name="QSize" location="global"/> + </extra-includes> + </object-type> + <object-type name="QSqlDriverCreatorBase"> + <extra-includes> + <include file-name="QSqlDriver" location="global"/> + </extra-includes> + </object-type> + +</typesystem> |