Commit Graph

3515 Commits

Author SHA1 Message Date
Aaron J. Seigo
a452da7dd2 * removeData method added to DataEngine which allows one to, well, remove data from a source
* passing a null or invalid QVariant to DataSource::setData now results in the removal of the entry if it exists

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676783
2007-06-17 17:38:54 +00:00
Pino Toscano
f39618e727 include cleanup
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676613
2007-06-17 09:28:55 +00:00
Pino Toscano
251bdf9907 export, add include guard and missing includes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676612
2007-06-17 09:28:42 +00:00
Script Kiddy
025e519bbf SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676551
2007-06-17 05:52:33 +00:00
Aaron J. Seigo
0174be3330 * api docu fixes
* allow setting a default mimetype for a package

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676513
2007-06-17 01:04:59 +00:00
Aaron J. Seigo
7afda6a7f8 fix for 3rd party builds
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676510
2007-06-17 00:33:44 +00:00
Aaron J. Seigo
d6af3ab7b6 use plasma exports
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676506
2007-06-17 00:29:53 +00:00
Aaron J. Seigo
eb5522104a add the non-gui packaging files to libplasma
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676505
2007-06-17 00:25:16 +00:00
Pino Toscano
bbabb1fea4 headers cleanup
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676483
2007-06-16 23:38:56 +00:00
Riccardo Iaconelli
7a70eac7fe Much nicer icons.
Implemented the concept for icons from David Vignoni (screencast coming...).
Context menu now shows "Plasma".

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676455
2007-06-16 22:35:31 +00:00
Tim Beaulen
5a3e39e685 Make workspace build. The plasma headerfiles could not be found.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676197
2007-06-16 09:10:59 +00:00
Aaron J. Seigo
37869e0326 move the libraries that will be kept into libs/ ( was lib/)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676120
2007-06-16 04:16:17 +00:00
Aaron J. Seigo
bbea8b07a0 also check to see if kurl knows about this stuff
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=675295
2007-06-13 22:11:49 +00:00
Laurent Montel
3d126ae09b Fix include
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=675269
2007-06-13 21:26:08 +00:00
Script Kiddy
2ba6e382a0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=675092
2007-06-13 17:57:01 +00:00
Aaron J. Seigo
029b2e8a54 API consistency fixes; all methods now use "Source" to mean "DataSource"
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=674784
2007-06-13 04:56:49 +00:00
Script Kiddy
d349f2bc5c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=674497
2007-06-12 13:36:14 +00:00
Will Stephenson
f618eaf0b6 Correct api docs
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=674144
2007-06-11 21:11:22 +00:00
Aaron J. Seigo
5957c71110 naming consistency
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=674143
2007-06-11 21:10:44 +00:00
Aaron J. Seigo
13a83e87f8 * add a set of "completed" methods to the animations so the animator can clean up
* instead of passing in the frame, pass in the % completed in a qreal (0.0 - 1.0), allowing the Animator to remain innocent of animation time elapse
* call the Animator immediately with 0% to allow it to start immediately and do setup

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=673398
2007-06-10 07:09:07 +00:00
Aaron J. Seigo
2360b4b210 * actually start the timeline (durr!)
* open up the possiblity to change the CurveShape depending on the effect

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=673396
2007-06-10 06:25:26 +00:00
Aaron J. Seigo
3b8fc737e4 * add a Phase object to the corona; start using it.
TODO:
* use all the Phase transitions properly; this implies reworking the remove applet mechanism completely
* consider sharing Phase amongst all Coronas? should it be a singleton?

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=673395
2007-06-10 06:24:42 +00:00
Aaron J. Seigo
eb330b2a79 * cleanup includes for external usage
* include KGenericFactory so subclasses don't have to
* move the plugin macro to Animator where it belongs

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=673394
2007-06-10 06:02:38 +00:00
Aaron J. Seigo
6900270998 fix includes for external usage
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=673393
2007-06-10 06:01:15 +00:00
Aaron J. Seigo
0fbe1e47c1 * count the number of objects connected to each datasource
* data sources now signal when the are unused
* listen to the unused signal for sources created on demand via dataSourceRequested

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=673389
2007-06-10 05:39:27 +00:00
Script Kiddy
922aada9ab SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=673377
2007-06-10 04:45:40 +00:00
Aaron J. Seigo
b86f3f6209 when a data source is requested but does not exist, allow the engine the opportunity to add it by reimplementing dataSourceRequested(const QString&). this makes it trivial to add timezones to the time engine, rss feeds to an rss engine, weather stations to a weather engine or hardware data to solid engines.
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=673373
2007-06-10 04:03:50 +00:00
David Faure
b00436fbe1 SVN_SILENT No ';'
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672801
2007-06-08 07:23:09 +00:00
Aaron J. Seigo
73ccedb42e make the frame rates per second by dividing by 1/duration. we will likely want different durations per anim, but i really like the idea of controlling the durations centrally as a means to .. guide (yeah, that's it!) Animator developers
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672786
2007-06-08 06:05:40 +00:00
Aaron J. Seigo
c62b683dbd for the pussies who don't have srcdir==buildir for qt ;)
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672777
2007-06-08 05:39:34 +00:00
Aaron J. Seigo
b412c393d6 we're getting quite the collection of plugins, with more to come (e.g. the background renderer); move the desktop files servicetypes/
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672774
2007-06-08 05:30:31 +00:00
Aaron J. Seigo
301b06a926 animator servicetype
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672773
2007-06-08 05:28:22 +00:00
Aaron J. Seigo
10c7d681e9 i stand upon the shoulders of davids
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672772
2007-06-08 05:25:49 +00:00
Aaron J. Seigo
2894a3403b initial 284LOC sketch of phase/animator. this includes the "null" animator base class, the phase manager and plugin loader.
tomorrow: an animator!

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672771
2007-06-08 05:24:19 +00:00
André Wöbbeking
bfa47d7158 -pedantic
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672698
2007-06-07 21:35:41 +00:00
Aaron J. Seigo
58277a7608 plug a bunch of memory leaks
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672687
2007-06-07 20:57:18 +00:00
Aaron J. Seigo
e90845573e turn this into a namespace
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672686
2007-06-07 20:56:54 +00:00
Aaron J. Seigo
ac270ef3e0 some house cleaning
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672677
2007-06-07 20:42:01 +00:00
Aaron J. Seigo
80866f4a99 do the locking a bit more intelligently; soon we'll need to have id's for the coronas so we can save/restore settings
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672656
2007-06-07 19:40:16 +00:00
Aaron J. Seigo
df0e5f74a0 * build
* only blur on hover to mask some of the artifacts

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672649
2007-06-07 19:10:48 +00:00
Aaron J. Seigo
6193f93785 proof of concept for composited effects by toying with the backing store
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672646
2007-06-07 19:07:45 +00:00
Aaron J. Seigo
a80c5349e4 * let's not bother with the blur here quite yet; let's do it Right(tm) later in an image effects lib, and when we can actually operate on the backing store
* if there is not -pressed element, still paint something proper

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672363
2007-06-06 20:48:06 +00:00
Riccardo Iaconelli
a043e502f3 * Saner resizing of the icon when pressed
* Nicer SVG, also fixed the corners, now are pixel perfect
* Prepared the code for the upcoming blur of the wallpaper....

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672328
2007-06-06 19:45:00 +00:00
Siraj Razick
cd701724cb icon apears on the droped pos not topleft coner
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672121
2007-06-06 06:09:42 +00:00
Aaron J. Seigo
a2b7f5fc43 shrink and center on click; not that it matters since this will move into Phase for great beauty and flexibility ... but this should llook a little nicer in the screencasts...
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672120
2007-06-06 05:19:44 +00:00
Aaron J. Seigo
83eed9ccd4 * build
* use KUrl::List

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672119
2007-06-06 05:12:51 +00:00
Script Kiddy
df7bfdcfeb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672108
2007-06-06 04:42:35 +00:00
Siraj Razick
de1a88b056 drop icons to desktop support : experimental
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672031
2007-06-06 03:25:04 +00:00
Siraj Razick
013fae0a0d slight shrik effect on the pixmap
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=671927
2007-06-05 20:44:28 +00:00
Aaron J. Seigo
11651586c0 center the icons properly and cut down on the amount of duplicated information we keep in here
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=671917
2007-06-05 19:48:14 +00:00