[KJots] Port deprecated code
Summary:
- Ported deprecated QPersistentModelIndex::child to QAbstractItemModel::index;
- Ported deprecated KActionCollection::pasteText to paste;
- Ported QStatusBar::addItem/changeItem to QStatusBar::showMessage/clearMessage (for links)
- Removed ancient akonadi_next/note.cpp, which only held mimetype (Akonadi/Notes/NoteUtils has it);
Test Plan:
- Just select a book or even a resource -> preview is shown for the whole book
- Both Ctrl+V and menu action works fine
- Hovering the text cursor over links shows destination again
- make
Reviewers: dvratil
Reviewed By: dvratil
Subscribers: pino, kde-pim
Tags: KDE PIM
Differential Revision: https://phabricator.kde.org/D29044