Commit Graph

6285 Commits

Author SHA1 Message Date
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
Brian David Pritchett
2d98d307f2 I accidently deleted a file that was needed! Readding.
svn path=/trunk/KDE/kdelibs/; revision=1149245
2010-07-13 01:07:30 +00:00
Brian David Pritchett
53a227a43f This adds the first iteration of data caching for dataengines.
svn path=/trunk/KDE/kdelibs/; revision=1149185
2010-07-12 20:51:12 +00:00
Giulio Camuffo
8002b2415b add support for adding two qgw on the sides of the tabbar
svn path=/trunk/KDE/kdelibs/; revision=1148951
2010-07-12 08:29:49 +00:00
Marco Martin
12a3da4aa4 if the applet parent of this popupapplet is -not- a containment, always collapse the popup
svn path=/trunk/KDE/kdelibs/; revision=1148414
2010-07-10 15:10:08 +00:00
Aaron J. Seigo
836e012dd4 set the target widget, and reverse the flow of the animation (temporary workaround for 4.5 release)
svn path=/trunk/KDE/kdelibs/; revision=1148348
2010-07-10 10:49:34 +00:00
Aaron J. Seigo
c79a1fb1f1 SVN_SILENT: ws
svn path=/trunk/KDE/kdelibs/; revision=1148342
2010-07-10 10:41:47 +00:00
Marco Martin
396972c468 be sure to not insert the same action two times
svn path=/trunk/KDE/kdelibs/; revision=1147196
2010-07-07 15:59:02 +00:00
Giulio Camuffo
93a955c984 do the proper animation when deleting the current tab
svn path=/trunk/KDE/kdelibs/; revision=1147189
2010-07-07 15:17:48 +00:00
Davide Bettio
3cf1e32282 Fixes the year toolbutton hover bug in Plasma::Calendar.
svn path=/trunk/KDE/kdelibs/; revision=1147175
2010-07-07 14:24:38 +00:00
Thiago Macieira
b94b7b1d54 Don't call setPriority on a non-started thread.
QThread documentation says this doesn't do anything, so it's just
pointless. More than that, though, it's printing a warning.

svn path=/trunk/KDE/kdelibs/; revision=1146963
2010-07-07 07:22:19 +00:00
Script Kiddy
9571b898bb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1144879
2010-07-01 06:53:11 +00:00
Marco Martin
59211cfea4 remove old unused variable
svn path=/trunk/KDE/kdelibs/; revision=1143742
2010-06-28 16:29:37 +00:00
Marco Martin
60b151b23e discard the stored active tab rectangle if the animation is not running
BUG:225355

svn path=/trunk/KDE/kdelibs/; revision=1143717
2010-06-28 16:08:30 +00:00
Marco Martin
791fa67a23 recalculate the active tab rectangle when a tab gets added or removed
BUG:243002

svn path=/trunk/KDE/kdelibs/; revision=1143660
2010-06-28 13:00:54 +00:00
Script Kiddy
d55911f7c0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1143269
2010-06-27 06:38:43 +00:00
Christoph Feck
9699d16a19 Do not hard code font sizes or names
Also, avoid constructing a font in the first place. This might help
for the (original) bug 198294, where Plasma::Theme::font() crashes
in widget creation.

CCBUG: 198294

svn path=/trunk/KDE/kdelibs/; revision=1143197
2010-06-26 20:55:52 +00:00
Christoph Feck
d4016c881f SVN_SILENT Remove unused Q_UNUSED macro
because the the variable is used but there is no Q_USED macro
(commit message changed for thiago because he thinks the previous
commit message was wrong ;)

svn path=/trunk/KDE/kdelibs/; revision=1143189
2010-06-26 20:33:10 +00:00
Christoph Feck
26ca332629 SVN_SILENT Q_UNUSED
svn path=/trunk/KDE/kdelibs/; revision=1143188
2010-06-26 20:29:58 +00:00
Christoph Feck
8ba19991d7 SVN_SILENT Q_USED
svn path=/trunk/KDE/kdelibs/; revision=1143186
2010-06-26 20:24:23 +00:00