Commit 7f6700dd authored by Laurent Montel's avatar Laurent Montel
Browse files

Adapt to new api

(cherry picked from commit 35166f31)
parent b852814c
Pipeline #263678 passed with stage
in 3 minutes and 5 seconds
......@@ -56,7 +56,7 @@ set(KONTACTINTERFACE_LIB_VERSION "5.21.40")
set(KPIMTEXTEDIT_LIB_VERSION "5.21.40")
set(LIBKDEPIM_LIB_VERSION "5.21.40")
set(KMIME_LIB_VERSION "5.21.40")
set(PIMCOMMON_LIB_VERSION "5.21.40")
set(PIMCOMMON_LIB_VERSION "5.21.42")
set(GRANTLEETHEME_LIB_VERSION "5.21.40")
set(AKONADI_SEARCH_VERSION "5.21.40")
......@@ -101,6 +101,7 @@ find_package(KF5KontactInterface ${KONTACTINTERFACE_LIB_VERSION} CONFIG REQUIRED
find_package(KF5Libkdepim ${LIBKDEPIM_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5Mime ${KMIME_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5PimCommonAkonadi ${PIMCOMMON_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5PimCommonAutoCorrection ${PIMCOMMON_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5PimTextEdit ${KPIMTEXTEDIT_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5GrantleeTheme ${GRANTLEETHEME_LIB_VERSION} CONFIG REQUIRED)
......
......@@ -88,7 +88,7 @@ target_link_libraries(notesharedprivate
PUBLIC
KF5::AkonadiCore
PRIVATE
KF5::DNSSD KF5::PimCommon KF5::Mime KF5::AkonadiNotes KF5::PimTextEdit KF5::Completion Qt::DBus KF5::I18n KF5::AkonadiWidgets
KF5::DNSSD KF5::PimCommon KF5::Mime KF5::AkonadiNotes KF5::PimTextEdit KF5::Completion Qt::DBus KF5::I18n KF5::AkonadiWidgets KF5::PimCommonAutoCorrection
)
......
......@@ -4,12 +4,12 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "noteeditor.h"
#include <PimCommon/RichTexteditWithAutoCorrection>
#include <PimCommonAutoCorrection/RichTexteditWithAutoCorrection>
using namespace NoteShared;
NoteEditor::NoteEditor(QWidget *parent)
: KPIMTextEdit::RichTextEditorWidget(new PimCommon::RichTextEditWithAutoCorrection(parent))
: KPIMTextEdit::RichTextEditorWidget(new PimCommonAutoCorrection::RichTextEditWithAutoCorrection(parent))
{
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment