Commit Graph

6154 Commits

Author SHA1 Message Date
Script Kiddy
e8cabacbb4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1157842
2010-08-01 07:01:05 +00:00
Marco Martin
6162c8af99 add the last missing piece: KPluginInfo::List listToolBoxInfo
svn path=/trunk/KDE/kdelibs/; revision=1157557
2010-07-31 15:24:19 +00:00
Marco Martin
72a06cdd14 The Desktop ToolBox and the Panel ToolBox becomes plugins, shipped with
Plasma-Desktop (so shells have to implement their own plugins or pick
one already installed)

Unfortunately, 3 virtuals were needed in AbstractToolBox
void restore(const KConfigGroup &group);
void save(const KConfigGroup &group);
void reposition();

since this is not possible for obvious BC reasons, they are "faked" with
slots, not really nice butthe most painless way.

There shouldn't be significant regressions, but wise to keep an eye on
it in the immediate future

CCMAIL:plasma-devel@kde.org


svn path=/trunk/KDE/kdelibs/; revision=1157537
2010-07-31 13:02:07 +00:00
Script Kiddy
bccac847d1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1157473
2010-07-31 07:28:58 +00:00
Aaron J. Seigo
f12dec10f6 follow the QGraphicsWidget API a bit closer; a little awkward because we're marrying it with the plugin loading API which isn't a 100% match
svn path=/trunk/KDE/kdelibs/; revision=1157321
2010-07-30 17:13:40 +00:00
Marco Martin
02faf90355 new property:
preferredToolBoxPlugin(Containment::Type)
used to decide what toolbox plugin dynamically load, only corona
implementations can decide this.

api review anyone? ;)

CCMAIL:plasma-devel@kde.org

svn path=/trunk/KDE/kdelibs/; revision=1157190
2010-07-30 12:46:22 +00:00
Andreas Holzammer
94a87ab2a3 - made kdelibs for wince static
svn path=/trunk/KDE/kdelibs/; revision=1157186
2010-07-30 12:31:39 +00:00
Marco Martin
457cfcb89a support load by plugin from AbstractToolBox
what stinks is the both support direct creation -and- plugin loading,
but has to be BC
could be the case to add it to PluginLoader? don't see big use cases
CCMAIL:plasma-devel@kde.org


svn path=/trunk/KDE/kdelibs/; revision=1157180
2010-07-30 12:12:31 +00:00
Aaron J. Seigo
87a29d9efc createStandardContextMenu can return null; guard against that
BUG:246018

svn path=/trunk/KDE/kdelibs/; revision=1156698
2010-07-29 14:49:06 +00:00
Script Kiddy
e57e1b8c80 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1156523
2010-07-29 07:32:51 +00:00
Aaron J. Seigo
47c26b3726 erf; this got committed in amongst code for a different problem and reintroduced br#179819
BUG:245743

svn path=/trunk/KDE/kdelibs/; revision=1156388
2010-07-29 03:26:06 +00:00
Brian David Pritchett
1259ea24cd Redid much of the storage capability and implemented many suggestions.
svn path=/trunk/KDE/kdelibs/; revision=1156347
2010-07-28 23:28:31 +00:00
Alessandro Diaferia
fb56692aa8 phonon includes
svn path=/trunk/KDE/kdelibs/; revision=1156338
2010-07-28 22:40:53 +00:00
Aaron J. Seigo
4a2f04564b offer info listing as a feature of the manager, use PluginLoader a bit here (needs work to be fully disentangled)
svn path=/trunk/KDE/kdelibs/; revision=1156226
2010-07-28 18:19:00 +00:00
Aaron J. Seigo
6a09a6bb63 use PluginLoader
svn path=/trunk/KDE/kdelibs/; revision=1156225
2010-07-28 18:18:13 +00:00
Aaron J. Seigo
aad4d4b60f and the implementation bit of the last commit to the header *sigh*
svn path=/trunk/KDE/kdelibs/; revision=1156224
2010-07-28 18:17:58 +00:00
Aaron J. Seigo
ccd6cd16ee complete runner and service aspects of pluginloader
svn path=/trunk/KDE/kdelibs/; revision=1156223
2010-07-28 18:17:36 +00:00
Aaron J. Seigo
e944870acc index this property
svn path=/trunk/KDE/kdelibs/; revision=1156222
2010-07-28 18:17:04 +00:00
Marco Martin
6b864f6b96 if you map to global the position of the view, you'll get coordinates dpubled
map 0,0 instead

