Commit Graph

4028 Commits

Author SHA1 Message Date
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
Alex Merry
7de863a242 kill an unused variable (relic of a previous implementation)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=686947
2007-07-12 13:27:05 +00:00
Alex Merry
71c21577d3 Add categories to plasmoids. The actual category names are subject
to change at some point - a definitive list on techbase will probably
be assembled.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=686945
2007-07-12 13:24:35 +00:00
Aaron J. Seigo
1e5cdae3ea - ensure we always return something from loadDataEngines
- m_engines -> engines since it is in the d ptr
- don't bother with the null engine in the engine dict and fix unloadEngine with that in mind


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=686321
2007-07-11 03:08:57 +00:00
Alex Merry
2b4b22883d Make the APIDOX not lie, and change the logic to make sense
(loadDataEngine will always return a data engine - it just
might not be valid).

I changed it this way, rather than changing the test to
engine->isValid(), since all the plasmoids written so far
blindly assume a valid pointer is returned.  (In fact, they
all blindly assume the correct data engine is returned, but
at least this way they shouldn't crash plasma :-P)


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=686301
2007-07-11 01:24:43 +00:00
Riccardo Iaconelli
349e57629d Let's use the right cursor on the lineedit
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=686047
2007-07-10 13:16:33 +00:00
Allen Winter
63bae4267e remove kde4_automoc()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=685984
2007-07-10 09:14:12 +00:00
Script Kiddy
5abd0b2787 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=685927
2007-07-10 04:37:45 +00:00
Aaron J. Seigo
606b1862a7 add clearData() methods
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=685602
2007-07-09 09:33:15 +00:00
Alexis Ménard
44bf51c596 +Disable old medianotifier autostart, it now has to be loaded explicitely to be used.
+Add new applet solidnotifier wich will in future show new devices.I put it directly here because it was a 
default applet wich will be loaded on start. Send me email if problem.
+Modify solidnotifierengine in order to connect it with solid.Just connect signal, no filter and so
+Problem in solidnotifier applet->don't find the solidnotifier engine.See it later.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=684582
2007-07-06 23:54:56 +00:00