aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtMultimedia
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/QtMultimedia
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/QtMultimedia')
-rw-r--r--PySide/QtMultimedia/typesystem_multimedia.xml39
1 files changed, 22 insertions, 17 deletions
diff --git a/PySide/QtMultimedia/typesystem_multimedia.xml b/PySide/QtMultimedia/typesystem_multimedia.xml
index bd0f6adf0..04e064bb1 100644
--- a/PySide/QtMultimedia/typesystem_multimedia.xml
+++ b/PySide/QtMultimedia/typesystem_multimedia.xml
@@ -24,22 +24,19 @@
<rejection class="" function-name="qobject_cast&lt;QAudioEngineFactoryInterface*&gt;"/>
<rejection class="" function-name="qobject_interface_iid&lt;QAudioEngineFactoryInterface*&gt;"/>
- <namespace-type name="QAudio"/>
- <enum-type name="QAudio::Error"/>
- <enum-type name="QAudio::Mode"/>
- <enum-type name="QAudio::State"/>
- <enum-type name="QAbstractVideoBuffer::HandleType"/>
- <enum-type name="QAbstractVideoBuffer::MapMode"/>
- <enum-type name="QAbstractVideoSurface::Error"/>
- <enum-type name="QAudioFormat::Endian"/>
- <enum-type name="QAudioFormat::SampleType"/>
- <enum-type name="QVideoFrame::FieldType"/>
- <enum-type name="QVideoFrame::PixelFormat"/>
- <enum-type name="QVideoSurfaceFormat::Direction"/>
- <enum-type name="QVideoSurfaceFormat::YCbCrColorSpace"/>
+ <namespace-type name="QAudio">
+ <enum-type name="Error"/>
+ <enum-type name="Mode"/>
+ <enum-type name="State"/>
+ </namespace-type>
- <value-type name="QVideoSurfaceFormat"/>
+ <value-type name="QVideoSurfaceFormat">
+ <enum-type name="Direction"/>
+ <enum-type name="YCbCrColorSpace"/>
+ </value-type>
<object-type name="QAbstractVideoBuffer">
+ <enum-type name="HandleType"/>
+ <enum-type name="MapMode"/>
<modify-function signature="map(QAbstractVideoBuffer::MapMode, int*, int*)">
<modify-argument index="0">
<replace-type modified-type="PyObject"/>
@@ -55,10 +52,18 @@
</inject-code>
</modify-function>
</object-type>
- <object-type name="QAbstractVideoSurface"/>
- <object-type name="QVideoFrame"/>
+ <object-type name="QAbstractVideoSurface">
+ <enum-type name="Error"/>
+ </object-type>
+ <object-type name="QVideoFrame">
+ <enum-type name="FieldType"/>
+ <enum-type name="PixelFormat"/>
+ </object-type>
- <value-type name="QAudioFormat"/>
+ <value-type name="QAudioFormat">
+ <enum-type name="Endian"/>
+ <enum-type name="SampleType"/>
+ </value-type>
<value-type name="QAudioDeviceInfo"/>
<object-type name="QAbstractAudioDeviceInfo"/>