Commit Graph

119 Commits

Author SHA1 Message Date
Aaron Seigo
97a13a9dbe make DataEngineConsumer public API
this will become the prefered way to access DataEngines rather than
DataEngineManager which exposes implementation details that need to
be manually managed
2012-09-24 15:52:16 +02:00
David Faure
bf9651c51a Remove last usage of kgenericfactory.h 2012-02-21 00:11:36 +01:00
Aaron Seigo
b31a05c41e get rid of the source limiting; wasn't used, only overhead 2011-11-30 12:58:20 +01:00
Stephen Kelly
e23c2dfbd6 Merge remote-tracking branch 'origin/KDE/4.7' into frameworks
Conflicts:
	CMakeLists.txt
	cmake/modules/FindNepomuk.cmake
	kdecore/tests/kstandarddirstest.cpp
	kdeui/util/kkeyserver.h
	kio/kio/accessmanagerreply_p.h
	kio/kio/hostinfo.cpp
	plasma/containment.cpp
	plasma/data/services/plasma.protocol
	plasma/popupapplet.cpp
	plasma/tooltipcontent.h
	plasma/widgets/videowidget.h
2011-08-25 19:43:08 +02:00
Nicolás Alvarez
fe1fe477d0 DataEngine apidox: clarify that init() doesn't need to call base impl. 2011-07-18 11:33:01 -03:00
Aaron Seigo
e7106d2422 no longer provide access to the package from the class, let Package do that; adapt to Package merge 2011-07-15 13:01:17 +02:00
Aaron J. Seigo
197a679f63 note what the default is
svn path=/trunk/KDE/kdelibs/; revision=1202921
2010-12-02 19:34:22 +00:00
David Faure
f16b51270f revert the #include changes in public plasma headers, they break SC.
Instead, install kgenericfactory.h and friends again in all cases, but they only do #includes in "no deprecated" mode

svn path=/trunk/KDE/kdelibs/; revision=1195340
2010-11-10 21:38:04 +00:00
Kevin Ottens
ee5df8d9e4 More kgenericfactory.h cleanups.
svn path=/trunk/KDE/kdelibs/; revision=1195206
2010-11-10 15:25:56 +00:00
Artur Duque de Souza
4633294b1c Fix typo on docs
SVN_SILENT

svn path=/trunk/KDE/kdelibs/; revision=1169264
2010-08-28 21:46:44 +00:00
Marco Martin
db7227e7f4 setStorageEnabled() is a way more sensible function name
svn path=/trunk/KDE/kdelibs/; revision=1168023
2010-08-25 21:35:40 +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
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
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
Sebastian Kügler
8eb2ed8050 better APIDOX
svn path=/trunk/KDE/kdelibs/; revision=1141801
2010-06-23 14:19:18 +00:00
André Wöbbeking
6ef91dbdce -pedantic
svn path=/trunk/KDE/kdelibs/; revision=1136805
2010-06-10 19:57:01 +00:00
Marco Martin
3e3fd09aab clean up from the sources if somebody deletes a DataContainer
BUG:235881

