Commit graph

16 commits

Author SHA1 Message Date
Ivailo Monev
f52abcc81d libs: remove unused KPassivePopup header inclusion
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-24 17:19:55 +03:00
Ivailo Monev
de64f8e332 libs: drop the automatic update feature of Plasma::Calendar
only Plasma::ClockApplet uses the Plasma::Calendar class and it disables
automatic updates (because the date comes from data engine). also due to
7819796c55 the date is updated once a second
which was updating the currently selected date thus interfering with date
selection every second so the check that was removed in
d7d63a156b had to be brought back

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-29 12:12:30 +03:00
Ivailo Monev
c380602abf generic: adjust to KLocale changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-26 23:35:19 +03:00
Ivailo Monev
158fa1dc9d libs: propagate focus event from Plasma::ClockApplet
goes like this:
Plasma::ClockApplet -> Plasma::Calendar -> Plasma::CalendarWidget -> ...

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-24 20:53:52 +03:00
Ivailo Monev
d7a2762955 libs: do not setup the clock applet as passive popup
two reasons for that - one is that no other applet does that (e.g. battery
and device applets dissapear once focus is lost) and second being that
passive popups are documented as non-focus stealing applets but the
calendar widget accepts key and mouse events (for various reasons) thus
stealing the focus to process key and mouse events is abosolutely ok

also the minium and preferred size are set by Plasma::Calendar

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-24 08:53:54 +03:00
Ivailo Monev
1c58ec3f25 libs: port to the new calendar widget classes
slick:
https://ibb.co/Vg1TyM2

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-23 11:38:08 +03:00
Ivailo Monev
84fc233313 generic: port to the new KCalendarWidget class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-23 05:52:55 +03:00
Ivailo Monev
2ce6520523 generic: drop text-to-speech support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-18 16:14:11 +02:00
Ivailo Monev
95b6c16fc2 libs: create KSpeech instance on demand on keep it around for future use
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-27 09:25:00 +03:00
Ivailo Monev
27fc8002d6 generic: use the new kspeech library for Text-To-Speech
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-29 15:23:32 +03:00
Ivailo Monev
b74771806a libs: do not check if kttsd service is registered when creating configuration interface
service is started on demand when and if time needs to be spoken

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-28 19:36:46 +03:00
Ivailo Monev
840c8a25cc generic: make changes required for building against katie 2015-08-12 13:11:16 +03:00
Ivailo Monev
c433e4502a generic: adjust for use with CMake moc 2015-02-27 09:28:46 +00:00
Ivailo Monev
e856a7e710 removed now unused variable 2014-11-23 01:51:21 +00:00
Ivailo Monev
b391f7dec2 removed events support from plasma clock, redudant without PIM libraries and we do not support them anymore 2014-11-23 01:15:10 +00:00
Ivailo Monev
a7fd791926 initial import 2014-11-13 19:30:51 +02:00