Commit Graph

207 Commits

Author SHA1 Message Date
Matt Williams
5d1eb7f460 Add missing d-pointers
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668014
2007-05-24 19:36:05 +00:00
Aaron J. Seigo
022f7f671b let's make this a bit more obvious. not that anyone reads this stuff apparently.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667993
2007-05-24 18:14:54 +00:00
Matt Williams
199833129b Mmm, gotta love those APPLEYLAYOUTs :P
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667779
2007-05-23 22:45:21 +00:00
Andreas Hartmetz
308b2bb907 a strange compile++
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667709
2007-05-23 17:25:30 +00:00
Matias Valdenegro Toro
c24e5b36d4 Krazy fix
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667704
2007-05-23 17:18:43 +00:00
Riccardo Iaconelli
62dbab141d The clock is now a Plasma::Applet.
Thanks a lot to millams for helping with the porting.
Enjoy the clock! Configurability is coming!

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667677
2007-05-23 15:47:27 +00:00
Aaron J. Seigo
dacd91f859 constification.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667619
2007-05-23 08:27:09 +00:00
Aaron J. Seigo
19169e84ea * move DataEngineManager into libplasma and the Plasma namespace
* add CamelCaseIncludes for DataSource and DataEngineManager

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667603
2007-05-23 07:51:28 +00:00
Aaron J. Seigo
22015aa3c9 add icons to data engines. a bit superfluous, but can be nice when showing engines to the user as we do in the engine explorer
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667592
2007-05-23 07:13:00 +00:00
Aaron J. Seigo
479a977830 * api documentation
* void addSource(DataSource* source): allows adding of DataSources directly; useful for more complex engines where setData would be inneficient and clumsy or just not powerful enough

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667584
2007-05-23 06:38:44 +00:00
Aaron J. Seigo
121699f37d re-add the missing qobject stuff so that the slot works again
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667526
2007-05-23 03:08:47 +00:00
Matt Williams
a6c0d7a952 DataVisualisation isn't actually used in here
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667493
2007-05-22 23:11:21 +00:00
Pino Toscano
f5230fcd1e extra ';'
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667451
2007-05-22 21:05:42 +00:00
Laurent Montel
09a03bdc95 Return something
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667445
2007-05-22 20:49:43 +00:00
David Faure
22998455f1 fix compiling
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667422
2007-05-22 19:23:22 +00:00
Matt Williams
4f6c36f3af Add some vaguely useful entries on the desktop menu
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667407
2007-05-22 18:29:12 +00:00
Matias Valdenegro Toro
90cf45ff02 Add the files to the build system.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667385
2007-05-22 17:07:00 +00:00
Matias Valdenegro Toro
4bde70b077 Make it compile
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667380
2007-05-22 16:59:33 +00:00
Matias Valdenegro Toro
edaecc53af First commit of my work, added classes :
- LayoutItem
- Layout
- VBoxLayout


svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667376
2007-05-22 16:48:34 +00:00
Script Kiddy
bd932be569 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667189
2007-05-22 05:15:39 +00:00
Aaron J. Seigo
879e215a43 * make DataSource emit the name of the source along with the data; this makes it possible widgets connected to multiple DataSources to have a chance of doing the right thing
* make DataEngine take a QObject in the connect, making DataVisualization somewhere superfluous. unless it ends up doing something useful soon, DataVisualization as a class will be going away.

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667167
2007-05-22 02:49:54 +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
Aaron J. Seigo
97c22c59d2 add a CamelCaseHeader for DataVisualization
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667149
2007-05-21 23:44:15 +00:00
Matt Williams
18a8791a43 More Mainpage.dox changes
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667061
2007-05-21 18:48:13 +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
Aaron J. Seigo
a4505ca37f * data->updated
* implement updated for lineedits; need to decide what to do for the rest

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666854
2007-05-21 04:29:00 +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
8f037a992d &
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666819
2007-05-20 23:18:05 +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
8e7ccadd75 pino showed me the wonders of set_target_properties. rock on!
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666770
2007-05-20 21:05:27 +00:00
Riccardo Iaconelli
4de7a36e29 The clock now shows (and moves) SVG hands. I had to do an hack on Plasma::Svg to make it work, it was doing strange things with the plasmoid painter, and especially its coordinate system, check the differences in lib/svg.cpp to see what changed.
Still have a couple of problems with hands other than second, and for the black thingy in the middle.
Too tired right now, will check (and hopefully fix) them again tomorrow.
Let's party though! The first (mostly) working plasmoid goes public! Yay!

CCMAIL:panel-devel@kde.org

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666767
2007-05-20 21:01:30 +00:00
Aaron J. Seigo
08707215dd apparently we can't have a binary and a library with the same name. so now it's libplasmoid and the binary is plasma.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666763
2007-05-20 20:54:48 +00:00
Aaron J. Seigo
b8cc485705 * split DataSource into its own files
* move DataSource::Data to DataEngine::Data; this means consumers of DataEngine have no need to know about DataSource as a class

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666756
2007-05-20 20:36:59 +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
Matt Williams
81b392e9ec Add some skeleton apidox in order to get the EBN building the classes that do have documentation.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666703
2007-05-20 16:25:07 +00:00
Matt Williams
37bee9466b Add Mainpage.dox for Plasma
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666667
2007-05-20 14:35:08 +00:00
Rafael Fernández López
03f0b9d130 The comment block should be just before the class definition, not the
namespace. Remove unneeded checks.

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666633
2007-05-20 13:29:06 +00:00
Script Kiddy
623639b8c9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666507
2007-05-20 05:13:09 +00:00
Rafael Fernández López
0fff43201f Adjust condition. We only want items that has no parent at this point
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666480
2007-05-20 00:58:40 +00:00
Rafael Fernández López
8676ce117d Call to DataVisualization() constructor, fixme note. I strongly hate to
break my promises. This is REALLY the last commit

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666427
2007-05-19 21:12:40 +00:00
Rafael Fernández López
f5d9bd2055 OK, last commit about this. I promise :)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666426
2007-05-19 21:03:21 +00:00
Rafael Fernández López
749b581946 No more forgotten things. Style fixing
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666425
2007-05-19 21:00:16 +00:00
Rafael Fernández López
ef5b5fca3b Small problem I forgot to fix when refactoring
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666423
2007-05-19 20:54:26 +00:00
Rafael Fernández López
3294b91379 New widget: radio button
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666420
2007-05-19 20:49:16 +00:00
Aaron J. Seigo
4c4b013b89 * implement the engine, source and visualization classes
* queue updates so that multiple calls to setData don't result in a storm of updated signals
* some API cleanups, e.g. connect -> connectSource
* provide and install a ServiceType .desktop; this adds the X-EngineName QString symbol. maybe that's too generic.

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666241
2007-05-19 08:38:46 +00:00
Aaron J. Seigo
3ccbf71b2d add dataEngine() and make loadDataEngine() return the engine rather than a boolean as that saves the innevitable re-lookup when we already have the pointer right at hand.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666240
2007-05-19 08:35:35 +00:00