the feature to minimize on drag can be implemented by sub-classing
Plasma::IconWidget but I dont need that kind of feature and it was borked
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
the minimum Katie version is 4.14.0 now, see the following commit in the
kdelibs repo:
e7823a048493a1fbbcc93c5f71d4a39622eb6b55
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
the default is medium which is not very suitable for wallpaper on large
screen, unfortunately larger sizes can be restricted by owner apparently
making requests for larger sizes unreliable. for reference:
https://www.flickr.com/services/api/misc.urls.html
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
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>
much more reliable than chopping the path into pieces to figure out the
package name. also because KGlobal::dirs()->findDirs() returns paths with
trailing slash the previous method was returning empty string
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
functionally the same except that it is not bound to the QIconEngine class
and if QIconEngine changes it does not have to be adjusted
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
where zero time timers do not make sense, e.g. when the frame applet
slideshow should be updated (never updating the slideshow automatically
could be a feature because the frame shows arrows to switch between images
but zero time for the slideshow is not handled by the frame applet)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
KImageIO::pattern() returns pattern for use in QFileDialog (glob and MIME
comment included) which is not valid filter for QDirIterator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
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>
otherwise if the applet is resized to, say, 100x100 the icon would be still
16x16 - very small for applet with a 100x100 size
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
color can be now drag-n-dropped from kcolorchooser for example, dragging
the color that kolourpicker has picked may be implemented in the future
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
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>
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>
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>