Add QMultiMap support for Qt.
This commit is contained in:
parent
d168458987
commit
a7c7c9a76c
3 changed files with 80 additions and 2 deletions
5
PySide/QtCore/qmultimap_conversions.h
Normal file
5
PySide/QtCore/qmultimap_conversions.h
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
namespace Shiboken {
|
||||
template<typename KT, typename VT>
|
||||
struct Converter<QMultiMap<KT, VT> > : QtMultiMapConverter<QMap<KT, VT> > {
|
||||
};
|
||||
}
|
||||
|
|
@ -221,7 +221,10 @@
|
|||
<conversion-rule file="qmap_conversions.h"/>
|
||||
<include file-name="QMap" location="global"/>
|
||||
</container-type>
|
||||
<container-type name="QMultiMap" type="multi-map"/>
|
||||
<container-type name="QMultiMap" type="multi-map">
|
||||
<conversion-rule file="qmultimap_conversions.h"/>
|
||||
<include file-name="QMultiMap" location="global"/>
|
||||
</container-type>
|
||||
<container-type name="QPair" type="pair">
|
||||
<conversion-rule file="qpair_conversions.h"/>
|
||||
<include file-name="QPair" location="global"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue