Commit graph

21 commits

Author SHA1 Message Date
Ivailo Monev
843463c95d kdeui: drop KSortcut
missing proper configuration interface for the shortcuts, the old one
was borked anyway

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-24 10:19:03 +03:00
Ivailo Monev
213163aa45 kdeui: simplify highlighter management of KTextEdit
instead of virtual method for creating one and a setter now there is only
a setter with ownership of the highlighter belonging to the parent (the
case for the default-created highlighter) or caller of
KTextEdit::setHighlighter()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-08 12:04:44 +03:00
Ivailo Monev
e774460cf3 kdeui: do not create KTextEdit spell checker based on focus and setup its language in all cases
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-07 18:29:44 +03:00
Ivailo Monev
259cf0c497 kdeui: minor KTextEdit painting optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-07 10:02:21 +03:00
Ivailo Monev
ba8ffa064b kdeui: remove redundant private KTextEdit methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-06 22:33:14 +03:00
Ivailo Monev
0cfa9cb2f3 kdeui: remove unused private KTextEdit methods and members
also initialized all members while at it, some could be used uninitialized

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-06 22:27:55 +03:00
Ivailo Monev
afd9c69c7b kdeui: format and indent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-06 22:21:26 +03:00
Ivailo Monev
4f55f6b021 kdeui: drop bogus WheelMouseZooms config option
no GUI interface to control that, kate also zooms (increases or decreases
the font size) with control modifier. for fast scrolling the shift modifier
is checked for by kate

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-06 21:49:09 +03:00
Ivailo Monev
49378a1e75 kdeui: remove now redundant hack
see the following commit in the Katie repo:
9a8258aed315cfc9eb50a903ecf997ce8f10a87c

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-31 14:26:35 +03:00
Ivailo Monev
8c9f56e862 kdeui: drop support for spelling correction via dialog
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-10 01:04:04 +03:00
Ivailo Monev
7f7eb09b35 kdeui: spelling classes reimplementation
not leaking enchant dictionaries, simpler implementation and its not
spread across 2 libraries (kdecore and kdeui)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-09 20:45:52 +03:00
Ivailo Monev
4dbb501d25 generic: drop text-to-speech support
Katana (or any interface designed around key and mouse events) is not
for blind people, trying to slap text-to-speech on top of it was the
wrong thing to do to begin with

side note: speech-dispatcher tends to hang if the output device is not
configured properly (i.e. editing /etc/speech-dispatcher/speechd.conf
manually)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-18 15:56:59 +02:00
Ivailo Monev
c3a42c260b kdeui: remove unused KTextEditSpellInterface class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-27 09:34:11 +03:00
Ivailo Monev
d47d62e503 kutils: new kspeech library to replace the kttsd service and its interface
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-29 15:01:39 +03:00
Ivailo Monev
0ce55c0438 kdeui: remove internal KTextEdit methods related to spell checking
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-20 03:43:21 +03:00
Ivailo Monev
0f1217eb36 kdeui: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-01-11 17:45:07 +02:00
Ivailo Monev
2bf60e6475 kdeui: remove binary compatibility bits
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-19 17:41:05 +03:00
Ivailo Monev
f7bf6ebaf6 kdeui: remove useless KTextEdit::focusOutEvent()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-01-01 16:28:31 +02:00
Ivailo Monev
21ad0df488 generic: make changes required for building against katie 2015-08-11 05:56:07 +03:00
Ivailo Monev
82fc15f54b generic: use CMake moc instead of automoc4 by default
for compatibilty reasons automoc4 support is not removed but it
shall be in the future. automoc4 has not been maintained for a
while (last commit is from 2011) and the stable release is from
2009.

CMake version >= 2.8.6 provides the functionality for mocking so
I see no reason to not make use of it.
2015-02-27 07:40:26 +00:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00