D29217: [KJots] Port to NoteMessageWrapper

Igor Poboiko noreply at phabricator.kde.org
Sun Apr 26 23:00:38 BST 2020


poboiko created this revision.
poboiko added a reviewer: dvratil.
Herald added a project: KDE PIM.
poboiko requested review of this revision.

REVISION SUMMARY
  Drop code that interacts directly with `KMime::Message`, and use handy `NoteUtils::NoteMessageWrapper` instead.
  It also allows setting of `lastModifiedDate` (which will become useful useful as sort role).
  Also, drop `DocumentCursorPositionRole` role for model, which is not used anywhere.
  
  Note that there is large code overlap between `NoteCreatorAndSelector` and `LocalResourceCreator`.
  Will do something with it in the following patches.

TEST PLAN
  Code compiles, new books / pages are still created

REPOSITORY
  R573 KJots

BRANCH
  noteutils (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D29217

AFFECTED FILES
  src/akonadi_next/notecreatorandselector.cpp
  src/kjotsmodel.cpp
  src/kjotsmodel.h
  src/localresourcecreator.cpp
  src/localresourcecreator.h

To: poboiko, dvratil
Cc: kde-pim, fbampaloukas, dcaliste, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20200426/e4b0c86d/attachment.html>


More information about the kde-pim mailing list