<table><tr><td style="">mart updated this revision to Diff 29595.<br />mart added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D11333">View Revision</a></tr></table><br /><div><div><p>approach with a model</p>

<p>a possible approach is this: a model with all the activities that map to<br />
items, but i don't like this, because it's pretty much duplicating the<br />
activity model present in kactivities with a worse version.</p>

<p>another approach i'll try shortly, is to just have a list property<br />
of all possible containments and then it's a problem of the qml part to<br />
find the right ones for the right activities</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D11333?vs=29513&id=29595">https://phabricator.kde.org/D11333?vs=29513&id=29595</a></div></div><br /><div><strong>BRANCH</strong><div><div>mart/containmentPreview</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D11333">https://phabricator.kde.org/D11333</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>shell/desktopview.cpp<br />
shell/desktopview.h<br />
shell/shellcorona.cpp<br />
shell/shellcorona.h</div></div></div><br /><div><strong>To: </strong>mart, Plasma, davidedmundson<br /><strong>Cc: </strong>davidedmundson, plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>