svn path=/trunk/KDE/kdelibs/; revision=1156165
2010-07-28 16:57:41 +00:00
Christophe Giboudeaux
5f61cc03b8 -Wmissing-include-dirs
svn path=/trunk/KDE/kdelibs/; revision=1156073
2010-07-28 14:23:52 +00:00
Aaron J. Seigo
2d47f2452d introduce the internal plugin info loaders, including standard implementations which applications may elect to take advantage of
svn path=/trunk/KDE/kdelibs/; revision=1155704
2010-07-27 22:07:53 +00:00
Aaron J. Seigo
7cbf6e1651 this can be simplified even further now
svn path=/trunk/KDE/kdelibs/; revision=1155700
2010-07-27 22:07:07 +00:00
Sebastian Kügler
6b78ceb627 In true [ade] spirit, complete some apidocs while I read through this header
svn path=/trunk/KDE/kdelibs/; revision=1155692
2010-07-27 21:37:45 +00:00
Aaron J. Seigo
00e4cabd06 SVN_SILENT ocd strikes again
svn path=/trunk/KDE/kdelibs/; revision=1155689
2010-07-27 21:24:50 +00:00
Giulio Camuffo
698d924ded AppletHandle is no more parent of Applet, removing an unuseful piece of code that could cause problems
svn path=/trunk/KDE/kdelibs/; revision=1155655
2010-07-27 19:54:26 +00:00
Script Kiddy
a38bbc2e3a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1155395
2010-07-27 09:12:26 +00:00
Ryan James Rix
8d2574b6d9 Moving Plasma::Applet::listAppletInfo into the PluginLoader logic. Also implemented internalAppletNames which, if implemented, will return a QStringList of the available applets' names. PluginLoader::listAppletInfo will then search for .desktop files in $APPDATA/plasma/applets/ which match the applets' names (ie. $APPDATA/plasma/applets/org.skrooge.report.desktop), and add them to the KPluginInfo::List returned by PluginLoader::listAppletInfo and subsequently Plasma::Applet::listAppletInfo.
Since the applets are dynamically loaded, the .desktop files don't need an X-KDE-Library entries, but the others will be used, for example X-KDE-PluginInfo-Name (which will be the value given to PluginLoader::internalAppletLoad, so it is really important), Icon, Type, ServiceTypes...

svn path=/trunk/KDE/kdelibs/; revision=1154551
2010-07-25 20:56:03 +00:00
Aaron J. Seigo
7e23828338 build
svn path=/trunk/KDE/kdelibs/; revision=1153772
2010-07-24 00:52:46 +00:00
Aaron J. Seigo
fc92307f06 ssssh
svn path=/trunk/KDE/kdelibs/; revision=1153771
2010-07-24 00:52:37 +00:00
Andreas Demmer
90c8d09d11 initial commit of the KWin dashboard effect
svn path=/trunk/KDE/kdelibs/; revision=1153704
2010-07-23 19:52:20 +00:00
Marco Martin
2687d8595b add an option in extenderitem to use a config group completely in memory, intended for extenderitems that really aren't supposed to be saved and restored on disk.
the notifications one, but more important the job ones really don't have a big point to be saved.


svn path=/trunk/KDE/kdelibs/; revision=1153692
2010-07-23 19:29:50 +00:00
Giulio Camuffo
2a46966c22 don't call restore() two times when swapping the containment
svn path=/trunk/KDE/kdelibs/; revision=1153214
2010-07-22 20:06:06 +00:00
Vitor Boschi da Silva
5faa771dcb fixed typo in the documentation
svn path=/trunk/KDE/kdelibs/; revision=1153054
2010-07-22 13:41:21 +00:00
Aaron J. Seigo
6dfeeb5fe9 uncessary to call it here; restore takes care of this
svn path=/trunk/KDE/kdelibs/; revision=1152622
2010-07-21 15:58:25 +00:00
Aaron J. Seigo
3a2ffb1238 call restore on new containments too
svn path=/trunk/KDE/kdelibs/; revision=1152621
2010-07-21 15:57:36 +00:00
Aurélien Gâteau
beca8835e1 Set page step of scrollbars
This way the size of the scrollbar slider represents the visible portion of
the scrolled widget.

svn path=/trunk/KDE/kdelibs/; revision=1151665
2010-07-19 09:59:59 +00:00
Aaron J. Seigo
78119ec9f4 SVN_SILENT: tidy
svn path=/trunk/KDE/kdelibs/; revision=1150752
2010-07-16 17:04:45 +00:00
Jacopo De Simoi
7879ff137c Do not paint twice most Plasma::Label out there!
svn path=/trunk/KDE/kdelibs/; revision=1150751
2010-07-16 17:04:37 +00:00
Aaron J. Seigo
451049664e * various FIXME notes in dataengine.cpp; Brian, if you could look through them and ask if you have any questions regarding them
* only check for stored data if the DataContainer is thusly marked; removes a huge bottleneck for non-storage-backed engines; currently this probably breaks storage support (since marking the source as storage related probably happens after it is created and so this doesn't get calle?) but there is a FIXME note there that states what the fix should be
* some code clean ups

CCMAIL:batenkaitos@gmail.com

svn path=/trunk/KDE/kdelibs/; revision=1150416
2010-07-15 21:58:58 +00:00
Aaron J. Seigo
5a75a81f53 remove virtual from these methods, clarify the apidox
svn path=/trunk/KDE/kdelibs/; revision=1150415
2010-07-15 21:54:06 +00:00
Aaron J. Seigo
4a9bf348fe init the vals
svn path=/trunk/KDE/kdelibs/; revision=1150411
2010-07-15 21:41:29 +00:00
Aaron J. Seigo
a6155e5659 move all plugin loading to the PluginLoader class.
svn path=/trunk/KDE/kdelibs/; revision=1150409
2010-07-15 21:38:56 +00:00
Aaron J. Seigo
fd71ff404b * loadEngine -> loadDataEngine
* ws clean up
* add to the apidox a bit
* add a ctor

svn path=/trunk/KDE/kdelibs/; revision=1150391
2010-07-15 21:11:20 +00:00
Ryan James Rix
e00a7b2422 Adds ability for applications which embed plasma to specify a class which
plasma will query for Applet, DataEngine, and Service creation, giving them
the chance to create these objects internally.

http://reviewboard.kde.org/r/4554/


svn path=/trunk/KDE/kdelibs/; revision=1150389
2010-07-15 21:06:21 +00:00
Marco Martin
ab688e2471 try to disable ItemSendsGeometryChanges, if won't cause problems, it could be put in several places in plasma
svn path=/trunk/KDE/kdelibs/; revision=1150355
2010-07-15 19:11:29 +00:00
Aaron J. Seigo
4c4996ac3b this id should not be reset
svn path=/trunk/KDE/kdelibs/; revision=1149949
2010-07-14 17:15:20 +00:00
Marco Martin
1d1e382b19 no more window icons
svn path=/trunk/KDE/kdelibs/; revision=1149634
2010-07-13 21:49:01 +00:00
Marco Martin
748d85362c set null icons on the widgets after been put in a proxy.
would hopefully cause a bit less pixmap usage

svn path=/trunk/KDE/kdelibs/; revision=1149631
2010-07-13 21:32:07 +00:00
Aaron J. Seigo
b2d37c0604 delete the widget snapshot; i bet that's where the pixmaps are leaking from
svn path=/trunk/KDE/kdelibs/; revision=1149617
2010-07-13 20:33:08 +00:00
Laurent Montel
d443bee9f4 Fix compile
svn path=/trunk/KDE/kdelibs/; revision=1149276
2010-07-13 05:55:31 +00:00