Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KNotes
Commits
7f6700dd
Commit
7f6700dd
authored
Nov 07, 2022
by
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
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
7f6700dd
...
...
@@ -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.4
0
"
)
set
(
PIMCOMMON_LIB_VERSION
"5.21.4
2
"
)
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
)
...
...
noteshared/src/CMakeLists.txt
View file @
7f6700dd
...
...
@@ -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
)
...
...
noteshared/src/editor/noteeditor.cpp
View file @
7f6700dd
...
...
@@ -4,12 +4,12 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include
"noteeditor.h"
#include
<PimCommon/RichTexteditWithAutoCorrection>
#include
<PimCommon
AutoCorrection
/RichTexteditWithAutoCorrection>
using
namespace
NoteShared
;
NoteEditor
::
NoteEditor
(
QWidget
*
parent
)
:
KPIMTextEdit
::
RichTextEditorWidget
(
new
PimCommon
::
RichTextEditWithAutoCorrection
(
parent
))
:
KPIMTextEdit
::
RichTextEditorWidget
(
new
PimCommon
AutoCorrection
::
RichTextEditWithAutoCorrection
(
parent
))
{
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment