Re: TaskManager::TasksModel

2011-03-11 Thread Aaron J. Seigo
On Friday, March 11, 2011, Aaron J. Seigo wrote: > > also, needs that each role has a name with setRoleNames > > i will add this immediately and then merge... cheers. done ... -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core

Re: TaskManager::TasksModel

2011-03-10 Thread Aaron J. Seigo
On Thursday, March 10, 2011, Marco Martin wrote: > On Wed, Mar 9, 2011 at 3:26 PM, Aaron J. Seigo > > > this will come down to whatever is most convenient for the QML: one > > QModelIndex with multiple display roles, or multiple QModelIndexes with > > the same row # but each containing a different

Re: TaskManager::TasksModel

2011-03-10 Thread Marco Martin
On Wed, Mar 9, 2011 at 3:26 PM, Aaron J. Seigo > this will come down to whatever is most convenient for the QML: one > QModelIndex with multiple display roles, or multiple QModelIndexes with the > same row # but each containing a different bit of data for the window. > > Marco: do you have any thou

Re: TaskManager::TasksModel

2011-03-09 Thread Aaron J. Seigo
On Monday, March 7, 2011, Aaron J. Seigo wrote: > i just pushed a new branch to kde-workspace called plasma/tasksmodel. i think the model is pretty well complete at this point. the main question i have remaining is whether or not the various bits of data for each task entry should be one index i

Re: TaskManager::TasksModel

2011-03-08 Thread Marco Martin
On Monday 07 March 2011, Aaron J. Seigo wrote: > hi all.. > > i just pushed a new branch to kde-workspace called plasma/tasksmodel. > > given a TaskManager::GroupManager it creates a QAbstractItemModel with the > items in it. i have some more improvements planned for tomorrow (right now > it's a

TaskManager::TasksModel

2011-03-07 Thread Aaron J. Seigo
hi all.. i just pushed a new branch to kde-workspace called plasma/tasksmodel. given a TaskManager::GroupManager it creates a QAbstractItemModel with the items in it. i have some more improvements planned for tomorrow (right now it's a little inneficient given that it reloads the whole model wh