Add convenience method to get a persistent model index from TasksModel
ClosedPublic

Authored by davidedmundson on Mar 5 2018, 2:17 PM.

Details

Summary

Used in the minimizeAll plasmoid (see D10019)

Test Plan

Used in applet

Diff Detail

Repository
R120 Plasma Workspace
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
davidedmundson created this revision.Mar 5 2018, 2:17 PM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 5 2018, 2:17 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson requested review of this revision.Mar 5 2018, 2:17 PM
Zren added a subscriber: Zren.Mar 5 2018, 2:47 PM

Typo. You only have 1 "s" in persistent there.

                        makePeristentModelndex
                           QPersistentModelIndex
clients.push(tasksModel.makePersistentModelIndex(i)); // minimizeall
broulik added a subscriber: broulik.Mar 5 2018, 6:24 PM
broulik added inline comments.
libtaskmanager/tasksmodel.h
823

Per*s*istent

hein accepted this revision.Mar 6 2018, 9:50 AM
This revision is now accepted and ready to land.Mar 6 2018, 9:50 AM
This revision was automatically updated to reflect the committed changes.