Commit Graph

36 Commits

Author SHA1 Message Date
Aaron J. Seigo
eb5e0658df SVN_SILENT: silly "make it seem faster" obfuscatory code like this just sets my teeth on edge =) clarity is next to goddessliness
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773474
2008-02-11 06:07:14 +00:00
Aaron J. Seigo
ee32d3c996 remove the use of 1209 explicitly now that i have Winter's Magic Formula for default debug space. makes backporting way easier; sorry for the noise of the earlier commit. suppose i should read planetkde.org more closely ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758498
2008-01-08 01:25:09 +00:00
Aaron J. Seigo
12ef6308cb use the plasma debug area (1209); i considered wrapping this in Plasma::debug() but that seems overkill ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758415
2008-01-07 20:50:31 +00:00
Alex Merry
77ef55b587 Bye, bye, deprecated KLibLoader usage.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758257
2008-01-07 12:50:17 +00:00
Jakob Petsovits
7acf4a2317 Icon renaming (code and icon changes - KDE/):
* bookmark -> bookmarks
* and finally, remove user-2 and konv-message[2] from Oxygen

svn path=/trunk/KDE/kdelibs/; revision=757019
2008-01-03 23:54:18 +00:00
Alexis Ménard
5326f56dbb setFocus on the textinput by default
Close BUG : 154748

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754471
2007-12-29 21:52:40 +00:00
Jakob Petsovits
9f2e3e276e Icon naming spec compliance (code changes - KDE/):
edit-add -> list-add

You have no idea how hard it was to reduce the number of
"add" icons from two to one. I nearly died in the process :-S
The difficult part, of course, was to find the answer
to the everlasting question "What does each icon mean?"

And these are my findings:

* If you add anything to a list (or something else that is
  some kind of collection of items), you use list-add.
