Aaron Seigo
aa99a4f15c
tidy up the data engine plugin loading code
2014-08-29 17:24:43 +02:00
Aaron Seigo
928d5e63a5
bool Package::hasValidStructure() const
...
needed to differentiate between packages with structures and without
before path is set
2014-08-08 14:12:22 +02:00
Marco Martin
d266a9594b
valid package internalload even if just structure
...
consider a loaded package valid even if !isvalid() but does have some file
that indicates it has a valid packagestructure.
for how packages are loaded now, a package is never valid at first if has a required file:
because the path gets set only after the package is loaded
this fixes wallpaper loading
2014-08-08 11:29:23 +02:00
Hrvoje Senjan
a4e2b38d51
unbreak dataengine loading after PLUGIN_INSTALL_DIR change in e-c-m
2014-04-28 02:42:02 +02:00
Aleix Pol
9cd8f9fbeb
Port plasma code to PLASMA_RELATIVE_DATA_INSTALL_DIR
2014-04-27 23:06:32 +02:00
Kevin Ottens
72ba7b4146
Apply the astyle-kdelibs script
2014-04-26 01:48:37 +02:00
Marco Martin
a2b436aef8
remove all references to runners
2014-04-16 18:56:22 +02:00
Aleix Pol
18473c9e9e
Remove KRunner from Plasma-Framework
...
Have it as a separate KRunner framework instead
2014-02-11 18:03:06 +01:00
Aleix Pol
6c82a1ee86
Reduce compiler warnings
...
Remove unused and deprecated headers
Port some K_GLOBAL_STATIC to Q_GLOBAL_STATIC
2013-12-09 16:50:18 +01:00
Sebastian Kügler
5b33844a0b
Look up dataengines in kf5/plasma/dataengines
...
This changes the path where to find dataengines to the
subdirectory-per-servicetype setup.
Note: You'll need to update and reinstall kde-workspace/plasma, to
install the dataengines into the new path.
CCMAIL:plasma-devel@kde.org
2013-09-26 01:34:27 +02:00
Sebastian Kügler
8c93578acf
Adjust to new API
2013-09-25 17:57:12 +02:00
Aaron Seigo
5903d97966
regexps are expensive to create, we ask for packages a lot, cache the re
2013-09-13 16:29:29 +02:00
Sebastian Kügler
cd5be142ed
Use KPluginTrader to load dataengine
2013-09-12 02:29:09 +02:00
Sebastian Kügler
e81b635406
Use KPluginTrader to locate the dataengine.
2013-09-12 02:03:52 +02:00
Sebastian Kügler
58a2a8d6bb
Tests for Plasma::PluginLoader
2013-09-12 01:31:37 +02:00
Marco Martin
03b812ea06
move ShellPackage in libplasma
...
the shell plugin loader only has the look and feel package now
2013-09-02 19:25:03 +02:00
Marco Martin
834f73a101
fix loading of containmentactions plugins
2013-08-14 14:09:01 +02:00
Sebastian Kügler
d9aa851e17
Fix fallout from qDebug -> kDebug porting
...
* Multi-line debug statements were essentially broken
* There's still a bunch of #include "QDebug" in there, which seems wrong
* It's not necessary to comment most occurrences in src/plasma, since
they're wrapped wiht #ifdef NDEBUG already.
CCMAIL:ervin@kde.org
2013-08-01 12:15:38 +02:00
Kevin Ottens
0e590217f8
Port away from kdebug
2013-07-30 08:05:09 +02:00
Sebastian Kügler
d56bf246de
Port PluginLoader from KStandardDirs to QStandardPaths
2013-07-10 03:27:19 +02:00
Marco Martin
4875658944
only one constructor remains
...
explicit DataEngine(const KPluginInfo &plugin, QObject *parent = 0);
2013-04-04 18:05:03 +02:00
Marco Martin
5af5da2687
move all loading function to PluginLoader
2013-04-04 17:34:27 +02:00
Marco Martin
0830c5047b
X-Plasma-ContainmentType is Desktop by default
...
so when searching for desktops also search those who don't have
2013-03-07 19:55:45 +01:00
Marco Martin
dc9075f157
ContainmentCategories -> X-Plasma-ContainmentType
...
containments can have one and only one type
2013-03-07 19:28:06 +01:00
Marco Martin
444d49709b
move in PluginLoader metadata-related methods
...
listContainments
listContainmentsOfType
listContainmentTypes
listContainmentsForMimeType
2013-02-19 13:09:33 +01:00
Sebastian Kügler
7dfe957e66
The Big Move
...
All cpp code moves into the src/ subdirectory, as the Frameworks policy
suggests.
Directory structure should now be in line with other, future frameworks.
2013-02-14 17:17:12 +01:00