Questions about models in NotificationDelegate.qml

Christoph Feck christoph at maxiom.de
Tue Aug 27 11:57:00 UTC 2013


Hi,

Looking at the NotificationDelegate.qml file, I see several lines that 
say "notificationsModel.remove(index)", fired from timers, running 
animations etc.

Do QML models automatically make sure the index is still valid, in 
other words, when e.g. the timer fires delayed, and another item has 
been added or removed in the meantime, is the index updated 
accordingly? Or worse, if the item has been removed for other reasons, 
is the timer/animation automatically cancelled so that remove() is not 
called again?

Christoph Feck (kdepepo)


More information about the Plasma-devel mailing list