diff options
author | mio <stigma@disroot.org> | 2024-10-27 21:57:29 +1000 |
---|---|---|
committer | mio <stigma@disroot.org> | 2024-12-17 09:37:43 +1000 |
commit | 7304b1a1e7ee4c175abb21e4d810c1f4d45ef7f1 (patch) | |
tree | cecf044282f342b5e8cf76cdc37be3e71ba75234 /kjots/KJotsMain.h | |
parent | f5130739bb3d0e8aac2c4864cf8ab0b870a09143 (diff) | |
download | tdeutils-7304b1a1e7ee4c175abb21e4d810c1f4d45ef7f1.tar.gz tdeutils-7304b1a1e7ee4c175abb21e4d810c1f4d45ef7f1.zip |
Update KJots to use KTextEdit
KEdit is deprecated and KTextEdit is one of the replacements. KTextEdit
doesn't provide the find & replace functionality, so we have to
re-implement that in KJotsEdit.
Signed-off-by: mio <stigma@disroot.org>
(cherry picked from commit 72796561928a42dbffd9dbb422523bb599896ca9)
Diffstat (limited to 'kjots/KJotsMain.h')
-rw-r--r-- | kjots/KJotsMain.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/kjots/KJotsMain.h b/kjots/KJotsMain.h index b9dfb3c..ea38f08 100644 --- a/kjots/KJotsMain.h +++ b/kjots/KJotsMain.h @@ -77,7 +77,8 @@ class KJotsEdit; #define ACTION_REPLACE 21 #define ACTION_RENAME 22 #define ACTION_INSERT_DATE 23 -#define ACTION_MAX 24 +#define ACTION_FIND_PREV 24 +#define ACTION_MAX 25 class KJotsMain : public TDEMainWindow { @@ -106,11 +107,7 @@ class KJotsMain : public TDEMainWindow void copySelection(); void insertDate(); void slotPrint(); - void slotSearch(); - void slotRepeatSearch(); - void slotReplace(); void slotQuit(); - void slotFindSuccessful(); void jumpToEntry(TQListViewItem* entry, bool=false); |