Commit graph

74 commits

Author SHA1 Message Date
Ivailo Monev
36c910c653 generic: move stuff from KDE4Internal module to KDELibs4Config
large-scale changes to the build system, nothing a user sees tho - it is
all under the hood

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-17 19:01:40 +03:00
Ivailo Monev
6a18754f1b kdeui: merge KPageModel into KPageView and KPageWidgetModel
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-14 16:10:43 +03:00
Ivailo Monev
4905cf9700 kdeui: remove reference to non-existing plotting directory
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-12 23:45:42 +03:00
Ivailo Monev
19df721868 generic: ODR fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-11 19:58:06 +03:00
Ivailo Monev
78933232a2 generic: remove build variable used to specify library type
only shared builds are supported now

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-10 23:19:17 +03:00
Ivailo Monev
2a8c7a06e2 kdeui: merge KSpellBackgroundChecker into KSpeller
it is actually faster to no do it in a thread for the use case of Kate
because too many threads may be created

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-10 11:31:16 +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
e978590acd generic: define KDE_DEFAULT_DEBUG_AREA in the main build file for each library
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-09 23:43:20 +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
c63f00ec2a kio: move KDynamicJobTracker to kdeui and export it as public class
to be used by kprintjobs and possibly more, also added camelcase header
for KUiServerJobTracker

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-07 03:09:21 +03:00
Ivailo Monev
819cca1e41 kdeui: replace libdbusmenu-qt dependency with custom classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-05-28 20:56:05 +03:00
Ivailo Monev
c552f4bb86 kdeui: get rid of K3Icon
the information it holds is not used anywhere, bonus points for
optimizing the icons lookup

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-05-24 21:16:45 +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
521d3cd59b kdeui: remove unused KFadeWidgetEffect class
for example on how to do it (somewhat) properly see KMessageWidget

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-21 20:05:45 +02:00
Ivailo Monev
a5734faf0f kdeui: new KPixmap class
very much written for use case, not to make sense. while porting to it I
already noticed there are leaks for X11 pixmaps and may have to write
glue code to keep track of the pixmaps and release them before
application quits, that will be a huge performance penalty tho so may
have to be ifdef'ed for debug builds only

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-09 02:08:27 +02:00
Ivailo Monev
c2a98d4c5d kdeui: KSelectionOwner rewrite
natural selection - kill or be killed

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-05 12:44:07 +02:00
Ivailo Monev
90928e8320 generic: store package found definitions in config header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-30 05:41:21 +02:00
Ivailo Monev
81870c59a8 kdeui: remove unused KModifierKeyInfo class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-29 22:25:05 +03:00
Ivailo Monev
aa3793cb90 kdeui: remove unused KWordWrap class
word wrapping is done automatically via QLabel::setWordWrap() for
example

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-29 21:57:54 +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
6cf96c3a87 kdeui: remove unused KAnimatedButton class and KIconLoader getters for movies
KIconLoader::loadMovie() and KIconLoader::moviePath() are attempting to
load non-standard .mng files which, as far as I am aware, no icon theme
ships. for reference:
https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#context

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-28 17:56:47 +03:00
Ivailo Monev
379600e61e kdeui: remove unused classes related to plotting
ksysguard library already has a plotting class (KSignalPlotter) which
should be moved to kdeui library, plasma library also has a plotting
class (SignalPlotter) very similar to the one from ksysguard library
(KGraphicsSignalPlotter)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-27 08:58:07 +03:00
Ivailo Monev
d05992bda9 kdeui: drop gesture support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-21 04:41:08 +03:00
Ivailo Monev
7a60202072 kdeui: remove unused images
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-20 11:16:56 +03:00
Ivailo Monev
bacb8d64e6 kdeui: replace org.kde.JobView with org.kde.JobViewV2 interface
for reference:
a42d981176/kuiserver/progresslistmodel.cpp (L282)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-14 20:04:09 +03:00
Ivailo Monev
1fe3f61065 generic: port KIO to KPasswdStore and drop kwallet and kwasswdserver
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-04 23:32:58 +03:00
Ivailo Monev
3eb0cdd7f1 kio: move KImageIO methods to kdeui library
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-01 23:53:39 +03:00
Ivailo Monev
819136a445 kdeui: remove unused KViewStateMaintainer and KViewStateSaver
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-03-12 13:32:35 +02:00
Ivailo Monev
ea8fad680c generic: load SVG images as any other format
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-09-15 00:20:09 +03:00
Ivailo Monev
405669e2b8 kdeui: remove ksecretservice leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-28 20:25:56 +03:00
Ivailo Monev
31ee051ff4 generic: remove some compatibility bits
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-27 08:58:02 +02:00
Ivailo Monev
4d6fb007e7 generic: fix most of the overlinking issues
TODO from https://github.com/fluxer/katana/issues/7. I've decided to
keep KDE4 and Katie libraries as PUBLIC, all other libraries as PRIVATE
for that and not use INTERFACE at all since that will not require a lot
of changes to all other sub-projects (kde-baseapps, kde-workspace and
kde-extraapps) build systems.

