Commit Graph

25 Commits

Author SHA1 Message Date
Aaron J. Seigo
61b1dccc3d don't load from plasma-appletsrc by default, provide a convenience
method for that however (e.g. mirror the saveApplets methods)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696806
2007-08-05 22:44:07 +00:00
Aaron J. Seigo
b41bd5f532 * loading and saving of applets; allows one to define which config file,
which keeps us on the path to being able to snapshot and share layouts
* extend addApplet with optional params for applet id and starting geometry

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696631
2007-08-05 13:03:54 +00:00
Aaron J. Seigo
0eafb46fc4 * save applet config on exit
* introduce Applet::destroy which will perform cleanups, like deleting
  config files, etc..

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696586
2007-08-05 09:39:32 +00:00
Aaron J. Seigo
0491b8b112 immutable -> isImmutable.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691135
2007-07-23 00:24:36 +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
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
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
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
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
12a1706eb0 i don't like const
and const don't like me
so i offer you
    this apology:

i promise to try
    to remember the friend
who prevents us from mucking
    things up in the end

all hail const!
my poetry sucks!
the end. <3

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=679514
2007-06-24 06:35:49 +00:00
Aaron J. Seigo
3fd8500159 isImmutable -> immutable
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=679063
2007-06-22 22:07:13 +00:00
Aaron J. Seigo
fb8d5d353f * take an optional list of arguments to passs into applets
* create button applets not icon widgets on drop

honestly, not sure i like the qstringlist of argument approach, but that's what klibloader gives me

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=677941
2007-06-20 08:11:59 +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
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
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
Laurent Montel
65be58f69e Remove not necessary "class classname;"
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=671233
2007-06-04 08:24:29 +00:00
Aaron Eisenberg
8674306992 Added the ability to lock all Applets and the Desktop.
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=671176
2007-06-04 00:25:44 +00:00
Aaron J. Seigo
bbaebc6b1b move workspace/plasma/lib to workspace/lib/plasma so that we can do:
#include <plasma/foo.h>

in headers in libplasma. this is important so that they can be used post-install by third party plugins, apps, etc.

also, changed Applet::loadDataEngine to just Applet::dataEngine and make it actually return the data engine; move the applets to using it. safer and fewer LoC

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=670850
2007-06-02 17:29:39 +00:00
Aaron J. Seigo
3471f8e078 remove the applet from the applets list in the corona on destruction
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670628
2007-06-02 07:51:11 +00:00
Aaron J. Seigo
df56575ef4 add the ability to get at the max size hint constraint
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670578
2007-06-02 04:47:09 +00:00
Aaron J. Seigo
5a7134ba21 a little control in the toolbar to switch form factors
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670533
2007-06-01 22:06:19 +00:00
Alexander Wiedenbruch
0de27801c9 Add KarambaManager for easier loading of SuperKaramba themes
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670527
2007-06-01 21:32:03 +00:00
Aaron J. Seigo
7212ae5b5f applets are no aware of their constraints. the simple solution is often the best one.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670285
2007-05-31 22:40:38 +00:00
Aaron J. Seigo
2c5f8a75bf move Corona to libplasma where others can enjoy it and where we can use it from Applet
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670279
2007-05-31 22:27:33 +00:00