[Interest] Best practice for properties, QAbstractListModel with a QList<QObject*> and a Quick2 view

Martin Koller kollix at aon.at
Thu Dec 19 17:16:25 CET 2013


On Thursday 19 December 2013 16:53:31 Jan Kundrát wrote:
> On Thursday, 19 December 2013 16:34:01 CEST, Martin Koller wrote:
> > beginRemoveRows(... row1, row1);
> > beginRemoveRows(... row17, row17);
> > ...
> > endRemoveRows();
> > endRemoveRows();
> 
> You cannot do this.

I'm curious: do you know why the implementation of beginRemoveRows() uses a QStack/push() then ?

-- 
Best regards/Schöne Grüße

Martin
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?

()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments

Geschenkideen, Accessoires, Seifen, Kulinarisches: www.bibibest.at



More information about the Interest mailing list