Sebastian Kügler
c244c5a24a
Port theme away from KGlobalSettings
2013-10-05 06:19:51 +02:00
Sebastian Kügler
2ca0e0eff2
find KDELibs4
2013-10-05 04:30:19 +02:00
Sebastian Kügler
38fb14baaa
KGlobalSettings replaced by QFontDatabase for smallestReadableFont
2013-10-05 02:48:09 +02:00
Sebastian Kügler
1d42fdb7a0
use lowercase includes
2013-10-05 02:48:09 +02:00
Marco Martin
fab4818c92
allow plasmoids to change icon
...
changing icon will change the icon of the default compact representation
2013-09-23 16:44:31 +02:00
Marco Martin
786bd7b7af
emit uiready also for empty containments
2013-09-13 20:03:25 +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
590cb7baa7
a property in Applet to tell if the user is configuring
...
pure model, doesn't actually carry the config dialog, but serves as bookkeeping
2013-08-20 18:17:20 +02:00
Aaron Seigo
55d6c78c9a
forward port of patch from master to fix crash due to non-existing theme
2013-08-14 14:07:19 +02:00
Marco Martin
04650605e5
don't emit uireadychanged if not changed
2013-08-12 13:38:31 +02:00
Marco Martin
8750d01f40
move the tracking of uiReady into libplasma
...
doesn't still have nothing about ui, is completely bookkeeping, but is
easier to have it correct there
2013-08-09 21:51:13 +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
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
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
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
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
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
Kevin Ottens
c36c625d9c
Port away from KUrl
2013-06-27 16:39:03 +02:00
Sebastian Kügler
6389825172
User Q_ macros for signals and slots
2013-06-21 02:22:02 +02:00
Marco Martin
50ee44b70d
Merge branch 'PlasmaTypesClass'
2013-06-12 11:24:03 +02: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
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
Marco Martin
13045faffa
rename ItemStatus
2013-05-14 20:49:50 +02:00
Marco Martin
7761a995f2
rename ImmutabilityType
2013-05-14 20:27:32 +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
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
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
Marco Martin
1137b4ea5c
remove associated items/widgets
2013-05-02 19:02:06 +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
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
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
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
Marco Martin
e7ca00e534
move the config dialog in the shell
...
it still doesn't successfully load
2013-04-24 22:54:46 +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
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
41b3a17011
scheduleSourcesUpdated() is now private
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
Sebastian Kügler
78b6fa2c81
service's associatedItem is a QQuickItem now
2013-04-03 00:10:04 +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
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
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
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
620478614a
remove unused QGraphics* includes
2013-03-13 11:45:34 +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
aa3652ec86
make svg stylesheet private
...
there isn't anymore the "SVG" magic parameter in Theme:: styleSheet()
2013-03-12 21:45:14 +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
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
55add92bf8
remove actionCollections and shortcut config dlg
2013-03-04 16:28:51 +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
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
0b6770e2b2
Containment::addApplet -> Containment::createApplet
2013-02-28 13:32:47 +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
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
9be56f7724
clear our data when we parse
2013-02-26 14:50:41 +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
f2f96c507e
remove actions related to focus; that belongs in script engine
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
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
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