Commit Graph

360 Commits

Author SHA1 Message Date
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
Alex Merry
3d4b57b118 Clean up the APIDOX a little: spelling mistakes, seperating
the "brief description" from the "main description",
"Reimplemented from QGraphicsView" should be a comment, not
an APIDOX (so Doxygen will copy the original APIDOX down),
added docs for the export macro.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=684556
2007-07-06 22:20:57 +00:00
Alexis Ménard
fee185b328 +Add slideIn slideDown animation in plasma
Mail me if you want a simple applet wich use this animation

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=684432
2007-07-06 16:26:48 +00:00
Aaron J. Seigo
6c736f91e0 add dptr; thanks ebn!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=684181
2007-07-06 10:28:28 +00:00
Riccardo Iaconelli
cf7be10b37 Speed improvements, as reported by EBN
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=683241
2007-07-04 12:55:07 +00:00
Aaron J. Seigo
33d25b39d8 * sketch in movement animations
* add slideIn, slideOut
* change the name of the progress parameters in the animator header to
  reflect how they are actually used these days

CCMAIL:darktears31@gmail.com

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=683150
2007-07-04 09:36:50 +00:00
Aaron J. Seigo
5496acb8e9 configureDialog -> showConfigurationInterface
more explicit as to what it does and falls in line with
setHasConfigurationInterface

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=682296
2007-07-02 10:58:03 +00:00
Aaron J. Seigo
8e6578bf18 allow applets to note whether or not they provide a configure interface
and pay attention to that when creating the context menu

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=682287
2007-07-02 10:47:34 +00:00
Aaron J. Seigo
32ea32d1c7 - fix the init() method not being called
- improve the API docu to be more obvious

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=682278
2007-07-02 10:16:39 +00:00
Laurent Montel
9be47e0850 Add missing (camelcase) include
Remove old include

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=682055
2007-07-01 13:47:06 +00:00
Script Kiddy
c81c8afb92 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=681732
2007-06-30 04:34:16 +00:00
Robert Knight
6558b376af Simpler menu text. The exact choice of word for the options dialog is something that can be discussed at Akademy. Remove untranslated menu title.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=681121
2007-06-27 23:48:09 +00:00
Script Kiddy
9b8a171da8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=680810
2007-06-27 05:24:25 +00:00
Script Kiddy
1ad1ce6760 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=680394
2007-06-26 05:21:32 +00:00
Zack Rusin
0e274e2017 We've made SourceOver the default compositionMode in QPainter.
This in turn makes the default:
QPainter::fillRect(QRect(...), Qt::transparent); 
a no-op. The commit makes the fillrect actually do what, I bet
it was supposed to be doing. (but i ain't much of a gambler since
i'm not sure what it's supposed to be doin in the first place. at
least now it's doing something "weird" faster)


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=680260
2007-06-25 19:20:54 +00:00
Dirk Mueller
e285025ba5 empty
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=680089
2007-06-25 11:59:43 +00:00
Aaron J. Seigo
49f9cd42f8 adapt to new Phase API
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=679872
2007-06-25 06:02:33 +00:00
Aaron J. Seigo
45ee70aa26 * startElementAnimation -> animateElement
* animate -> animateItem
* frames -> framesPerSecond
* use the curve shape as provided by the animator
* get rid of the use of QTimeLine
    * this cuts down on the number of objects and timer events dramatically in the case of multiple simultaneous animations
    * all animations now update on the same tick
    * simplifies the management code a -lot- though now i need to do a lot more of the math

TODO: implement interval updating based on the curve shape; otherwise, works pretty well =)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=679871
2007-06-25 06:01:34 +00:00
Aaron J. Seigo
1ba292c158 * allow the animator to define the curve to use
* switch to Phase::CurveShape now that we aren't using QTimeLine

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=679868
2007-06-25 05:57:47 +00:00