[Kde-pim] Review Request: Enable determination of ETM populated status for collections and items
David Jarvie
djarvie at kde.org
Wed Aug 29 21:50:55 BST 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105457/
-----------------------------------------------------------
(Updated Aug. 29, 2012, 8:50 p.m.)
Review request for KDEPIM-Libraries and Stephen Kelly.
Changes
-------
Now uses isPopulatedRole instead of isPopulated()
Description
-------
Provide methods to determine whether the collection tree has been fetched at model initialisation, and whether individual collections have been populated. Also provide signals when the collection tree has been fetched, and when each collection has been populated.
This will enable applications to wait until the model is fully populated before doing things which rely on this.
Diffs (updated)
-----
akonadi/entitytreemodel.h 3de59bc
akonadi/entitytreemodel.cpp c372ac6
akonadi/entitytreemodel_p.h 266cea9
akonadi/entitytreemodel_p.cpp 2234ae5
Diff: http://git.reviewboard.kde.org/r/105457/diff/
Testing
-------
Used in KAlarm. All the signals are emitted, and the methods work - checked both by behaviour and by temporary debug statements.
Thanks,
David Jarvie
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list