summaryrefslogtreecommitdiffstats
path: root/PySide/QtSql
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-09-21 09:32:02 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2010-09-23 09:03:06 -0300
commit8048bd0c3bcdb1de33aa69d961402b355d6b07af (patch)
tree15c736c2180185e1940daf58c9c611abda42a306 /PySide/QtSql
parentbf4b2c7660adc99b6a8b83748787f0ea078ad13b (diff)
Modified the type system files to make use of nested type declarations.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Ara├║jo <renato.filho@openbossa.org>
Diffstat (limited to 'PySide/QtSql')
-rw-r--r--PySide/QtSql/typesystem_sql.xml33
1 files changed, 17 insertions, 16 deletions
diff --git a/PySide/QtSql/typesystem_sql.xml b/PySide/QtSql/typesystem_sql.xml
index 40beff04..f7c53253 100644
--- a/PySide/QtSql/typesystem_sql.xml
+++ b/PySide/QtSql/typesystem_sql.xml
@@ -26,6 +26,10 @@
<rejection class="QSqlDriverFactoryInterface"/>
<namespace-type name="QSql">
+ <enum-type name="Location"/>
+ <enum-type name="ParamTypeFlag" flags="QSql::ParamType"/>
+ <enum-type name="TableType"/>
+ <enum-type name="NumericalPrecisionPolicy"/>
<extra-includes>
<include file-name="QtSql/qsql.h" location="global"/>
</extra-includes>
@@ -54,6 +58,7 @@
</value-type>
<value-type name="QSqlQuery">
+ <enum-type name="BatchExecutionMode"/>
<extra-includes>
<include file-name="QSqlError" location="global"/>
<include file-name="QSqlRecord" location="global"/>
@@ -78,7 +83,9 @@
<modify-function signature="append(QSqlField)" access="non-final"/>
</value-type>
- <value-type name="QSqlError" />
+ <value-type name="QSqlError">
+ <enum-type name="ErrorType"/>
+ </value-type>
<value-type name="QSqlIndex" />
@@ -86,9 +93,14 @@
<object-type name="QSqlRelationalDelegate"/>
- <value-type name="QSqlField" />
+ <value-type name="QSqlField">
+ <enum-type name="RequiredStatus"/>
+ </value-type>
<object-type name="QSqlDriver">
+ <enum-type name="DriverFeature"/>
+ <enum-type name="IdentifierType"/>
+ <enum-type name="StatementType"/>
<extra-includes>
<include file-name="QSqlQuery" location="global"/>
<include file-name="QSqlError" location="global"/>
@@ -122,6 +134,8 @@
</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"/>
@@ -139,6 +153,7 @@
<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"/>
@@ -151,18 +166,4 @@
</extra-includes>
</object-type>
- <enum-type name="QSql::Location"/>
- <enum-type name="QSql::ParamTypeFlag" flags="QSql::ParamType"/>
- <enum-type name="QSql::TableType"/>
- <enum-type name="QSql::NumericalPrecisionPolicy"/>
- <enum-type name="QSqlDriver::DriverFeature"/>
- <enum-type name="QSqlDriver::IdentifierType"/>
- <enum-type name="QSqlDriver::StatementType"/>
- <enum-type name="QSqlError::ErrorType"/>
- <enum-type name="QSqlField::RequiredStatus"/>
- <enum-type name="QSqlQuery::BatchExecutionMode"/>
- <enum-type name="QSqlResult::BindingSyntax"/>
- <enum-type name="QSqlResult::VirtualHookOperation"/>
- <enum-type name="QSqlTableModel::EditStrategy"/>
-
</typesystem>