Ivailo Monev
e471b90dfb
kdeplasma-addons: adjust default plasmaweather visibility unit
...
the new unit conversion class (KLength, replaced KUnitConversion some time
ago) does not accept "ml"
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-15 16:59:21 +03:00
Ivailo Monev
7ddfeb4410
kdeplasma-addons: unload the data engines from WeatherPopupApplet destructor
...
because the data engines are not parented to anything the destruction
happens too late otherwise and triggers fatal message in
Plasma::DataEngineManager that it is accessed after destruction
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-14 15:41:37 +03:00
Ivailo Monev
f1b2130343
generic: adjust to KLocale changes
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-26 09:56:25 +03:00
Ivailo Monev
1663b4a7a5
kdeplasma-addons: set the icon of the weather configuration search button
...
in case the button text is not shown for some reason, also visually
indicating what the button will do
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-17 20:46:11 +03:00
Ivailo Monev
6a60591ff2
kdeplasma-addons: use KMessageWidget instead of KMessageBox for the weather configuration error
...
also not emitting the configValueChanged() signal while searching to not
trigger changes on the weather applet side while that is happening (after
search the source will be changed after selecting location item)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-17 03:33:04 +03:00
Ivailo Monev
38b89a77ad
kdeplasma-addons: rework location widget behaviour
...
by not using the location widget to display error and by not setting the
line edit widget text behind the back of KComboBox a lot of quirks are
fixed
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-17 02:43:48 +03:00
Ivailo Monev
9eb152aae6
kdeplasma-addons: change the weather location widget index only if the pre-location index is found
...
when a source is set is not added as item to the location widget (see
WeatherConfig::setSource())
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-16 19:34:58 +03:00
Ivailo Monev
e4b67f8165
kdeplasma-addons: add the default and validated sources to the weather location widget
...
for reference:
https://github.com/fluxer/katana/issues/26
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-16 03:13:25 +03:00
Ivailo Monev
d42137e272
kdeplasma-addons: emit all valid sources from WeatherLocation
...
so that all default and validated sources can (potentially, eventually) be
shown in the configuration location widget
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-16 02:26:21 +03:00
Ivailo Monev
573b7e2fa8
kdeplasma-addons: rework weather configuration to validate via specifiec ion
...
because different applets use data that is provided by different ion, for
example wettercom provides forecast while noaa provides wind conditions.
on a side note noaa uses mostly station names rather than city names so
expect applects that default to noaa ion to require configuration by
default in most cases
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-16 01:44:44 +03:00
Ivailo Monev
c6604da779
kdeplasma-addons: search for location when return is pressed while the weather location widget has focus
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 20:56:10 +03:00
Ivailo Monev
173699edc7
kdeplasma-addons: fill the weather configuration locations widgets with default (valid) locations
...
for reference:
https://github.com/fluxer/katana/issues/26
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 20:38:39 +03:00
Ivailo Monev
c52c3b15a8
kdeplasma-addons: sort the geo data by accuracy in WeatherLocation::dataUpdated()
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 12:21:53 +03:00
Ivailo Monev
002bf61331
kdeplasma-addons: stop emitting the finished signal of WeatherLocation once a valid source is found
...
how valid the source is is entirely different thing, more than one
weather source can match a given location (look for "multiple" in the ions
and think why it is a thing)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 11:18:37 +03:00
Ivailo Monev
7bb0c86cf6
kdeplasma-addons: parent the weather validator to the weather location finder
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 11:07:37 +03:00
Ivailo Monev
7f129d6c3e
kdeplasma-addons: attempt to validate all locations
...
out of 4 geolocation data engine providers 3 provide data for the city,
requires the following commit from kde-workspace:
d28608da5bb8b874cad1c6a9b50a5b9bfb358317
for reference:
https://github.com/fluxer/katana/issues/26
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-15 09:34:45 +03:00
Ivailo Monev
3edb2cc356
kdeplasma-addons: fix plasmaweather busy timer races
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-12 12:42:53 +03:00
Ivailo Monev
cd3321bf6f
kdeplasma-addons: remove unused WeatherConfig::getNewStuff() method
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-12 12:40:36 +03:00
Ivailo Monev
a4017a3a68
generic: preperations for kde-workspace changes
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-18 03:49:28 +03:00
Ivailo Monev
93e394f1ca
generic: preperations for kdelibs changes
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-17 23:28:51 +03:00
Ivailo Monev
05397d9ddf
generic: adjust to kdelibs changes
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-17 18:39:16 +03:00
Ivailo Monev
6ccf553d1e
generic: prepare for Katie changes
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-14 16:21:09 +03:00
Ivailo Monev
1e5772f798
kdeplasma-addons: remove unused kimpanelagenttype header
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-03-07 01:34:59 +02:00
Ivailo Monev
4433e55536
generic: generate export headers
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-28 14:58:10 +03:00
Ivailo Monev
f6e923b335
plasma: port weather library and applets to new conversion classes
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-17 02:34:23 +03:00
Ivailo Monev
49ba7dba8f
kdeplasma-addons: do not mangle KUnitConversion into anonymous namespace
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-15 23:10:10 +03:00
Ivailo Monev
2d2fcdf696
kdeplasma-addons: use existing ION provider for weather location validation
...
fixes Plasma weather related features in general
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-06-06 19:06:24 +03:00
Ivailo Monev
fb7d607058
kdeplasma-addons: remove GHNS leftovers
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-06-06 18:44:26 +03:00
Ivailo Monev
e2387fff2a
generic: remove KNewStuff leftovers
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-26 03:22:22 +00:00
Ivailo Monev
bbfba73977
kdeplasma-addons: remove lancelot applet
...
not going to be maintained since the menu applet used by default already
provides two modes, standard and classic, and lancelot is ment to be
integrating with PIM services which are not supported by this project
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-18 16:11:42 +00:00
Ivailo Monev
59190d3194
generic: replace installation paths with KDE4_ prefixed
...
see commit in kdelibs repository
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-08 20:12:24 +00:00
Ivailo Monev
ce8f93a26f
generic: purge Qt support with fire
...
see commit in kdelibs repository
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-07 13:03:19 +00:00
Ivailo Monev
5e41e52b41
kdeplasma-addons: use loop-local variables
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-02 03:25:22 +00:00
Ivailo Monev
e0296b73a0
generic: adjust to Katie changes
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-06-24 02:09:19 +00:00
Ivailo Monev
300bdf0f38
generic: adjust to Katie changes
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-25 00:54:51 +00:00
Ivailo Monev
e166af4e02
generic: replace forward declarations with headers inclusions
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-23 00:08:45 +00:00
Ivailo Monev
c5b174730b
generic: avoid use of legacy QString::null, QChar::null, etc.
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-15 00:24:16 +00:00
Ivailo Monev
2b98e58527
generic: misc cleanups
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-06-01 15:32:43 +00:00
Ivailo Monev
e9a067897a
generic: build system cleanups
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-09 17:24:49 +00:00
Ivailo Monev
805ec306e4
generic: misc cleanups
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-09 11:53:13 +00:00
Ivailo Monev
ea52f6e519
generic: build system cleanups
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-06 12:26:19 +00:00
Ivailo Monev
fa9229e2f5
kdeplasma-addons: fix build of lancelot applet against Katie
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-02-04 14:49:03 +02:00
Ivailo Monev
6aae5451a6
generic: fix build against Katie
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-01-23 16:27:47 +02:00
Ivailo Monev
7c098060fd
generic: make changes required for building against Katie
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-25 11:50:42 +00:00
Ivailo Monev
77ab17b595
generic: build system cleanups
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-25 05:14:02 +00:00
Ivailo Monev
4cbba576f7
Revert "kdeplasma-addons: adjust to plasma animations support removal"
...
This reverts commit 3851bc2700
.
2015-10-28 09:36:32 +02:00
Ivailo Monev
b3ed7a40fc
generic: remove redudant platform checks from cmake files
2015-10-12 12:38:13 +03:00
Ivailo Monev
3851bc2700
kdeplasma-addons: adjust to plasma animations support removal
2015-10-10 12:22:26 +03:00
Ivailo Monev
c270d80ec8
generic: misc cleanups
2015-09-02 08:54:43 +03:00
Ivailo Monev
f58a4c5452
generic: major build system cleanup
2015-09-02 02:13:50 +03:00