* If you remove something from that list (or collection)
  without destroying the removed object itself (because
  it's only a reference to something outside),
  you use list-remove.
* If you delete something from that list (or collection)
  and the item that you deleted had its home in the list
  and is therefore destroyed on removing,
  then you use edit-delete.

Phew. Who wants to open up a TechBase article on using icons?

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=753984
2007-12-28 21:26:03 +00:00
Adriaan de Groot
03436aad7d The usual includes dance
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746994
2007-12-10 19:50:31 +00:00
Adriaan de Groot
febb919d3e Same workaround for bad include file / dir handling.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746980
2007-12-10 19:38:31 +00:00
Chani Armitage
950cc1c149 appletbrowser gets a remove icon and a filter for running applets
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746735
2007-12-10 01:18:57 +00:00
Aaron J. Seigo
9c31a55b06 use the corrrect signature for the virtual method
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741173
2007-11-25 00:13:49 +00:00
Alexander Wiedenbruch
e4765f3dcd Sort the applets alphabetically to make it easier to find the right applet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=740196
2007-11-22 19:39:16 +00:00
Aaron J. Seigo
3d3beac449 * setting the application in the ctor is really ugly. use an accessor for that.
* upon using the accessor i disocvered they didn't actually do anything except set the member variable; no changes actually took place in the dialogs.

eventually, we should probably consider moving the application name to a central location in libplasma, e.g. a Plasma::setMainComponent(KComponentData&) that initializes itself to the app's mainComponent()... there's too many of these app name things around

also, when the item model updates itself, the view in the dialog doesn't. i've added a hack in AppletBrowser::setApplication to re-set the item model on the view. maybe Ivan you could take a look at that sometime? it's not overly critical as it works for now due to the hack.

CCMAIL:lfranchi@gmail.com
CCMAIL:ivan.cukic+kde@gmail.com

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733614
2007-11-06 21:10:11 +00:00
Leo Franchi
845139ae0a add support for filtering applets based on specified application. useful for non-plasma targets (e.g. amarok). default behavious remains the same.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733292
2007-11-06 02:45:24 +00:00
Aaron J. Seigo
e2f8093c2e SVN_SILENT: dunno why i committed this in the first place, probably just missed it in the import
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=730442
2007-10-28 19:59:40 +00:00
Aaron J. Seigo
733a6071a2 not used anymore
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729788
2007-10-27 03:36:14 +00:00
Rafael Fernández López
e1868db200 smooth scrolling++
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729565
2007-10-26 07:58:12 +00:00
Aaron J. Seigo
08d99afd90 use the NoDisplay property to hide things, as per tradition
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729064
2007-10-25 01:42:32 +00:00
Aaron J. Seigo
30afcb5ef9 * don't create multiple rows in the case of an sk applet; this does mean that you can't mix'n'match plasmoids and sk themes in the same .desktop file, but i can't see that as a bad thing tbh
* don't show items that are in the group "Hidden"

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=728714
2007-10-24 01:04:36 +00:00
Frerich Raabe
a08108b482 - Initialize this variable (it's used conditionally in resizeEvent)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=727696
2007-10-21 13:51:49 +00:00
Aaron J. Seigo
ea36afad03 * appletbrowser is part of libplasma now, not a separate entity
* get all the sources when generating the pot file

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725169
2007-10-14 20:09:06 +00:00
Alexander Wiedenbruch
ea4a368a42 The integration of SuperKaramba into Plasma is now done
by the SuperKaramba Plasma Applet alone that comes with SuperKaramba itself.

- Remove all previous functions to load SuperKaramba themes
- Add special code into applet browser to handle the theme loading

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724563
2007-10-12 17:30:30 +00:00
Ivan Čukić
b378ed6c64 Changing the licensing to GNU Library/Lesser GPL
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724416
2007-10-12 08:44:02 +00:00
Ivan Čukić
f4936ae814 License text change...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724403
2007-10-12 08:16:40 +00:00
Ivan Čukić
599a527eb0 Used in the past emblem enabled
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723318
2007-10-09 10:00:54 +00:00
Ivan Čukić
700fe7d498 Added support for remembering favorites in the plasmarc file
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723316
2007-10-09 09:51:55 +00:00
Ivan Čukić
9ef8749a7f Made recommended plugins configurable. The default 'Recommended by KDE' is removed and should be added to the default plasmarc file.
Example plasmarc section:

[Applet Browser]
recommended.kde.icon=help-about-kde
recommended.kde.caption=KDE
recommended.kde.plugins=digital-clock

recommended.debian.icon=debian-logo
recommended.debian.caption=Debian
recommended.debian.plugins=groupphoto

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723162
2007-10-08 21:50:38 +00:00
Pino Toscano
dae62a8fcc extra ';', remove custom implementation of qMin()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718860
2007-09-29 21:45:20 +00:00
Ivan Čukić
8f9c48ce04 Dragging now shows plasmoid icons instead of ItemViewDelegate painted items.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718817
2007-09-29 19:11:27 +00:00
Aaron J. Seigo
bf8a2905be we really don't need this testing output now, though i'm keeping it there (just commented out) so one can easily test things still. (better would be a test in tests/, but this is ok for the immediate)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717967
2007-09-27 20:02:24 +00:00
Aaron J. Seigo
8db658db8e and now with the old appletbrowser out of the way, move the
AppletBrowserWindow-now-AppletBrowser files to where they once were (oh
what we go through to make sure nobody's builds break and svn doesn't
puke on me)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717963
2007-09-27 19:55:18 +00:00
Aaron J. Seigo
a64cea3758 - remove AppletBrowser-the-wrapper-class
- change AppletBrowserWindow to be AppletBrowser

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717959
2007-09-27 19:48:51 +00:00
Aaron J. Seigo
7ec22e70a1 - make AppletBrowserWindow a KDialog not a QDialog
- use standard buttons
- get rid of the completely superfluous ui file for the dialog
- add a dptr, move to Plasma namespace (why will become apparent shortly)


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717956
2007-09-27 19:39:28 +00:00
Aaron J. Seigo
2e1b4dcda3 - name the uninstalled headers _p.h
- correct ordering of headers in many files
- remove some unneeded headers such as iostream

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717932
2007-09-27 18:51:31 +00:00
Ivan Čukić
8a811e46f7 * applet browser's add button works
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717892
2007-09-27 17:50:31 +00:00
Ivan Čukić
49b3e4b13b Import of the Plasma Applet browser into the libplasma
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717167
2007-09-26 07:44:06 +00:00