diff options
| author | 2015-04-03 14:06:13 +0200 | |
|---|---|---|
| committer | 2015-04-03 14:06:13 +0200 | |
| commit | 37cd4a1ae7c5872dd1b5b7c3b1338b1bbc6a7fc7 (patch) | |
| tree | 99f1a20f6b604fe6f5fdd4fe2254ca4ebfd2b136 | |
| parent | Don't be dumb on windows. (diff) | |
| download | qtscriptgenerator-37cd4a1ae7c5872dd1b5b7c3b1338b1bbc6a7fc7.tar.xz qtscriptgenerator-37cd4a1ae7c5872dd1b5b7c3b1338b1bbc6a7fc7.zip | |
Add QFileDevice for closing QFiles
| -rw-r--r-- | generator/typesystem_core-common.xml | 4 | ||||
| -rw-r--r-- | generator/typesystem_core-qtscript.xml | 4 | ||||
| -rw-r--r-- | generator/typesystem_core.xml | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/generator/typesystem_core-common.xml b/generator/typesystem_core-common.xml index 8055771..e906f6b 100644 --- a/generator/typesystem_core-common.xml +++ b/generator/typesystem_core-common.xml @@ -961,6 +961,10 @@ <modify-function signature="unmap(uchar*)" remove="all" /> <!-- Can't provide same API and performance --> </object-type> + <object-type name="QFileDevice"> + <modify-function signature="map(qint64,qint64,QFile::MemoryMapFlags)" remove="all"/> + <modify-function signature="unmap(uchar*)" remove="all"/> + </object-type> <object-type name="QIODevice"/> <object-type name="QStateMachine::SignalEvent" polymorphic-id-expression="%1->type() == QEvent::Signal" /> diff --git a/generator/typesystem_core-qtscript.xml b/generator/typesystem_core-qtscript.xml index 6254140..05879c9 100644 --- a/generator/typesystem_core-qtscript.xml +++ b/generator/typesystem_core-qtscript.xml @@ -592,6 +592,10 @@ <modify-function signature="map(qint64,qint64,QFile::MemoryMapFlags)" remove="all"/> <modify-function signature="unmap(uchar*)" remove="all"/> </object-type> + <object-type name="QFileDevice"> + <modify-function signature="map(qint64,qint64,QFile::MemoryMapFlags)" remove="all"/> + <modify-function signature="unmap(uchar*)" remove="all"/> + </object-type> <object-type name="QSignalMapper"> <!-- ### overloads --> diff --git a/generator/typesystem_core.xml b/generator/typesystem_core.xml index 309c04f..f01e628 100644 --- a/generator/typesystem_core.xml +++ b/generator/typesystem_core.xml @@ -1468,6 +1468,10 @@ <modify-function signature="map(qint64,qint64,QFile::MemoryMapFlags)" remove="all"/> <modify-function signature="unmap(uchar*)" remove="all"/> </object-type> + <object-type name="QFileDevice"> + <modify-function signature="map(qint64,qint64,QFile::MemoryMapFlags)" remove="all"/> + <modify-function signature="unmap(uchar*)" remove="all"/> + </object-type> <object-type name="QIODevice"> <modify-function signature="peek(char *,qint64)" remove="all"/> |
