Now PageModel::addItem can receive a parent index

Authored by ervin.

Description

Now PageModel::addItem can receive a parent index

Summary:
This new parameter is ignored for notes, but in case of tasks it allows
to directly create child tasks. PageView is also adjusted to pass a
valid parentIndex only if a single item is selected in the central view.

Reviewers: bensi, franckarrecot

Differential Revision: https://phabricator.kde.org/D609

Details

Committed
ervinNov 27 2015, 10:06 PM
Differential Revision
D609: Now PageModel::addItem can receive a parent index
Parents
R4:659b53a62827: Add TaskRepository::createChild()
Branches
Unknown
Tags
Unknown