TaskManager::TasksModel

Aaron J. Seigo aseigo at kde.org
Fri Mar 11 08:52:19 CET 2011


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 bit of data for the
> > window.
> > 
> > Marco: do you have any thoughts on this?
> 
> it's quite painful (altough not impossible) to use models with
> multiple columns in qml, the easiest way ime is to have a single
> column with a role for each type of data (yes, the model becomes very
> much a glorified list of variantmaps ;)

heh.. ok, good to know.

> also, needs that each role has a name with setRoleNames

i will add this immediately and then merge... cheers.

> > also, if there are no objections, i'll be merging the branch into master
> > in the next day or so.
> 
> +1 ;)
> 
> the applet using it will have its own branch i guess?

i think it should, yes.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20110311/25c092bf/attachment.sig 


More information about the Plasma-devel mailing list