File Fix-akonadi-includes.patch of Package kjots
From b9d91006eb3ca1c6e495d0f3d1cc32775a26538c Mon Sep 17 00:00:00 2001
From: Nicolas Fella <nicolas.fella@gmx.de>
Date: Tue, 1 Mar 2022 23:33:19 +0100
Subject: [PATCH] Fix akonadi includes
---
src/kjotsmodel.cpp | 2 +-
src/kjotswidget.cpp | 2 +-
src/noteshared/notecreatorandselector.cpp | 2 +-
src/noteshared/standardnoteactionmanager.cpp | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/kjotsmodel.cpp b/src/kjotsmodel.cpp
index 99ee14f..48997a4 100644
--- a/src/kjotsmodel.cpp
+++ b/src/kjotsmodel.cpp
@@ -21,7 +21,7 @@
#include <AkonadiCore/ChangeRecorder>
#include <AkonadiCore/EntityDisplayAttribute>
#endif
-#include <Akonadi/Notes/NoteUtils>
+#include <Akonadi/NoteUtils>
#include <KMime/Message>
#include <KPIMTextEdit/TextUtils>
diff --git a/src/kjotswidget.cpp b/src/kjotswidget.cpp
index 834fc33..bb4d018 100644
--- a/src/kjotswidget.cpp
+++ b/src/kjotswidget.cpp
@@ -34,7 +34,7 @@
#include <QDebug>
// Akonadi
-#include <Akonadi/Notes/NoteUtils>
+#include <Akonadi/NoteUtils>
#include <akonadi_version.h>
#if AKONADI_VERSION >= QT_VERSION_CHECK(5, 18, 41)
#include <Akonadi/AttributeFactory>
diff --git a/src/noteshared/notecreatorandselector.cpp b/src/noteshared/notecreatorandselector.cpp
index 6d58c83..7518deb 100644
--- a/src/noteshared/notecreatorandselector.cpp
+++ b/src/noteshared/notecreatorandselector.cpp
@@ -24,7 +24,7 @@
#include <AkonadiCore/EntityTreeModel>
#include <AkonadiCore/ItemCreateJob>
#endif
-#include <Akonadi/Notes/NoteUtils>
+#include <Akonadi/NoteUtils>
#include "noteshared_debug.h"
diff --git a/src/noteshared/standardnoteactionmanager.cpp b/src/noteshared/standardnoteactionmanager.cpp
index 2a2f4ce..692b8a2 100644
--- a/src/noteshared/standardnoteactionmanager.cpp
+++ b/src/noteshared/standardnoteactionmanager.cpp
@@ -25,7 +25,7 @@
#include <AkonadiCore/CollectionModifyJob>
#include <AkonadiCore/ItemModifyJob>
#endif
-#include <Akonadi/Notes/NoteUtils>
+#include <Akonadi/NoteUtils>
#include <KXmlGui/KActionCollection>
#include <KLocalizedString>
--
GitLab