it's pretty hackish since we have to special case FreeLayout but hey, since when were layouts in plasma ever sane?
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=728764
* Copyright (C) -> Copyright
* add "or later" clause to files that i have the sole copyright on
* add current year (2007) to my copyrights where it was missing
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696946
* don't crash when parent=0 is passed in
* don't divid by 0 when we have no children
* have the (fugly) setManagingLayout and unsetManagingLayout and managingLayout methods
* do some memory management so layouts that are thrown around don't get lost in the heap
some unit tests would be nice. hell, a design document on the layout stuff would be nice. i know we're only keeping this around for 4.0, but ... yeah. ugh.
CCMAIL:panel-devel@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693361
- Ported PushButton to Plasma::Widget API
- Two new classes, Rectangle and Label.
- All Widgets should now inherit from Plasma::Widget
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691090
#include <plasma/foo.h>
in headers in libplasma. this is important so that they can be used post-install by third party plugins, apps, etc.
also, changed Applet::loadDataEngine to just Applet::dataEngine and make it actually return the data engine; move the applets to using it. safer and fewer LoC
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=670850
* add a resetLayout() so layouts can release LayoutItems on deletion, avoiding dangling pointers and possible crashes
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668931