[PyQt] Missing ownership transfer in QStandardItem
Marius Kintel
kintel at sim.no
Wed Feb 6 11:18:53 GMT 2008
Hi,
I think some of the wrapped methods of QStandardItem miss the
ownership transfer, e.g.:
qstandarditemmodel.sip:274:
%If (Qt_4_3_0 -)
void insertRows(int row, const QList<QStandardItem*> &items);
%End
%If (Qt_4_3_0 -)
void appendRows(const QList<QStandardItem*> &aitems);
%End
Adding a /Transfer/ to these seem to fix my immediate issues. I guess
the same might go for similar methods added in Qt-4.3.
~/= Marius
--
We are Elektropeople for a better living.
More information about the PyQt
mailing list