D29044: [KJots] Port deprecated code
Igor Poboiko
noreply at phabricator.kde.org
Tue Apr 21 11:37:24 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
1. Ported deprecated `QPersistentModelIndex::child` to `QAbstractItemModel::index`;
2. Ported deprecated `KActionCollection::pasteText` to `paste`;
3. Ported `QStatusBar::addItem/changeItem` to `QStatusBar::showMessage/clearMessage` (for links)
4. Removed ancient `akonadi_next/note.cpp`, which only held mimetype (`Akonadi/Notes/NoteUtils` has it);
TEST PLAN
1. Just select a book or even a resource -> preview is shown for the whole book
2. Both `Ctrl+V` and menu action works fine
3. Hovering the text cursor over links shows destination again
4. `make`
REPOSITORY
R573 KJots
BRANCH
deprecated-methods (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D29044
AFFECTED FILES
src/KJotsMain.cpp
src/akonadi_next/CMakeLists.txt
src/akonadi_next/note.cpp
src/akonadi_next/note.h
src/kjotsmodel.cpp
src/kjotswidget.cpp
src/localresourcecreator.cpp
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/20200421/25a3d12c/attachment-0001.html>
More information about the kde-pim
mailing list