QPersistentModelIndex now have the same implementation of internalPointer of QModelIndex.
This commit is contained in:
parent
13a6cba842
commit
ae2019a4da
1 changed files with 10 additions and 2 deletions
|
|
@ -912,8 +912,16 @@
|
||||||
</extra-includes>
|
</extra-includes>
|
||||||
</value-type>
|
</value-type>
|
||||||
<value-type name="QPersistentModelIndex">
|
<value-type name="QPersistentModelIndex">
|
||||||
<modify-function signature="internalPointer()const" remove="all"/>
|
<modify-function signature="internalPointer()const">
|
||||||
<modify-function signature="operator const QModelIndex&()const" remove="all" /> <!-- FIXME Removed due to a shiboken bug-->
|
<inject-code class="target" position="beginning">
|
||||||
|
%PYARG_0 = (PyObject*)%CPPSELF.%FUNCTION_NAME();
|
||||||
|
if (!%PYARG_0)
|
||||||
|
%PYARG_0 = Py_None;
|
||||||
|
Py_XINCREF(%PYARG_0);
|
||||||
|
</inject-code>
|
||||||
|
</modify-function>
|
||||||
|
<!-- FIXME Removed due to a shiboken bug-->
|
||||||
|
<modify-function signature="operator const QModelIndex&()const" remove="all" />
|
||||||
</value-type>
|
</value-type>
|
||||||
<value-type name="QUuid">
|
<value-type name="QUuid">
|
||||||
<enum-type name="Variant"/>
|
<enum-type name="Variant"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue