Sebastian Kügler
606c565f4a
Remove deprecated K_EXPORT_PLUGIN from libplasma
2013-08-07 02:50:20 +02:00
Kevin Ottens
418bcfa75a
Add missing includes
...
The latest changes to KImageCache are slightly source incompatible, so
some types have to be included earlier.
2013-08-06 18:59:47 +02:00
Vishesh Handa
cf445d2cdb
Plasma QueryMatch: Fix documentation about non existing parameter
2013-08-06 18:50:27 +05:30
Marco Martin
d654c68713
don't call a ctor from another
...
this should work with stricter compiler options
2013-08-06 15:06:07 +02:00
Sebastian Kügler
03045bbfd1
Allow a bit more time for copying,
...
should fix spurious failures on our build slaves
2013-08-05 17:59:32 +02:00
Sebastian Kügler
b89451fb25
Merge branch 'master' into sebas/kplugins
2013-08-05 16:30:23 +02:00
Chusslove Illich (Часлав Илић)
2e7c58b987
Temporary fix for translations location binding.
...
insertCatalog calls will not be used either way.
2013-08-05 11:19:11 +02:00
l10n daemon script
07181e036c
SVN_SILENT made messages (.desktop file)
2013-08-02 04:25:21 +00:00
Sebastian Kügler
3e35fe8baa
Fix multiline qDebug
2013-08-01 12:20:29 +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
Sebastian Kügler
767cd813ae
Fix qDebug/kDebug port
...
Kevin, this apparently wasn't caught by your script. Just so you know.
:)
CCMAIL:ervin@kde.org
2013-08-01 11:47:01 +02:00
Sebastian Kügler
f034b84daf
add ctor back in that got lost during the merge
2013-07-30 21:31:12 +02:00
Sebastian Kügler
b9dec2cd99
Use kservice test as well
2013-07-30 21:26:47 +02:00
Sebastian Kügler
fd65125a24
Change macro name according to change in kdelibs
2013-07-30 21:26:16 +02:00
Kevin Ottens
0e590217f8
Port away from kdebug
2013-07-30 08:05:09 +02:00
Sebastian Kügler
839c271535
Merge branch 'master' into sebas/kplugins
2013-07-30 01:09:40 +02:00
Sebastian Kügler
33e7bc3f90
QVL is not needed in private parts
2013-07-29 17:25:08 +02:00
Sebastian Kügler
bed3980eba
Add macro for metadata handling, clean up
2013-07-29 17:22:59 +02:00
Sebastian Kügler
8da8375802
brutally add KDE4Attic
2013-07-29 11:50:47 +02:00
Sebastian Kügler
66a0a5d4e7
Clean up some KDE4-specific calls
2013-07-29 00:39:32 +02:00
Sebastian Kügler
6aeac53535
Remove QVariantList from DataEngine ctor
2013-07-28 13:06:32 +02:00
Sebastian Kügler
d3b9cf5f35
merge
2013-07-25 14:45:49 +02:00
Kevin Ottens
c42406cabc
Pull in the KDE4Attic dependency
2013-07-25 11:54:15 +02:00
Martin Gräßlin
20b9d17e4c
Adjust RunnerManager to new ThreadWeaver API using JobPointer
...
ThreadWeaver does not use Job* anymore which made the code compile fail
and some connects being wrong.
This patch adjusts RunnerManager to also use QSharedPointer<FindMatchJob>
instead of FindMatchJob*. It simplifies a few things as we do no longer
have to call e.g. qDeleteAll and fixes the incorrect connects.
REVIEW: 111650
2013-07-25 06:58:21 +02:00
l10n daemon script
07df8225d8
SVN_SILENT made messages (.desktop file)
2013-07-23 04:05:37 +00:00
Sebastian Kügler
1ac357d06b
pimp plugintest -- all work
2013-07-23 03:28:37 +02:00
Sebastian Kügler
7a4a2c438f
Clean up dataengine ctor
2013-07-23 01:49:13 +02:00
Sebastian Kügler
20aab89cd7
test name has changed
2013-07-23 01:30:52 +02:00
Sebastian Kügler
58b0398089
test name streamlined
2013-07-23 00:33:22 +02:00
Sebastian Kügler
f1f2c0518b
Disable non-compiling line, add warning
2013-07-22 23:34:29 +02:00
Sebastian Kügler
c7927b907b
Merge branch 'master' into sebas/kplugins
2013-07-22 16:37:25 +02:00
Sebastian Kügler
3894e8989e
Adapt to new threadweaver API
...
dequeueRaw is not yet in threadweaver, so this commit goes from "doesn't
build" to "almost builds", it will fix itself once Mirko has committed
the dequeueRaw patch to threadweaver, however.
2013-07-22 14:13:45 +02:00
Sebastian Kügler
668a1bc05e
Merge branch 'master' into sebas/kplugins
2013-07-16 17:49:21 +02:00
Benjamin Port
ec8cb5662b
Remove include dirs for ki18n not needed anymore with Target
2013-07-16 11:05:03 +02:00
Benjamin Port
a730d47c3c
fix build (ki18n rename)
2013-07-15 16:01:59 +02:00
Benjamin Port
239d12360c
kprotocolinfo header not in kio/ anymore
2013-07-15 15:24:25 +02:00
l10n daemon script
f8c4a90b14
SVN_SILENT made messages (.desktop file)
2013-07-14 04:18:53 +00:00
Sebastian Kügler
84cd704368
Merge branch 'master' into sebas/kplugins
2013-07-12 10:35:09 +02:00
Alex Neundorf
454bf83be3
-adapt to current changes in kdelibs regarding kde4support: use ${KDE4Support_LIBRARIES} when using it
...
Search for KDE4Support, but after searching KDELibs4, this is hackish, but currentlx necessary due to
cyclic dependencies we still have
Alex
2013-07-11 22:57:04 +02:00
Sebastian Kügler
20e67f4db6
Merge branch 'master' into sebas/kplugins
...
Conflicts:
CMakeLists.txt
2013-07-10 03:48:15 +02:00
Sebastian Kügler
d56bf246de
Port PluginLoader from KStandardDirs to QStandardPaths
2013-07-10 03:27:19 +02:00
Sebastian Kügler
0822e4cb9e
Applet::globalShortcut becomes QKeySequence
...
- Port away from KShortcut
- Use QKeySequence instead of QShortcut (which might be the obvious
choice, for two reasons:
- QKeySequence doesn't require QWidgets
- It's really all we need
This reduces KShortcut and QShortcut usage in plasma-framework to zarro.
2013-07-10 02:33:28 +02:00
Sebastian Kügler
843ad0b429
Remove kmenu include -- reduces warnings
2013-07-10 02:32:30 +02:00
Sebastian Kügler
946a800a7a
Replace QAction with KAction in containment
...
With this commit, plasma-framework is free from (direct) usage of
KAction. \o/
Removes any left-over KAction includes and fw-declarations.
2013-07-10 01:59:39 +02:00
Sebastian Kügler
af46f93a57
Corona's lock action becomes a QAction
2013-07-10 01:49:59 +02:00
Sebastian Kügler
fc2afcb9a1
Port global applet shortcut from KAction to QAction
...
- use QAction instead of KAction
- use KGlobalAccel for global shortcut registration and query
2013-07-10 01:45:41 +02:00
Sebastian Kügler
e02925b7b5
Use QAction internally in defaultActions()
2013-07-10 00:15:55 +02:00
Sebastian Kügler
46cbf56226
Use module name in includes
2013-07-10 00:12:26 +02:00
Sebastian Kügler
aff9c00761
KMenu becomes QMenu throughout
2013-07-10 00:12:26 +02:00
Sebastian Kügler
6edfe46e56
Use QAction internally in defaultActions()
2013-07-10 00:11:58 +02:00
Sebastian Kügler
21c04fd3d3
Merge branch 'master' into sebas/kplugins
...
Conflicts:
CMakeLists.txt
2013-07-09 02:34:36 +02:00
Sebastian Kügler
ca3d78dd46
Use module name in includes
2013-07-09 01:50:34 +02:00
Sebastian Kügler
ca5c059ecf
KMenu becomes QMenu throughout
2013-07-09 00:55:03 +02:00
Sebastian Kügler
e9a459a262
Instantiate KPluginInfo from args
...
This uses the new ctor in KPluginInfo, which handles the args passed
from KPluginLoader nicely and constructs a KPluginInfo from them.
2013-07-04 02:58:26 +02:00
Sebastian Kügler
5d41347527
Experiment with loading the KPluginInfo from the plugin's metadata
2013-07-03 05:13:25 +02:00
Sebastian Kügler
8b2eae67c5
Add missing cmake file
2013-07-01 13:51:04 +02:00
Sebastian Kügler
07c17812ca
Merge branch 'master' into plugins
...
Conflicts:
CMakeLists.txt
2013-07-01 04:17:09 +02:00
Sebastian Kügler
a21400096a
Load the time engine from the KService
2013-06-29 05:50:59 +02:00
Sebastian Kügler
9035691567
Adjust test to new api
2013-06-29 05:50:59 +02:00
Sebastian Kügler
6c0a13f3b1
use create factory
2013-06-29 05:50:59 +02:00
Sebastian Kügler
849d0a2b17
header has changed
2013-06-29 05:50:59 +02:00
Sebastian Kügler
dac60f8ab8
Load the time engine and get data out of it.
2013-06-29 05:50:59 +02:00
Kevin Ottens
12b2cdd19a
Now this returns true
2013-06-27 18:36:20 +02:00
Kevin Ottens
c36c625d9c
Port away from KUrl
2013-06-27 16:39:03 +02:00
Sebastian Kügler
dc94c2c83b
Add pluginstest to build
2013-06-24 15:24:33 +02:00
Sebastian Kügler
7830cad43c
small test app for plugin loading
...
Loads a dataengine right now, for testing purposes of KPlugin*
2013-06-24 15:23:45 +02:00
Sebastian Kügler
6389825172
User Q_ macros for signals and slots
2013-06-21 02:22:02 +02:00
Sebastian Kügler
cd7f92e648
Port libplasma unit tests to ECM macros
2013-06-19 02:06:55 +02:00
Andrea Scarpino
0ea93fd3d3
MacroLogFeature has been removed. See ECM_SouceIncompatChanges
...
REVIEW:111074
2013-06-17 21:43:59 +02:00
Sebastian Kügler
22d261759b
Fix up library finding
...
* Generate and install and include PlasmaTargets.cmake file
* set Plasma_LIBRARIES to KF5::plasma
-> kde-workspace build works for me.
2013-06-13 16:01:06 +02:00
Marco Martin
50ee44b70d
Merge branch 'PlasmaTypesClass'
2013-06-12 11:24:03 +02:00
l10n daemon script
6b185d2ba4
SVN_SILENT made messages (.desktop file)
2013-06-08 03:48:30 +00:00
Gregor Tätzner
ad6f58a16c
Fix build error: convert qdatetime to uint
2013-06-05 19:41:58 +02:00
Aaron Seigo
3074728198
missing const
2013-06-05 16:03:54 +02:00
Aaron Seigo
57fc52b385
forward port the cache file versioning so it drops properly in all cases
2013-06-05 15:58:51 +02:00
Kevin Ottens
9d93cb7ccc
Those files are gone, don't try to install them
2013-05-22 11:06:21 +02:00
Marco Martin
e258111e68
remove some services of deleted stuff
...
such as wallpapers and toolboxes
2013-05-21 12:02:42 +02:00
Script Kiddy
8df122a0f6
SVN_SILENT made messages (.desktop file)
2013-05-20 09:04:00 +02:00
Marco Martin
f22e4be172
fix startupcompleted constraints
...
use the new panel toolbox
2013-05-16 13:08:05 +02:00
Alex Merry
98130b33fe
Add the "theme" directory to the plasmoid directory structure
...
This adds an extra step to the lookup of SVG images created with the
Svg() global function: after looking in images/ in the plasmoid and then
in the desktop theme, it looks in theme/$DESKTOP_THEME_NAME and then
theme/ in the plasmoid.
This allows plasmoid authors to add images that they want to allow theme
authors to override.
Forward-port of review request 109857.
2013-05-16 13:05:04 +02:00
Alex Merry
ba1a7d0d35
Fix debug build
...
Fix a pointer-dereference of a non-pointer variable.
2013-05-16 13:05:04 +02:00
Marco Martin
749d8d900c
add private ctor
2013-05-15 19:56:13 +02:00
Marco Martin
aa2c4a6595
add all Q_ENUMS in Plasma::Types
2013-05-15 19:48:44 +02:00
Marco Martin
40fd2f23ca
Rename BackgroundHints
2013-05-14 21:02:54 +02:00
Marco Martin
13045faffa
rename ItemStatus
2013-05-14 20:49:50 +02:00
Marco Martin
6e113e6176
rename MarginEdge
2013-05-14 20:37:16 +02:00
Marco Martin
8f2e5b2375
renamed ComponentType
2013-05-14 20:33:34 +02:00
Marco Martin
7761a995f2
rename ImmutabilityType
2013-05-14 20:27:32 +02:00
Marco Martin
aad4945cf8
rename PopupPlacement
2013-05-14 19:16:37 +02:00
Marco Martin
7b3c29ee07
rename Plasma::Position
2013-05-14 19:08:43 +02:00
Marco Martin
6b4d1f31d1
rename Plasma::Direction
2013-05-14 18:44:12 +02:00
Marco Martin
52b42a247e
rename Plasma::ActionType
2013-05-14 18:39:07 +02:00
Marco Martin
c90e6d23cf
rename Plasma::ContainmentType
2013-05-14 18:34:40 +02:00
Marco Martin
812b9a06ab
get rid of Plasma::Location
2013-05-14 18:27:27 +02:00
Marco Martin
9b9fbf6eb9
get rid of Plasma::FormFactor
2013-05-14 18:19:33 +02:00
Marco Martin
ad2fe77745
get rid of Plasma::Constraint
2013-05-14 18:08:58 +02:00
Marco Martin
bc5d14ddb1
fix startupcompleted constraints
...
use the new panel toolbox
2013-05-13 14:25:57 +02:00
Alex Merry
33d41aea3d
Add the "theme" directory to the plasmoid directory structure
...
This adds an extra step to the lookup of SVG images created with the
Svg() global function: after looking in images/ in the plasmoid and then
in the desktop theme, it looks in theme/$DESKTOP_THEME_NAME and then
theme/ in the plasmoid.
This allows plasmoid authors to add images that they want to allow theme
authors to override.
Forward-port of review request 109857.
2013-05-11 12:30:07 +01:00
Alex Merry
355a95fe92
Fix debug build
...
Fix a pointer-dereference of a non-pointer variable.
2013-05-11 12:24:24 +01:00
Marco Martin
e07600a83f
Put all Plasma emums in a Types class
...
This makes possible to use them directly frmo QML
as a minus, is not pretty and requires tons of search and replace in old
c++ code
2013-05-10 19:29:13 +02:00
Script Kiddy
efd78e230e
SVN_SILENT made messages (.desktop file)
2013-05-09 09:23:56 +02:00
Aaron Seigo
001d88a0a4
bump the v#
2013-05-07 12:32:05 +02:00
Script Kiddy
2160fa2c71
SVN_SILENT made messages (.desktop file)
2013-05-06 09:33:23 +02:00
Script Kiddy
051ed6c8ed
SVN_SILENT made messages (.desktop file)
2013-05-04 09:56:14 +02:00
Sebastian Kügler
a8ac6ab694
Add Plasma/Generic servicetype
...
This irons out an asymmetry: Plasma/Generic was never read from
KService, as the service type wasn't registered, we just looked it up in
the right directory.
This patch allows us to use KService to list packages, the
installPackage cmake macro installs the service files for us already.
Apps that look up the package in the "right path" still work.
2013-05-02 23:54:11 +02:00
Marco Martin
1137b4ea5c
remove associated items/widgets
2013-05-02 19:02:06 +02:00
Marco Martin
8f61ecbe49
remove operationsChanged signal
2013-05-02 18:13:05 +02:00
Marco Martin
4397a6c06d
add operationEnabledChanged signal
2013-05-02 18:11:20 +02:00
Marco Martin
08ed91d7e0
Data is a QVariantmap again
...
this means that DataEngines and the Storage Service are directly usable from QML2 again
2013-05-02 18:02:38 +02:00
Marco Martin
465c202b9b
remove dead code
2013-05-02 17:42:07 +02:00
Marco Martin
5b648e5a23
complete migration, storage test passes
...
results still have to be converted in qmaps
2013-05-02 15:33:57 +02:00
Marco Martin
b0530820ec
use variant maps instead of configgroups
...
services operationdescriptions are now QVariantMaps
2013-05-02 14:46:29 +02:00
Marco Martin
aa8ed30fda
ConfigLoaderHandlerMap that loads config in maps
...
ConfigLoaderHandlerMap populates a qvariantmap instead of a kconfigskeleton
will be used by service for operations
2013-05-02 13:31:18 +02:00
Marco Martin
e58ab0bc99
move ConfigLoaderHandler in own header
2013-05-02 11:33:23 +02:00
Marco Martin
1d7c6af919
remove Service::access()
2013-05-02 11:02:06 +02:00
Script Kiddy
fc3f25b2a7
SVN_SILENT made messages (.desktop file)
2013-05-02 09:19:42 +02:00
Script Kiddy
f784cfb07f
SVN_SILENT made messages (.desktop file)
2013-04-30 17:38:15 +02:00
Marco Martin
05667460e5
less friends
2013-04-29 12:45:40 +02:00
Sebastian Kügler
a426264037
fix package root for wallpapers, makes it find the metadata, add debug
2013-04-26 23:48:50 +02:00
Marco Martin
31e39640ce
correct kdeclarative includes
2013-04-26 17:36:45 +02:00
Marco Martin
5e906f24c7
Merge branch 'configdialog_in_shell'
2013-04-26 13:28:08 +02:00
Script Kiddy
03a2990b9f
SVN_SILENT made messages (.desktop file)
2013-04-26 08:58:42 +02:00
Marco Martin
4feb02c329
config ui of applets should work again
2013-04-25 11:43:00 +02:00
Sebastian Kügler
5b95a759c9
use qdebug
2013-04-25 03:24:28 +02:00
Sebastian Kügler
77f8d35ea9
Install wallpaper, shell and lookandfeel servicetypes
2013-04-25 03:23:53 +02:00
Marco Martin
e7ca00e534
move the config dialog in the shell
...
it still doesn't successfully load
2013-04-24 22:54:46 +02:00
Script Kiddy
e1f17c63b6
SVN_SILENT made messages (.desktop file)
2013-04-23 17:19:30 +02:00
Sebastian Kügler
53a70b703d
Add servicetypes for Wallpaper, Shell and LookAndFeel
...
CCMAIL:plasma-devel@kde.org
2013-04-21 18:02:37 +02:00
Marco Martin
79d5724ef1
always emit Containment::requestConfiguration()
...
emit that signal when the configure action is treggered for each applet,
the applet pointer to the interested applet is passed
is the first step for moving config ui i the sell
2013-04-20 18:31:57 +02:00
Sebastian Kügler
788870fffc
Don't crash when an engine failed to load
...
Prevents accessing an invalid KPluginInfo object, which is passed in
here for null engines.
2013-04-10 01:50:31 +02:00
Marco Martin
5a82aa9211
remove RunnerManager::execQuery()
2013-04-08 13:14:17 +02:00
Marco Martin
f9adc7a598
remove DataEngine::init()
...
with only one ctor is not necessary anymore
2013-04-04 18:07:18 +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
037a86530d
add ctor with a KPluginInfo
2013-04-04 17:43:30 +02:00
Marco Martin
5af5da2687
move all loading function to PluginLoader
2013-04-04 17:34:27 +02:00
Marco Martin
efc1264592
use QHash<QString, QVariant> instead of Data
...
don't use extra typedefs in signatures
2013-04-04 17:34:27 +02:00
Marco Martin
41b3a17011
scheduleSourcesUpdated() is now private
2013-04-04 17:34:27 +02:00
Marco Martin
5c051f10eb
SourceDict -> QHash<QString, DataContainer*>
...
the typedef is still there, but don't use anywhere in the code
2013-04-04 17:34:27 +02:00
Marco Martin
12b5b7639d
remove DataEngine::query()
2013-04-04 17:34:27 +02:00
Marco Martin
f42192fb9b
remove DataEngine::icon()
2013-04-03 20:48:55 +02:00
Marco Martin
16e69aafcd
remove DataEngine::name()
2013-04-03 20:47:02 +02:00
Marco Martin
afe7a925d4
add DataEngine::pluginInfo()
2013-04-03 20:41:59 +02:00
Sebastian Kügler
78b6fa2c81
service's associatedItem is a QQuickItem now
2013-04-03 00:10:04 +02:00
Script Kiddy
437f003387
SVN_SILENT made messages (.desktop file)
2013-04-02 17:21:30 +02:00
Sebastian Kügler
2c226f6023
Adjust to new ThreadWeaver API
...
This change is needed to build RunnerManager against an updated
ThreadWeaver. As this change is not backwards compatible, you'll need to
update your kdelibs[frameworks] to at least 4502362ad.
CCMAIL:plasma-devel@kde.org
2013-04-02 16:24:03 +02:00
Marco Martin
6083840313
clearer menaning for id parameters
...
marchId and RunnerId vs just id
2013-04-02 13:48:10 +02:00
Sebastian Kügler
b1ce94159d
KDE::icon becomes QIcon::fromTheme
2013-04-02 12:55:37 +02:00
Marco Martin
395dc9b381
manage the case a containment behaves as an applet
...
however loading mechanism should be changed to make applets in containments always be an Applet*
2013-03-21 19:05:53 +01:00
Sebastian Kügler
58537d36ed
setFocus has gone from Applet
2013-03-19 03:33:33 +01:00
Script Kiddy
f2d22f09a3
SVN_SILENT made messages (.desktop file)
2013-03-18 09:00:44 +01:00
Stephen Kelly
d8258866f4
Fix build in debug mode.
...
It seems some plasma API has changed, so I just commented it out. It
can be uncommented by someone who knows what to change it to.
2013-03-16 12:19:54 +01:00
Script Kiddy
de7289fe14
SVN_SILENT made messages (.desktop file)
2013-03-16 09:39:01 +01:00
Script Kiddy
e331e06425
SVN_SILENT made messages (.desktop file)
2013-03-14 09:57:34 +01:00
Marco Martin
99bab1825e
get rid of PaintUtils
...
the only one using it was PlasmaCore.IconItem, move the transition() function there
2013-03-13 12:05:06 +01:00
Marco Martin
8df5da1c50
group files by topic in the cmake file
2013-03-13 11:56:24 +01:00
Marco Martin
620478614a
remove unused QGraphics* includes
2013-03-13 11:45:34 +01:00
Marco Martin
8eb21b7e21
remove deleted classes from doxygen index
2013-03-13 11:34:32 +01:00
Marco Martin
4219697fcb
remove Corona::defaultContainmentActionsPlugins()
2013-03-13 11:32:00 +01:00
Marco Martin
7abd6d81d5
remove s_positioningContainments
2013-03-13 11:32:00 +01:00
Marco Martin
d884d396ec
remove offscreenWidgets
2013-03-13 11:32:00 +01:00
Marco Martin
45c55b22b2
remove preferredToolBoxPlugin
2013-03-13 11:32:00 +01:00
Marco Martin
054f443469
remove defaultContainmentPlugin
2013-03-13 11:32:00 +01:00
Marco Martin
3bfbc31381
remove some not used includes
2013-03-13 11:32:00 +01:00
Marco Martin
aa3652ec86
make svg stylesheet private
...
there isn't anymore the "SVG" magic parameter in Theme:: styleSheet()
2013-03-12 21:45:14 +01:00
Script Kiddy
edb2603012
SVN_SILENT made messages (.desktop file)
2013-03-12 17:26:19 +01:00
Marco Martin
fd97160327
remove the singleton usage from everywhere
2013-03-12 16:29:04 +01:00
Marco Martin
fe9ebd86a8
remove the ThemePrivate singleton
2013-03-12 13:03:06 +01:00
Marco Martin
2006df44cc
make sure we connect themeChanged
2013-03-11 22:39:15 +01:00
Marco Martin
0ca0934370
themePrivate instances are kept in statics
...
as a static pointer with refcount if "global" and internal refcounted hash if created with name
2013-03-11 22:26:15 +01:00
Marco Martin
3edbe10c8c
make ThmemePrivate a QObject
...
and remove every reference of ThemePrivate::q, this is needed for
sharing the same ThemePrivate between Thme einstances (there would be more then one q)
2013-03-11 20:20:50 +01:00
Marco Martin
4d71b527dc
move ThmemePrivate in own file
...
it will make easier making it implicitly shared
2013-03-11 19:24:07 +01:00
Marco Martin
ed84d47425
removed connection to removed slot
2013-03-11 18:58:58 +01:00
Marco Martin
44781d4b35
make settingsChanged() private
2013-03-11 18:08:03 +01:00
Marco Martin
b7a079f87d
replace homepage() with pluginInfo()
...
a KPluginInfo will have the homepage from the desktop file but also the other data as well such as author and description
2013-03-11 18:01:22 +01:00
Marco Martin
ae120ba02d
remove useNativeWidgetStyle
2013-03-11 17:44:00 +01:00
Marco Martin
62c8a7b500
don't expose windowTranslucencyEnabled
2013-03-11 17:39:42 +01:00
Marco Martin
bf79616342
get rid of the FontRole enum
2013-03-11 17:15:25 +01:00
Marco Martin
74d1a62bdd
remove fonts from Plasma::Thmeme
...
replace FontProxy with default QFont QML2 bindings
2013-03-11 16:59:39 +01:00
Marco Martin
f07387267a
remove fontMetrics()
2013-03-11 16:08:37 +01:00
Marco Martin
d0b4b462f0
remove properties and invokables from Theme
2013-03-11 16:03:05 +01:00
Aaron Seigo
961dd4d6ce
make setting a custom max cache size work
...
replaces the data member for tooltip, which API has been removed
2013-03-11 14:35:47 +01:00
Aaron Seigo
30589b391a
double the size of the cache; i find that it gets fill on desktop too fast
2013-03-11 14:35:47 +01:00
Sebastian Kügler
f429f83153
typos--
2013-03-11 13:07:54 +01:00
Aaron Seigo
224946e394
less jumping around and desktop assumptions
2013-03-11 12:49:59 +01:00
Script Kiddy
ca81fda6e7
SVN_SILENT made messages (.desktop file)
2013-03-10 08:58:07 +01:00
Marco Martin
af6e538fa4
make the desktop scripting finally work
...
completely migrate to X-Plasma-ContainmentType from the desktop file, use it to set the containment type as soon as possible (in Containment::init())
in this way the desktop script can recognize panels as what they are immediately
2013-03-07 21:25:30 +01: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
9e2240bd8c
get shell package from config
2013-03-05 16:44:13 +01:00
Marco Martin
6043baef89
adapt to kaboutdata api changes
2013-03-05 14:43:14 +01:00
Marco Martin
53c161fb58
packages without structure are invalid
2013-03-05 14:23:52 +01:00
Marco Martin
8646393758
shell package partly working
2013-03-05 13:58:18 +01:00
Marco Martin
90cf52e6c6
remove shortcutsChanged()
2013-03-04 16:50:01 +01:00
Marco Martin
e49b58c95d
remove initializeLayout()
2013-03-04 16:48:17 +01:00
Marco Martin
759780ce3f
remove releaseVisualFocus
2013-03-04 16:33:59 +01:00
Marco Martin
55add92bf8
remove actionCollections and shortcut config dlg
2013-03-04 16:28:51 +01:00
Marco Martin
9f6fbec2f3
remove updateShortcuts() and addShortcut()
2013-03-04 16:25:37 +01:00
Marco Martin
bc3c23187d
remove containmentForScreen(int, QString, QVariantList)
...
this function is redundant, you can use containmentForScreen(int) then create a containment if returns 0
2013-03-04 16:18:06 +01:00
Marco Martin
585c1ec21e
remove appletMimeType()
...
addContainment becomes createContainment
2013-03-04 16:15:04 +01:00
Marco Martin
f4de55af67
use KAction from kde4support
...
it should buld again, usingkaction as type for kactioncollection
2013-03-04 15:46:47 +01:00
Marco Martin
79256d9931
remove AbstractDialogManager
2013-03-04 15:21:26 +01:00
Marco Martin
89d7cbd648
CoronaBase->Corona
...
Corona was renamed CoronaBase in early stages of plasma2 life, then back to Corona, remove all signs of CoronaBase
2013-03-04 14:56:55 +01:00
Aaron Seigo
3edcbc51a3
better name for the method, and the setter will be replaced by package content
2013-03-04 13:51:13 +01:00
Sebastian Kügler
efb57d45b9
fix typos
2013-03-04 13:43:23 +01:00
Sebastian Kügler
a1afc6644b
Fix typos in apidocs
2013-03-04 13:10:44 +01:00
Aaron Seigo
e9c25137e3
add a configmodel item to the package
2013-03-02 00:05:50 +01:00
Marco Martin
6f5a593d91
WallpaperInterface for wallpapers
...
will be used to provide configuration access and a configuration UI
2013-03-01 15:11:08 +01:00
Marco Martin
fda16dee08
don't export AppletPrivate
2013-03-01 14:29:14 +01:00
Marco Martin
c3924c75b7
remove createConfigurationInterface
...
configuration interface stuff is done right now in the ConfigView class, right now in the qml scriptengine (may be moved to the shell eventually)
2013-03-01 11:36:58 +01:00
Marco Martin
b88339cb4a
attempt to load different page set for containments
2013-02-28 16:33:44 +01:00
Marco Martin
0b6770e2b2
Containment::addApplet -> Containment::createApplet
2013-02-28 13:32:47 +01:00
Alex Neundorf
f07a425546
-fix build, find ThreadWeaver via KF5
...
I thin using the variables is safer, this way you are somewhat guarded against changes
in the names of targets, and a typo leads to an empty variable, instead to
"ld: cannot find -lkcoreaddons" which looks very much like a missing normal library
Alex
2013-02-27 21:45:35 +01:00
Sebastian Kügler
b14ab3f1b6
Improve error handling a bit, and clean up outdated FIXMEs
2013-02-27 06:48:57 +01:00
Sebastian Kügler
90b022435a
Make validation of zipped packages possible
...
- move the unpack block into its own function
- unzip if necessary, and point validator and metadata loader at this
function
- manually delete the tempdir, to keep it as long as the Package is
alive
This patch makes it possible to upgrade packages from .plasmoid files.
2013-02-27 06:46:28 +01:00
Sebastian Kügler
c8202da160
update sycoca after uninstalling, debug--
2013-02-27 03:36:53 +01:00
Sebastian Kügler
ff721cf8ae
Respect packageRoot when uninstalling, not path()
2013-02-27 03:05:05 +01:00
Aaron Seigo
56d73373ac
when reseting the config loader, also make it re-read the config
2013-02-26 14:50:41 +01:00
Aaron Seigo
9478edaa05
lazy create the config loader on demand, reset when appropriate
2013-02-26 14:50:41 +01:00
Aaron Seigo
7ab77c4e6d
don't parse xml if we are given nothing to parse
2013-02-26 14:50:41 +01:00
Aaron Seigo
9be56f7724
clear our data when we parse
2013-02-26 14:50:41 +01:00
Marco Martin
3a5e5f931b
close window on ok/cancel pressed
...
delete window on close
2013-02-26 12:47:08 +01:00
Aaron Seigo
9ab4acd23a
get rid of constructors which take QVariantList args as much as possible
...
was used to pass in URLs to construct the applet with ... which is
not the nicest of APIs as it is entirely undocumentable
2013-02-25 18:08:12 +01:00
Marco Martin
e00f0b10bb
remove ContainmentActions::ContainmentActionsSource
...
all containmentactions are global separed by containment type
2013-02-25 16:55:28 +01:00
Aaron Seigo
1649761e0d
remove enableAction API; just use the KActionCollection
2013-02-25 16:43:06 +01:00
Aaron Seigo
a674a7b894
expose the KActionCollection rather than wrap its API
2013-02-25 16:36:27 +01:00
Aaron Seigo
c9ff91fb0f
expose the KActionCollection instead of wrapping its API
2013-02-25 16:31:26 +01:00
Aaron Seigo
0db4b9b870
don't add actions from the corona -> keyboard shortcuts aren't handled here anyways
2013-02-25 16:19:16 +01:00
Aaron Seigo
f2f96c507e
remove actions related to focus; that belongs in script engine
2013-02-25 16:19:16 +01:00
Aaron Seigo
6122c2d2d1
get rid of associated widgets -> one less QWidget usage!
...
was still being used for global shortcuts .. turns out that isn't
necessary
2013-02-25 16:19:16 +01:00
Marco Martin
23e5277dbf
remove ContainmentPrivate::defaultWallpaperMode
2013-02-25 15:59:46 +01:00
Marco Martin
2f2039ed23
remove ContainmentPrivate::globalContainmentActionPlugins
2013-02-25 15:58:31 +01:00
Marco Martin
342146b2fc
get rid of ContainmentActionsPluginConfig
...
expose directly the hash of default plugins from Corona for the default plugins to use as containmentActions, getting rid of this class that is in the end just a wrapper
2013-02-25 15:47:16 +01:00
Marco Martin
c3a536a7a4
replace name, pluginName and icon with pluginInfo()
...
add ContainmentAction::pluginInfo()
2013-02-25 14:49:42 +01:00
Marco Martin
f00987658b
remove ContainmentActions::configAccepted()
2013-02-25 14:43:16 +01:00
Marco Martin
d68087f410
performNextAction/performPreviousAction
2013-02-25 14:42:02 +01:00
Marco Martin
4ab7b3d044
remove ContainmentActions::triggerableContextAction
2013-02-25 14:39:46 +01:00
Marco Martin
b704d0a33a
ContainmentActions has no friends
2013-02-25 14:38:22 +01:00
Marco Martin
de57997384
remove ContainmentActions::init()
2013-02-25 14:35:06 +01:00
Marco Martin
4a24e49317
remove ContainmentActions::configurationRequired
...
plugins will have to manage themselves wether they need to be configured
2013-02-25 14:31:36 +01:00
Marco Martin
4052f596f9
remove properties and dataEngine
...
dataEngine() is no more present in ContainmentActions: DataEngineConsumer is public now
2013-02-25 14:28:05 +01:00
Script Kiddy
459b49fff9
SVN_SILENT made messages (.desktop file)
2013-02-22 18:03:06 +01:00
Marco Martin
cfe6a40d3d
ad a stub config ui
...
the config ui layout will be decided from the corona.
the desktop one will end up having desktop components
still missing:
* binding to plasmoid object
* way close the dialog
* use ok/apply/cancel
* how to implement difference between ok to apply and instant apply?
2013-02-22 15:10:55 +01:00
Albert Astals Cid
0b091ec503
Add missing "
2013-02-22 13:43:24 +01:00
Marco Martin
f4a4bb55de
sync panel position to containment location
2013-02-21 17:49:52 +01:00
Marco Martin
0a587eae5e
compare only applet ids, because geometries are not here anymore
2013-02-19 14:19:08 +01:00
Marco Martin
3ce3048ad1
Containment::ToolType -> Plasma::ActionType
...
actions categories are no more Toolbox-specific, but generic properties for actions
2013-02-19 14:04:20 +01:00
Marco Martin
f5b51c7c54
Containment::Type -> Plasma::ContainmentType
2013-02-19 13:52:32 +01:00
Marco Martin
444d49709b
move in PluginLoader metadata-related methods
...
listContainments
listContainmentsOfType
listContainmentTypes
listContainmentsForMimeType
2013-02-19 13:09:33 +01:00
Marco Martin
2686bed090
remove unused includes
2013-02-19 13:00:57 +01:00
Marco Martin
959103e004
ean removed friends and memebers
2013-02-19 12:41:31 +01:00
Marco Martin
32cbdac6e2
separe containmentactions and containment
...
most of containmentactions related stuff is now out of containment. some entanglement still exists
2013-02-19 12:03:53 +01:00
Marco Martin
ca799b08bf
containmentActions logic is in ContainmentInterface
...
a copy is still in Containment, will be cleaned in next commit
2013-02-19 11:52:51 +01:00
Marco Martin
6941264229
remove toolBox related signals
2013-02-18 20:14:26 +01:00
Marco Martin
206c5cfb5e
make containmentActionsConfig private
...
it will eventually have to be removed but for now the config needs to exist before the containmentactions instance, therefore still has to be out of ContainmentActions
2013-02-18 20:12:31 +01:00
Marco Martin
5b8ee2a834
remove add and remove ToolBoxAction
2013-02-18 19:09:57 +01:00
Marco Martin
79ebeb0a37
Applet::destroy() no more virtual
2013-02-18 19:01:50 +01:00
Marco Martin
d3448c01d6
remove Containment::destroy()
2013-02-18 18:59:47 +01:00
Marco Martin
86d89bf634
port more to new connect syntax to catch more errors
2013-02-18 18:54:44 +01:00
Marco Martin
bb005f1cc5
remove perVirtualdesktop views
...
remove any desktop reference from setScreen and containmentForScreen
along with lastScreen and lastDesktop
2013-02-18 18:05:45 +01:00
Marco Martin
0e8115b697
get rid of desktop and lastScreen accessors
...
remove Containment::desktop() lastDesktop(), lastScreen()
2013-02-18 17:57:05 +01:00
Marco Martin
94720b0cb4
get rid of Containment::clearApplets()
2013-02-18 17:50:15 +01:00
Marco Martin
87cbad5565
get rif of showDropZone
2013-02-18 17:41:34 +01:00
Marco Martin
38145bedba
get rid of context menu and wheel events
2013-02-18 17:37:47 +01:00
Marco Martin
2d845a4c91
get rid of position in addApplet()
2013-02-18 17:28:29 +01:00
Aaron Seigo
1303008ee6
clearContainments is unused and ACTUALLY remove the containments when init'ing
2013-02-18 13:17:48 +01:00
Aaron Seigo
dcc4c58bf7
keep the trailing slash as long as the package is a dir
...
also, use chop :)
2013-02-18 12:22:35 +01:00
Sebastian Kügler
c662f09a7c
Create the service directory, in case it doesn't exist.
...
Fixes package installation with non-existing local directories.
2013-02-18 04:09:50 +01:00
Sebastian Kügler
bbf7e910ec
Fix loading plugininfo from file
...
Remove trailing slash from the path as it might point to a file, in
which case the file info lookup will fail.
2013-02-18 04:08:00 +01:00
Script Kiddy
a2efe7fb54
SVN_SILENT made messages (.desktop file)
2013-02-17 08:30:09 +01:00
Script Kiddy
72e2b9f1b6
SVN_SILENT made messages (.desktop file)
2013-02-16 09:56:02 +01:00
Marco Martin
a139247403
correctly emit appletRemoved
...
applet remove animation
At the moment is possible only to animate the disappearance of the background, the applet is immediately deleted.
how could be possible to animate the applet as well? (the graphic object should get to live more than Applet* and AppletScript* themselves)
2013-02-15 18:10:46 +01:00
Marco Martin
44b92bec42
make the destroy action work
2013-02-15 18:10:46 +01:00
Aaron Seigo
9a65f002ea
move signing test into staging for now
2013-02-15 16:34:58 +01:00
Aaron Seigo
0842ae1b1a
Revert "use Credentials in ServiceJob again"
...
This reverts commit 99088c6669
.
2013-02-15 16:34:58 +01:00
Aaron Seigo
40c316e09c
Revert "use Credentials in ServiceJob again"
...
This reverts commit 99088c6669
.
src/plasma/signing_p.h
2013-02-15 16:34:57 +01:00
Aaron Seigo
3bdef4ca2b
testpackage completeness
2013-02-15 16:34:57 +01:00
Marco Martin
99088c6669
use Credentials in ServiceJob again
2013-02-15 15:44:17 +01:00
Marco Martin
7be75cab65
restore authentication-related files
...
authentication was removed by mistake together remote widgets
2013-02-15 15:37:33 +01:00
Aaron Seigo
8978db179f
add the testing package
2013-02-15 15:17:32 +01:00
Aaron Seigo
aea5627ef4
fix packagestructure test
2013-02-15 15:16:54 +01:00
Marco Martin
dc5ccd2d76
be quiet
2013-02-14 19:56:36 +01:00
Marco Martin
4e44bc4c31
support for containment type in the desktop file
...
add a test panel containment
2013-02-14 19:12:11 +01:00
Sebastian Kügler
fe528a6fea
Fix up include dirs
2013-02-14 17:32:41 +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