MusicBrainz5 CMake module was also rewritten as the actual library that
should be linked to is libmusicbrainz5cc, libmusicbrainz5 is the C
version of it.

common checks for X11 extensions where move to main config header,
eventually to be moved to separate config-x11 header.

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-09 21:58:11 +00:00
Ivailo Monev
63cf8d43d5 generic: fix bootstrap build with testing enabled
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-01 22:53:13 +00:00
Ivailo Monev
eda7c9685f generic: remove unused KCharSelect class
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-20 00:28:21 +00:00
Ivailo Monev
86ff526617 kdeui: fix build without XKB support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-09-16 23:32:45 +00:00
Ivailo Monev
1e26bf4a5d generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-09-03 00:05:54 +00:00
Ivailo Monev
cfff1dd53a generic: get rid of KTextBrowser
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-08-20 16:42:02 +00:00
Ivailo Monev
728e5f7061 generic: get rid of KXUtils
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-08-15 15:08:04 +00:00
Ivailo Monev
293c931e22 Revert "generic: port some functionality to XCB" 2016-08-12 00:52:46 +00:00
Ivailo Monev
1c9366aabe generic: get rid of redundant KMimeTypeValidator and KStringListValidator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-05-03 01:15:11 +00:00
Ivailo Monev
1f34f5ad73 generic: use CMake export header generator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-27 20:13:02 +00:00
Ivailo Monev
aceeceb7e4 generic: remove unused KBugReport
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-06 06:52:45 +00:00
Ivailo Monev
c6f33f23aa generic: get rid of KImageCache and KSharedDataCache
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-05 03:48:27 +00:00
Ivailo Monev
cbab776c48 generic: get rid of KMenuBar
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-26 05:13:47 +00:00
Ivailo Monev
d398932909 generic: drop Phonon in favour of MPV and custom player classes
kcompactdisc was remove because there is no use for it in the
current set of applications supported, if it is needed it will
need some work to make it use KMediaPlayer or whatever.

the Plasma VideoWidget class was dropped because custom widgets
(at some point) will be dropped unless absolutely needed and
hopefully getting rid of the heavy-weight QML stuff.

the new KMediaPlayer and KMediaWidgets classes are experimental
but they have been tested and they work as they should.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-20 02:43:02 +00:00
Ivailo Monev
82dbf8202b generic: remove redundant classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-01-23 04:31:52 +02:00
Ivailo Monev
fffe0fe45e kdeui: drop unused proxy model
only the PIM suite uses it which is unlikely to be maintained

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-28 03:45:16 +02:00
Ivailo Monev
28f41fa146 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-23 05:13:07 +02:00
Ivailo Monev
bd37b35920 kdeui: support status notifier without libdbusmenu-qt
this is basicly to make code build, does not mean it will work as
expected. the change basicly adds the bits needed to make other
system tray components build gracefully withouts hacks.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-17 16:14:15 +02:00
Ivailo Monev
bfe28597fb kdeui: fix syntax error in cmake file since d7255aa3
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-13 15:27:35 +02:00