Commit Graph

5137 Commits

Author SHA1 Message Date
Aaron J. Seigo
51a0162fae started on docu fixes from ebn until i realized that the line numbers are all messed up in the apidox tests and so moved on
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690174
2007-07-20 08:12:20 +00:00
Aaron J. Seigo
af043ca588 too tired to do much of anything else, i figured i could fix some ebn issues
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690173
2007-07-20 08:06:27 +00:00
Aaron J. Seigo
d692c9f3d5 boundingRect should be public, not protected
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690166
2007-07-20 07:42:02 +00:00
Matt Broadstone
6ea5d0771b Icon now draws text, also lots of api love
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690149
2007-07-20 06:28:51 +00:00
Aaron J. Seigo
98e4e20fe2 * add createPackage to Package
* remove Packager since it has no point in life anymore

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690116
2007-07-20 04:23:27 +00:00
Aaron J. Seigo
0f2acacbe7 * const correctness fixes
* allow setting/getting a service type

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690113
2007-07-20 04:14:13 +00:00
Aaron J. Seigo
43a98e8fc1 automatically register packages with sycoca
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690112
2007-07-20 04:07:00 +00:00
Aaron J. Seigo
8c8504964e * disable copying of Applet due to dptr-but-no-copy-ctor
* provide an accessor to the Package object.
* some const corrections

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690105
2007-07-20 03:34:20 +00:00
Aaron J. Seigo
44fe05f668 create a Package if we have a scripted plasmoid on hand.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690104
2007-07-20 03:28:34 +00:00
Aaron J. Seigo
1b6070d807 X-KDE-ParentApp is already registered, but X-Plasma-Language isn't
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690103
2007-07-20 03:25:33 +00:00
Aaron J. Seigo
11cba27eee * dissallow copying of PackageStructure as it has a dptr but no copy ctor
* Package::isValid() checks if the Package is valid, e.g. all required files and dirs are present
* add methods to PackageStructure which return just the required bits

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690102
2007-07-20 03:21:40 +00:00
Aaron J. Seigo
0e193f1924 rename the header to have a _p so the private status is obvious
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690101
2007-07-20 03:19:17 +00:00
Aaron J. Seigo
2c533e50cd move the package structures to libplasma so Applet can use them (and probably Theme in the future as well). don't install the header or export the class though as they aren't meant (at this time anyways?) to be used externally
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690100
2007-07-20 03:16:40 +00:00
Matt Broadstone
9dcd34a521 Fix icon drawing
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690092
2007-07-20 02:19:42 +00:00
Aaron J. Seigo
be39ca07b1 add missing convenience headers (should we have these for the widgets too?)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690088
2007-07-20 02:09:51 +00:00
Aaron J. Seigo
9303303aa2 SVN_SILENT: TODO is done, remove it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690083
2007-07-20 02:01:56 +00:00
Andre Duffeck
40ae48275a The bounding rect is relative to the item's local coordinate system, not
the parent's one.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689841
2007-07-19 09:37:08 +00:00
Aaron J. Seigo
abd156ece2 * clarify several points in the api documentation. time to do a techbase tutorial!
* pass the exact match action into exec(). this allows runners the opportunity to store otherwise expensive information in the action and get it back easily

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689642
2007-07-18 19:09:41 +00:00
Laurent Montel
2c29040193 Make happy dashboard
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689559
2007-07-18 15:15:14 +00:00
Laurent Montel
3bca317864 Make happy dashboard
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689543
2007-07-18 14:36:42 +00:00
Aaron J. Seigo
469f8a3402 * add configxml to the build.
* move the headers section down to the install area

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689450
2007-07-18 09:34:18 +00:00
Aaron J. Seigo
681b82c0c0 a KConfigXT XML -> KConfigSkeleton class. should have all the most important items.
the qt sax stuff is -really- nice to work with; i wish i could say the same for KConfigSkeleton. i also wish i could find a way to use a templated function instead of all those nasty QLists and newFoo()s, but i got stuck on deletion in the ~Private. oh well, it works =)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689449
2007-07-18 09:26:24 +00:00
Aaron J. Seigo
f253225fba SVN_SILENT: yes that monday has come and gone
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689388
2007-07-18 06:23:29 +00:00
Aaron J. Seigo
504810736b you know what, i really don't care about supporting animated svg's in Plasma::Svg as they break the "this is an image" concept that Plasma::Svg is built around and nobody is using them right now anyways
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689385
2007-07-18 06:21:48 +00:00
Aaron Eisenberg
f4d7105ebf Center new applets in the middle of the screen
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689381
2007-07-18 06:18:47 +00:00
Script Kiddy
cbe0c1fe2d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689367
2007-07-18 05:47:25 +00:00
Aaron J. Seigo
13edb00b8e note which is the default in the apidox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689292
2007-07-18 04:58:27 +00:00
Aaron J. Seigo
089082c050 put the inherited classes on one line. even though it gets long sometimes, it makes grepping easier =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689235
2007-07-17 22:56:28 +00:00
Aaron J. Seigo
fa2907d3de indeed this is not needed as it is already reg'd by KPluginInfo. thanks vir =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689226
2007-07-17 22:31:57 +00:00
Aaron J. Seigo
c7b13e477b don't crash when we are asked to create something bogus
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689221
2007-07-17 22:26:18 +00:00
Aaron J. Seigo
f6a4e9612d * X-PlasmoidCategory => X-KDE-PluginInfo-Category
* allow filtering applets by category and parent app
* allow filtering categories by parent app

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689200
2007-07-17 21:30:27 +00:00
Leo Franchi
9f555db9a1 was not supposed to commit this file...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689198
2007-07-17 21:27:05 +00:00
Leo Franchi
f4ca9c1aca add mimetype flexibility, by storing it in a variable with getters/setters, as discussed with asiego on panel-devel
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689194
2007-07-17 21:13:41 +00:00
Aaron J. Seigo
70ecce2899 add the X-KDE-ParentApp entry here so that sycoca knows that applets will be using it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689181
2007-07-17 20:51:59 +00:00
Aaron J. Seigo
9789d8b57f make it possible to set the theme per-application, allowing krunner to share plasma's theme by default but amarok to have their own Fun(tm) too
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689180
2007-07-17 20:51:12 +00:00
Alexis Ménard
cf889b289b +add a signal when a movement animation is finished
+modify applet solid notifier to disappear when the notification is finished 



svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689154
2007-07-17 19:23:33 +00:00
Aaron J. Seigo
8f056a022a convenience setData method for when one gets a DataEngine::Data to set. useful for chaining engines together
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689132
2007-07-17 18:08:57 +00:00
Aaron J. Seigo
acbfadae12 move the desktop context menu out of corona. this reflects the design better where different views may want different menus; the dekstop menu only being appropriate for, well, the desktop; other apps may be using Corona for which "desktop" is completely irrelevant.
this also moves the desktop related items out of libplasma, making it a bit more light.

functionality has moved into CoronaView, which will soon be renamed

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689123
2007-07-17 17:55:05 +00:00
Aaron J. Seigo
5151879373 add run command to the desktop context menu
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689104
2007-07-17 16:55:27 +00:00
Lukas Kropatschek
50ee468b54 Added setStyled(bool) function for switching background and border of the widget on or off, to
have a transparent text-item for example.

getter is bool styled()


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=688835
2007-07-16 23:56:57 +00:00
Aaron J. Seigo
849800995b this isn't a publicly installed header, but may as well make them all consistent for the "Just in case" and "consistency is king" principles. also get rid of an unecessary moc #include
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=688729
2007-07-16 18:01:55 +00:00
Aaron J. Seigo
04d138869a remove dead code which; Applet manages these ids itself
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=688723
2007-07-16 17:52:49 +00:00
Urs Wolfer
44f3ee81c7 fix logical bug: non themed images work now too
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=688651
2007-07-16 14:19:36 +00:00
Script Kiddy
b4accded7e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=688104
2007-07-15 05:44:15 +00:00
Pino Toscano
1633d8d791 use QtModule/QFoo includes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=687972
2007-07-14 22:40:00 +00:00
Aaron J. Seigo
94a57ed051 * appletConfig -> config
* globalAppletConfig -> globalConfig
* add a convenience and safety method for accessing groups in the applet config, which namespaces the groups appropriately

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=687046
2007-07-12 19:14:23 +00:00
Aaron J. Seigo
843ab6a69f * addPlasmoid -> addApplet
* pop up a failure applet when that happens...

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=687030
2007-07-12 18:37:13 +00:00
Aaron J. Seigo
8ee8f97aa1 * gaurd against an args with less than 2 items in it being passed in
* add a setFailedToLaunch method to applet to allow a generic way to set such status

it's pretty fugly looking at this point, but it works; i'll work with the artists to make it prettier later.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=687027
2007-07-12 18:34:53 +00:00
Aaron J. Seigo
b82624429e - make it possible to instantiate a Plasma::Widget itself (implement all pure virtuals from QGraphicsItem)
- allow parenting it to a QGraphicsItem

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=687019
2007-07-12 18:11:50 +00:00
Aaron J. Seigo
ac35242c5d fix the indentation before i add anything to this
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=687015
2007-07-12 17:54:58 +00:00