Commit Graph

10 Commits

Author SHA1 Message Date
Aaron J. Seigo
3af4b66dca tired of the "expect crashes" output all the time, i just fixed it properly by deleting the existing layout. since the layout makes itself the parent of the child layout and already deletes it in the dtor, this only makes sense. hello greater safety and goodbye scary console output ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771686
2008-02-06 18:16:11 +00:00
Marijn Kruisselbrink
a7dcbb5456 fixes for platforms where qreal is not a double
btw, wouldn't it be cleaner if all those qMin(0.0, qMax(1.0, foo)) calls are calls to qBound instead?

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=748283
2007-12-14 01:38:32 +00:00
Adriaan de Groot
cb344f2acd INFINITY is a gcc-ism, use something more C++y (but it's possible to have *no* infinity() for floats; that would require another bit of hackery)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746992
2007-12-10 19:49:25 +00:00
Ivan Čukić
4d3d0b8a64 Removing debugging messages
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746972
2007-12-10 19:05:23 +00:00
Ivan Čukić
f6b097db82 Aaron skipped a bit when removing geometry() and setGeometry() so the layout was broken
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746969
2007-12-10 19:04:16 +00:00
Aaron J. Seigo
946e0127b8 went through and checked methods that take or return pointers or indexes and added safety precautions against bad parameters
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=744630
2007-12-03 23:53:56 +00:00
Dirk Mueller
0142f8653c fix license headers
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=740323
2007-11-23 00:08:03 +00:00
Seb Ruiz
d6001be92a warning fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=739904
2007-11-22 07:19:43 +00:00
Aaron J. Seigo
e614df56d0 * consolidate geometry() and setGeometry() from the layouts into Layout
* 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
2007-11-19 23:45:56 +00:00
Aaron J. Seigo
92ba2c1b0b move all the layouts to their own directory; much more logical and makes it easier to not miss layouts that need changes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738898
2007-11-19 22:42:56 +00:00