Due to exams I have not completed setwallpaer feature in frame applet. I am doing it according to the suggestion. I have extended Plasma::Wallpaper with adding :-
* protected slot setWallpaper(KUrl &url) which is derived in trunk/kde/src/KDE/kdebase/workspace/plasma/generic/wallpapers/image/ as protected slot * setImage(KUrl &url) as public member function I have attached diff file for the changes that I have made in trunk/kde/src/KDE/kdelibs/plasma Right now, I can call containment()->wallpaer()->setImage(url) from the frame. In response from Plasma::Wallpaper, setImage() will invoke setWallpaper slot through QMetaObject::invokeMethod(). But, I don't know properly what parameter should be passed to the QMetaObject::invokeMethod(). need a little help here, Thanks On Mon, Nov 1, 2010 at 2:05 AM, Chani <chan...@gmail.com> wrote: > > On October 31, 2010 19:33:13 Sinny Kumari wrote: > > Hi! > > Earlier due to Binary Compatibility it was not possible to add > > function addWallpaper(const KUrl &url) as virtual in > > Plasma::Wallpaper, but now since BC is going to break, can I add it in > > http://community.kde.org/Plasma/libplasma2. > > Thanks > > > > yes, add it to that page :) > > by the way, that page is for long-term planning. we're not actually going to > break BC for quite a while. we've just reached the point where it's no longer > taboo to talk about it ;) > > -- > Chani > http://chani.ca > > _______________________________________________ > Plasma-devel mailing list > Plasma-devel@kde.org > https://mail.kde.org/mailman/listinfo/plasma-devel > -- http://www.sinny.in
diff1
Description: Binary data
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel