Plasma/libplasma2/wallpaperdrophandling

From KDE Community Wiki
Revision as of 13:48, 22 September 2012 by Afiestas (talk | contribs) (Created page with "== Discussion == We now have two ways to note that a URL has been added to a wallpaper via external means: urlDropped(KUrl) and setUrls(KUrl::List). == Proposed Solution == Dr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Discussion

We now have two ways to note that a URL has been added to a wallpaper via external means: urlDropped(KUrl) and setUrls(KUrl::List).

Proposed Solution

Drop urlDropped in favor of setUrls; make setUrls virtual, drop the protected addUrls slot (was just a work-around for BC) and port Wallpaper plugins away from addUrls. In WallpaperScript, make setUrls virtual and drop urlDropped.