[Qt-interest] Data has to be valid on rowsAboutToBeRemoved?
Emil Eriksson
shadewind at gmail.com
Fri May 15 18:26:35 CEST 2009
Hello!
Is it required that the data (retrieved by data()) is valid when
beginRemoveRows is called or is it only required that the model states
that there ARE rows?
I don't know if you understand what I mean, but I'm wondering if an
object can remove itself in its destructor. This means that when
beginRemovRows is called,
part of the object is already destroyed but it is still there in the model.
Please ask if you don't understand :)
//Emil Eriksson
More information about the Qt-interest-old
mailing list