svn path=/trunk/KDE/kdelibs/; revision=1136398
2010-06-09 18:04:28 +00:00
Shaun Reich
b1b93f5047 be more explicit in docs, on when/how to delete services
svn path=/trunk/KDE/kdelibs/; revision=1135278
2010-06-07 02:54:57 +00:00
Aaron J. Seigo
0f956bc95e make this painfully clear
svn path=/trunk/KDE/kdelibs/; revision=1130847
2010-05-26 15:58:56 +00:00
Aaron J. Seigo
fe70333098 never has been needed
svn path=/trunk/KDE/kdelibs/; revision=1128636
2010-05-19 20:02:31 +00:00
Shaun Reich
a5da2705a9 introduce setDefaultService(serviceName) and createDefaultService(QObject*). allows the dataengine (inheritor) to specify which service should probably be used. so applet users don't have to know those things if it's just 1
svn path=/trunk/KDE/kdelibs/; revision=1126712
2010-05-14 17:41:40 +00:00
Aaron J. Seigo
1dbdd72a15 fix up the metadat for scripting
svn path=/trunk/KDE/kdelibs/; revision=1077772
2010-01-20 21:30:18 +00:00
Rob Scheepmaker
9cb9cfe65e Push in remote widgets
svn path=/trunk/KDE/kdelibs/; revision=1018655
2009-09-02 02:27:16 +00:00
Aaron J. Seigo
5bdb436709 allow kicking all visualizations immediately rather than wait for their timeouts in the case of changes that _must_ be reflected immediatley, e.g. time changes or network availability causing first fetch of data
svn path=/trunk/KDE/kdelibs/; revision=987939
2009-06-27 01:26:33 +00:00
Marco Martin
f3cdd2086b some Q_INVOKABLEs to be used in scripts
svn path=/trunk/KDE/kdelibs/; revision=906199
2009-01-05 19:09:24 +00:00
Aaron J. Seigo
014514e808 SVN_SILENT: ws fixes
svn path=/trunk/KDE/kdelibs/; revision=903147
2008-12-30 01:00:56 +00:00
Aaron J. Seigo
bfd0c6cfba updateAllSources; second time i needed this tonight, so in it goes
svn path=/trunk/KDE/kdelibs/; revision=883535
2008-11-13 07:40:57 +00:00
Aaron J. Seigo
4b08c03726 change KDE includes to use the .h style now that we're in libs
svn path=/trunk/KDE/kdelibs/; revision=879795
2008-11-04 02:04:34 +00:00
Aaron J. Seigo
1b523b9054 ok, this time JUST the plasma dir ;)
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9 bum-de-dum! plasma to kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Richard Dale
ba4ce5716b * Fixed a small typo
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879686
2008-11-03 20:10:39 +00:00
Simon Edwards
2b932160e6 Added a pluginName() method to DataEngine to match the one in Applet. (Useful for scripting.)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874609
2008-10-21 22:22:57 +00:00
Allen Winter
e88e2faa63 first batch of small coding style fixes.
these were found while testing the Krazy style checker, which I'm adapting
for the kdelibs style.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870051
2008-10-11 16:19:04 +00:00
Alex Merry
d362e7989c When should you or shouldn't you emit sourceAdded and sourceRemoved yourself? This is when.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852803
2008-08-26 16:47:34 +00:00
Alex Merry
e293d7d785 Specify includes in apidocs, so we get
#include <Plasma/Foo>
at the top of the apidocs pages.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852289
2008-08-25 17:47:48 +00:00
Aaron J. Seigo
577a64f563 extender is not a Plasma Widget (it doesn't follow the API pattern, isn't a button/menu/etc, isn't meant to be used as a general widget in a random layout...)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841164
2008-08-02 17:46:32 +00:00
Aaron J. Seigo
34aa5d4185 apidox clarification
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838927
2008-07-29 03:28:25 +00:00
Dirk Mueller
5a2b46c73e - coding style
- more plugins to version

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833560
2008-07-17 01:27:43 +00:00
Alex Merry
d286c118e0 Apidox for the plugin export macro
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=832056
2008-07-14 00:06:33 +00:00
Marijn Kruisselbrink
21b148b963 change all ClassName::Private classes to ClassNamePrivate, and adjust friends accordingly; this makes plasma compilable with gcc < 4.2
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826893
2008-07-01 18:56:43 +00:00
Aaron J. Seigo
5f3493654f first draft of Service; still evaluating the use of KConfigSkeleton
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809020
2008-05-18 04:27:54 +00:00
Aaron J. Seigo
13fcca652e move dataengine private details into the pimpl
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802279
2008-04-29 01:17:12 +00:00
Aaron J. Seigo
47ce519fde sourceLimit -> maxSourceCount
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801062
2008-04-25 15:52:13 +00:00
Aaron J. Seigo
9250bd82b4 put sourceLimit back in, add an accessor as well. used by akonadi
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800769
2008-04-24 20:16:21 +00:00
Anne-Marie Mahfouf
fb85325fe6 API review: remove setSourceLimit()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800552
2008-04-24 11:46:06 +00:00
Anne-Marie Mahfouf
7b8547aed8 API review: checkForUpdates() -> scheduleSourcesUpdated()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800453
2008-04-24 10:07:34 +00:00
Anne-Marie Mahfouf
5492b75e95 API review: clearData() -> removeAllData()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800422
2008-04-24 08:10:30 +00:00
Anne-Marie Mahfouf
72ef8e764b API review updateSource() -> updateSourceEvent()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800417
2008-04-24 08:01:18 +00:00
Anne-Marie Mahfouf
5499de3b0c API revew sourceRequested() -> sourceRequestEvent()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800401
2008-04-24 07:32:46 +00:00
Anne-Marie Mahfouf
b11be618b0 API review SIGNAL newSource() -> sourceAdded()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800395
2008-04-24 07:15:26 +00:00