From c33ed054b59dbf8ef75842cf0665afb2dff7357d Mon Sep 17 00:00:00 2001 From: Igor Poboiko Date: Tue, 19 May 2020 00:43:47 +0300 Subject: [PATCH 1/2] Export RichTextEditFindBar headers The PlainTextEditFindBar is already exported, just do the same for RichTextEditFindBar. I am currently porting KJots to KPIMTextEdit, as it seems to be much nicer compared to KTextWidgets. One of the features I like is inline search, which I would like to have both for KJotsEdit (which can be RichTextComposer) and KJotsBrowser (which is QTextBrowser). Since QTextBrowser is a subclass of QTextEdit, having RichTextEditFindBar there would be useful :) --- src/CMakeLists.txt | 1 + src/texteditor/richtexteditor/richtexteditfindbar.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4fab18f..11d0c50 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -145,6 +145,7 @@ ecm_generate_headers(PimCommon_CamelCasetextrichtexteditor_HEADERS HEADER_NAMES RichTextEditorWidget RichTextEditor + RichTextEditFindBar REQUIRED_HEADERS PimCommon_richtexteditor_HEADERS PREFIX KPIMTextEdit RELATIVE texteditor/richtexteditor diff --git a/src/texteditor/richtexteditor/richtexteditfindbar.h b/src/texteditor/richtexteditor/richtexteditfindbar.h index 1f8e643..5341c63 100644 --- a/src/texteditor/richtexteditor/richtexteditfindbar.h +++ b/src/texteditor/richtexteditor/richtexteditfindbar.h @@ -21,7 +21,7 @@ #define RICHTEXTEDITFINDBAR_H #include "kpimtextedit_export.h" -#include "texteditor/commonwidget/texteditfindbarbase.h" +#include "kpimtextedit/texteditfindbarbase.h" #include class QTextEdit; -- GitLab From 41cfdda471996ef0255bbba1d7a4faf6e9647772 Mon Sep 17 00:00:00 2001 From: Igor Poboiko Date: Tue, 19 May 2020 12:33:07 +0300 Subject: [PATCH 2/2] Increase version --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d46ecc5..64d1806 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.5) -set(PIM_VERSION "5.14.43") +set(PIM_VERSION "5.14.44") project(KPimTextEdit VERSION ${PIM_VERSION}) -- GitLab