completely migrate to X-Plasma-ContainmentType from the desktop file, use it to set the containment type as soon as possible (in Containment::init())
in this way the desktop script can recognize panels as what they are immediately
Using QtQuick's particle shader to render a wallpaper.
change the wallpaperPlugin in your appletsrc to org.kde.autumn to try
it.
The code for the wallpaper has been borrowed from QtDeclarative
examples.
This is just an experiment to show how we can use shaders for our
animations within the containment. It seems to work nicely.
The shader code has been borrowed from the shadereffects example in Qt's
declarative module.
- events need to be accepted, otherwise they don't have effect on the
drag, and it doesn't get released
- slightly more intelligent starting of drag, saves quite some cycles
and is way more correct this way
The "attach pixmap of dragged item" is still disabled. This probably
needs to be rethought entirely. One option would be to ditch this class
in favour of QtQuick 2's Drag, DragEvent and DropArea. Food for API
discussion.
kde4support doesn't yet use the same CMake magic than the other more
stable frameworks. So refer to it by its target name as exported by the
KDELibs4 module.
this prevents them getting nuked when also writing to the config with writeConfig
which in turn triggers a config reload (without those values!) later on
Instead of sorting the scripts according to their absolute paths,
which would cause scripts installed by packages to always end at
the top, scripts should be sorted by their relative path i.e.
plasma scripts from each directory that occurs in the path
should be sorted and then merged together to form a super list
REVIEWED BY: Marco Martin