Laurent Montel
65be58f69e
Remove not necessary "class classname;"
...
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=671233
2007-06-04 08:24:29 +00:00
Aaron J. Seigo
bbaebc6b1b
move workspace/plasma/lib to workspace/lib/plasma so that we can do:
...
#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
2007-06-02 17:29:39 +00:00
Aaron J. Seigo
8c8bf30c62
make it really clear what i was thinking, as apparently people can't see inside my head. ;)
...
"what do you mean you can't read my mind?"
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669648
2007-05-29 22:23:37 +00:00
Aaron J. Seigo
c321d2f03e
introduce ContentType; this lets us have svgs which are a single image which may be made up of a number of elements (in which case, the elements need to be scaled from the size on the svg when painted to have the right size) or made up of a number of discreet images each of which is already the right size (think: a deck of cards)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669616
2007-05-29 20:27:51 +00:00
Aaron J. Seigo
3d51733018
* more api documentation
...
* changes to reflect api movement
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668671
2007-05-27 08:01:31 +00:00
Matt Williams
ad5351fa3f
A few apidocs updates
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667159
2007-05-22 01:30:03 +00:00
Aaron J. Seigo
29bc7ed49e
i'll take the red pill.
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667153
2007-05-22 00:20:52 +00:00
Matt Williams
dfb58b44c1
EBN Fixes
...
* Include own header file first
* Make d-pointer const
* Use references-to-const
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667001
2007-05-21 14:28:03 +00:00
Matt Williams
cb00c95058
Small changes which were niggling at me :)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666833
2007-05-21 00:30:36 +00:00
David Faure
5f1db42cca
should be const
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666821
2007-05-20 23:31:44 +00:00
Aaron J. Seigo
cb2e8721a5
* Plasma::Svg::resize() to use the default size of the SVG
...
* make the clock use that size
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666807
2007-05-20 22:56:38 +00:00
Aaron J. Seigo
f88f9ed076
add a missing bit of obvious api.
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666798
2007-05-20 22:39:38 +00:00
Aaron J. Seigo
48db336a07
allow to pass in an alternative matrix to SVG::paint in case you don't want the painter's matrix to be used in rendering the svg; this happens when the Scene has matrix and then the painter is transformed further to adjust that specific painting event. for things like the clock, it also allows us to properly use the pixmapcache.
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666794
2007-05-20 22:30:41 +00:00
Aaron J. Seigo
520553079a
PLASMA_EXPORT
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666752
2007-05-20 20:13:46 +00:00
Aaron J. Seigo
a9ebfb6a14
* allow painting of given elements
...
* find the size of an element (given the current size of the Plasma::Svg)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666140
2007-05-18 22:05:00 +00:00
Pino Toscano
7bed85b467
these forward declarations are needed as well
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=657021
2007-04-22 23:04:47 +00:00
Pino Toscano
d8c17250ce
header cleanup
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=656747
2007-04-22 09:35:04 +00:00
Aaron J. Seigo
f66f973917
install the svg.h header so people can use it
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=644234
2007-03-19 15:54:54 +00:00
Aaron J. Seigo
5cfabdc869
Plasma::Svg debuts. it is an image centric wrapper around QSvgRenderer that takes care of things such as:
...
* caching rendered pixmaps
* looking up the images from the Plasma::Theme
* scheduling needed updates, e.g. when the plasma theme changes
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=640418
2007-03-07 23:27:37 +00:00