* moves the idea of the size of the item up to LayoutItem, as both Widget and Layout implemented it separately
* provides a way in LayoutItem to adjust a rect within an item to its margins (that is what LayoutItem::topLeft() is there for)
* fix several bugs, both painting and sizing, in LineEdit
* Applet sets margins now based on the existence of setDrawBackground
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776380
screenshot of using flowlayout with tasks applet: http://matt.rogers.name/r/96/s/6/
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=772729
otherwise the updated layout doesn't take effect. This means that it really
does need to be called from relayout(). So to prevent a quasi-infinite loop,
don't restart the timeline if it's already running.
This fixes the tasks geometry not updating correctly when applets are added
to the panel.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754148
relayout() is almost an infinite loop. Instead, only call startAnimation()
when an item has actually been added or removed.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=748736
* introduce relayout() which does only that
* place guards around relayout() calls in Layout class to prevent recursion
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738923