<table><tr><td style="">leinir created this revision.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />leinir requested review of this revision.
</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/D26794">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This is a work in progress for adding support for posting comments<br />
to the KNewStuffCore framework, and cleaning up voting a touch. It<br />
further adds UI for creating said comments to KNSQuick.</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Add signals to fake a virtual function for posting a comment</li>
<li class="remarkup-list-item">Implement comment posting (and userCanVote check)</li>
<li class="remarkup-list-item">Add invokable functions for creating comments (and reviews)</li>
<li class="remarkup-list-item">Add voting function to the quickitemsmodel (and userCanVote role)</li>
<li class="remarkup-list-item">Entry details checks for voting ability</li>
<li class="remarkup-list-item">Don't allow voting from the list view (in the old dialog)</li>
</ul>

<p>This does not strictly require <a href="https://phabricator.kde.org/D25961" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">D25961</a>, but without it this will simply not allow voting and commenting with the attica backend</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R304 KNewStuff</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/D26794">https://phabricator.kde.org/D26794</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/attica/atticaprovider.cpp<br />
src/attica/atticaprovider_p.h<br />
src/core/commentsmodel.cpp<br />
src/core/commentsmodel.h<br />
src/core/provider.h<br />
src/qtquick/quickitemsmodel.cpp<br />
src/qtquick/quickitemsmodel.h<br />
src/ui/entrydetailsdialog.cpp<br />
src/ui/itemsviewdelegate.cpp</div></div></div><br /><div><strong>To: </strong>leinir<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns<br /></div>