<table><tr><td style="">dfaure created this revision.<br />dfaure added reviewers: dvratil, mlaurent.<br />Restricted Application added a project: KDE PIM.
</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/D8883" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>In order to use an EOPM on top of the favorites model, we need<br />
the config key to be fixed (e.g. "0") rather than "the parent<br />
collection" in ETM, since the favorites are a flat list of individually<br />
picked collection, with a different parent in ETM. We want a single<br />
order. So the new virtual parentCollection is reimplemented in a new<br />
proxy derived class in mailcommon, for ordering favorites.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>With the mailcommon and kmail patches on top of this,<br />
I can reorder favorites using drag-n-drop and the order is persisted.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R165 Akonadi </div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8883" rel="noreferrer">https://phabricator.kde.org/D8883</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/core/models/entityorderproxymodel.cpp<br />
src/core/models/entityorderproxymodel.h</div></div></div><br /><div><strong>To: </strong>dfaure, dvratil, mlaurent<br /><strong>Cc: </strong>KDE PIM, dvasin, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>