[PyQt] QtCore.QAbstractItemModel.beginMoveRows missing in pyqt 4.7.3?

Jake Richards blaven at gmail.com
Tue Nov 27 20:39:58 GMT 2012

  At work, we've got pyqt 4.7.3 installed on our linux boxes.  While trying
to subclass a QAbstractItemModel, I've found that it doesn't seem to have a
beginMoveRows or endMoveRows.  Here is some terminal output:

>>> QtCore.QAbstractItemModel.beginMoveRows
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: type object 'QAbstractItemModel' has no attribute

The docs I have say it was added in version 4.6 but for some reason I can't
find it here at work.  If I need to reimplement this functions, is it

#change internal list of data
#do something with changePersistentIndex


What exactly do I need to do with changePersistentIndex?
Thank you!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20121127/5638f7e7/attachment.html>

More information about the PyQt mailing list