Commit Graph

6 Commits

Author SHA1 Message Date
Marco Martin
3a6281aa6a API review:
setRole()->setRoleMapping()
+ roleMapping() getter

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800985
2008-04-25 11:35:20 +00:00
Marco Martin
4e92155f7d API reviews:
Plasma::Delegate has a parent argument in the constructor

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800960
2008-04-25 10:16:49 +00:00
Stephan Binner
7ee81565fb unbreak build
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791357
2008-03-29 08:37:44 +00:00
Richard J. Moore
b5425f16b3 - Fix missing Q_OBJECT
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791316
2008-03-28 23:48:31 +00:00
Marco Martin
13efb56562 fix the empty space calculation in Plasma::Delegate
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=787721
2008-03-19 18:09:15 +00:00
Marco Martin
750094f6bf Add a new Plasma class: Plasma::Delegate
it will draw all the listviews used in Plasma that acts like a menu, like Kickoff or Devicenotifier.
at the moment only devicenotifier uses that, (so now it looks like kickoff) a port of the kickoff delegate is planned.
if you want to draw additional data you must
can subclass it
call paint of the father and then use  onr of the function the functions rectAfterTitle, rectAfterSubTitle and emptyRect to get the blank space
paint in the rect obtained with the above functions

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786973
2008-03-18 11:09:39 +00:00