Commit Graph

1233 Commits

Author SHA1 Message Date
Marco Martin
1b2a75a819 add some i18n() in the test applet 2013-08-22 17:01:28 +02:00
Marco Martin
d58f1d0a17 revert last commit
create compactRepresentation in the compactrepresentation *component*
creation context

this way root is accessible by id
2013-08-22 15:04:56 +02:00
Marco Martin
dbc02cd44b root qml item accessible from plasmoid.rootItem
this way objects in compactRepresentation can access the root object
properties as plasmoid.rootItem.propertyName
2013-08-22 14:55:05 +02:00
Sebastian Kügler
9745fe5535 fix TypeError on dialog exit 2013-08-22 04:51:35 +02:00
Sebastian Kügler
824c8d0511 Set wallpaperplugin to the ConfigDialog before applying
Makes switching between wallpaper plugins work for me.
2013-08-22 04:47:47 +02:00
Sebastian Kügler
757e1d4a3e Coding style 2013-08-22 04:47:29 +02:00
Marco Martin
0a73ce2850 if hover events are accepted, intercept them too 2013-08-20 23:03:57 +02:00
Marco Martin
4426b4e089 ensure the panel doesn't get focus
will still have to get it when an applet status marks itself as accepting input
2013-08-20 22:54:48 +02:00
Eike Hein
4d5bac5f22 Ignore child event types we're not explicitly interested in.
MouseEventListener listens to both child events and events passing
through itself; child events are recorded so the handler for the
latter can perform a comparison and avoid emitting signals for the
same event again. However, this comparison could fail because the
member used to record the last child event would also be updated
for events we were not actually interested in.

A real-world example of this is opening a popup menu in repsonse to
a Press event. This causes an Ungrab event on the child, which would
cause the comparison to fail and mousePressEvent to announce the same
press yet again.

CCBUG:323067
2013-08-20 19:53:46 +02:00
Marco Martin
b690e612cc expose correctly useConfiguring 2013-08-20 18:34:52 +02:00
David Edmundson
0ddc59af24 Enable QML Debugger
REVIEW: 112127
2013-08-20 17:27:37 +01:00
Marco Martin
b768f17c14 get rid of paintInterface 2013-08-20 18:19:39 +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
Marco Martin
98612b983d use the global type for ContainmentType 2013-08-20 17:21:05 +02:00
Martin Gräßlin
531e6c3db5 Fix linking
KDEUI is dead which caused quite some collateral damage in our
CMakeLists.
2013-08-20 07:47:09 +02:00
l10n daemon script
c3742a068c SVN_SILENT made messages (.desktop file) 2013-08-20 04:24:25 +00:00
Marco Martin
d68e452545 correctly pass fillWidth and hints to outer layers 2013-08-19 18:29:14 +02:00
Marco Martin
ea69577005 export fillWidth/fillHeight properties
with those should hopefully be possible to have widgets behaving like the taskbar
2013-08-19 17:44:40 +02:00
Marco Martin
5e376058c8 remove old test panel 2013-08-19 17:08:03 +02:00
Marco Martin
9aba51f7a3 put a windowlist in the panel by default 2013-08-19 15:54:21 +02:00
heena mahour
1e36c3b326 Merge branch 'heenamahour/plasma2' 2013-08-17 08:18:35 +00:00
heena mahour
b17ca9f007 Merge branch 'heenamahour/gsoc' of git://anongit.kde.org/plasma-framework into heenamahour/plasma2 2013-08-17 08:15:01 +00:00
l10n daemon script
3880ffb13f SVN_SILENT made messages (.desktop file) 2013-08-17 04:14:06 +00:00
heena mahour
31fe4360a7 original Desktop 2013-08-16 16:16:44 +00:00
heena mahour
3fb515ca6d Added margin Hints to highlight and indent Desktop.qml 2013-08-16 15:36:32 +00:00
heena mahour
57d2b1ee18 Added marginHints in Highlight.qml 2013-08-16 15:16:43 +00:00
Marco Martin
902f98ed6e make sure the plugin config gets restored 2013-08-14 15:13:35 +02:00
Marco Martin
834f73a101 fix loading of containmentactions plugins 2013-08-14 14:09:01 +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
6be0228694 export containmentactions plugins in the new way 2013-08-14 11:45:12 +02:00
Marco Martin
6440cc0bee less border margin 2013-08-14 10:42:56 +02:00
Sebastian Kügler
0d909073c5 noise-- 2013-08-14 05:48:03 +02:00
Sebastian Kügler
b14d63b367 Don't crash when an applet can't be loaded from disk 2013-08-14 05:47:38 +02:00
Sebastian Kügler
2256c5ad1c Fix text elide in button and toolbutton
Also use a Plasma.Label, instead of doing it on our own
2013-08-14 05:46:55 +02:00
Sebastian Kügler
c76b5137e2 Fix empty group operations
There appears to be a subtle change in KConfig*, which means that if a
config group is empty, it won't be listed in groupsMap. Since operations
files can have empty groups, which are simply calls without arguments,
these would not be listed, and thus not be callable at all.

Fix: Add a dummy item per group, not beautiful, but effectively makes it
work.
2013-08-14 03:29:46 +02:00
Sebastian Kügler
7fb579610a Return QObject* instead of Service*
Service* is not understood as return type, QObject is.
2013-08-14 03:26:43 +02:00
Marco Martin
7515f665c7 make possible for wallpaper plugins to align with
the plugin combobox
2013-08-13 20:30:36 +02:00
heena mahour
5766fcc9cd ehh, not be pushed 2013-08-13 12:53:44 +00:00
Marco Martin
4c2a1046c2 use just a combobox 2013-08-13 14:44:07 +02:00
Marco Martin
2a293e0680 fix left sidebar 2013-08-13 14:08:08 +02:00
Marco Martin
32d04b1809 fix wallpaper selection 2013-08-13 11:57:31 +02:00
Marco Martin
d12cf22305 default to "desktoptoolbox" 2013-08-13 11:10:56 +02:00
Martin Gräßlin
f50a5412ba Drop windowId property from PlasmaCore.Dialog
Property windowId was according to the comments only provided because
KWin needed it. KWin's usecase was to know the window Id of the window
where a given item is rendered to. In QtQuick a QQuickItem provides a
pointer to the QQuickWindow holding the item. This means this hack is no
longer needed.

REVIEW: 112033
2013-08-13 06:47:10 +02:00
Sebastian Kügler
0b5d791e2b Add lockWidgets to containment interface 2013-08-13 04:19:13 +02:00
Sebastian Kügler
0859a1fe58 header cleanup 2013-08-13 01:34:42 +02:00
Sebastian Kügler
8fd2313b88 Macro name change: installPackage becomes plasma_install_package
This naming is in line with the naming policy for frameworks.
2013-08-13 01:01:39 +02:00
Sebastian Kügler
f5d8853624 Reduce KStandardDirs usage 2013-08-13 00:43:51 +02:00
Sebastian Kügler
61fc0fece0 replace testcontainment with real desktopcontainment
Delete the testcontainment package, which is only one file + metadata
anyway.

This means that in order to run the default plasma-shell, an
installation of kde-workspace[frameworks-scratch] is needed.
2013-08-12 22:59:21 +02:00
Marco Martin
7d607b49a8 show panel also if is the last containment to be added in startup 2013-08-12 20:08:36 +02:00
Marco Martin
bd82f72a40 fix layout 2013-08-12 18:41:21 +02:00
Kevin Ottens
72485975cb It is the sole user of isMultiHead so move the code there 2013-08-12 18:12:11 +02:00
Marco Martin
0978d2f73a Merge branch 'mart/prettyStartupSequence'
Conflicts:
	src/scriptengines/qml/plasmoid/containmentinterface.cpp
2013-08-12 14:42:58 +02:00
Marco Martin
78978cd7e3 get rid of appletcreationtimer 2013-08-12 14:38:10 +02:00
Marco Martin
ebe6bbe1ab init the panels only when desktops are ready 2013-08-12 14:35:02 +02:00
Marco Martin
daf4f9daa9 debug-- 2013-08-12 13:39:49 +02:00
Marco Martin
04650605e5 don't emit uireadychanged if not changed 2013-08-12 13:38:31 +02:00
Sebastian Kügler
6fb75ac5f8 use plasma_add_plugin macro 2013-08-10 01:22:48 +02:00
David Faure
83cc2a25f4 Some KStandardDirs->QStandardPaths porting 2013-08-09 22:11:42 +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
Marco Martin
8ff1ace31c containment connection happens before 2013-08-09 20:17:11 +02:00
Sebastian Kügler
59ea65e859 Include QUrl instead of qurlpathinfo.h
Fixes build. Thanks to Teo for detective work! :)

CCMAIL:teo@kde.org
2013-08-09 17:06:41 +02:00
Marco Martin
ebdfbb2e25 containments emit uiready only when all applets did 2013-08-09 14:58:36 +02:00
Marco Martin
0d9bc6d7be fix delayed loading of containments 2013-08-09 11:56:58 +02:00
Sebastian Kügler
fd3f1eaa35 Reduce KDE4 usage in cmake setup 2013-08-09 05:22:20 +02:00
Sebastian Kügler
db9b0016d1 remove last remains of kdebug 2013-08-09 04:14:26 +02:00
Marco Martin
336055edc5 experiment in delaying the panel creation 2013-08-08 22:18:45 +02:00
Marco Martin
f979e1bbcb remove view::init 2013-08-08 20:23:53 +02:00
Marco Martin
5d4f1b381f load the wallpaper before setting the screen
we want the wallpaper showing before the plasmoids.
we still need to load the wallpaper only after a screen has been
assigned, but will be done after
2013-08-08 17:59:30 +02:00
Marco Martin
ce13335f36 make really sure the wallpaper is loaded only once
and that an empty wallpaper is not loaded at all
2013-08-08 17:21:11 +02:00
Marco Martin
9b52bfad89 the scriptengine has an uiReady property
will be used for some experiments later: we can track if the ui
machinery has been correctly initialized.
we'll use that to ensure the applets gets initialized and prepared only
after their containment has been
2013-08-08 16:12:31 +02:00
Marco Martin
279c622b27 remove include() 2013-08-08 15:52:13 +02:00
Marco Martin
8c93e1f6cd remove loadui/loadservice 2013-08-08 15:51:29 +02:00
Marco Martin
f69f40c909 remove configChanged() 2013-08-08 15:38:40 +02:00
Marco Martin
484b7d9b55 port to new connect syntax 2013-08-08 15:37:13 +02:00
Marco Martin
980e482f4d convert a bunch of connects to new syntax
avoid future risks of connects silently failing
2013-08-08 13:50:03 +02:00
Marco Martin
0ed6b09e85 remove relkeaseVisualFocus, was unused and not belonging to Applet
anymore
2013-08-08 13:37:36 +02:00
Sebastian Kügler
fcad129997 Remove K_EXPORT_PLUGIN macro from platformstatus 2013-08-07 02:54:32 +02:00
Sebastian Kügler
b57678f5d1 Remove K_EXPORT_PLUGIN macro from kpart 2013-08-07 02:54:20 +02:00
Sebastian Kügler
7554419e1d Remove K_EXPORT_PLUGIN macro from plasma/scripting 2013-08-07 02:52:37 +02:00
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
Alex Richardson
7e8f62acad fix including sortfiltermodeltest.moc 2013-08-06 18:21:25 +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
Marco Martin
d1a3f07bce stackview has the currentitem, not page property 2013-08-06 14:35:16 +02:00
Eike Hein
f63357bd29 Make the setData() accessor take a QVariant as payload.
The implementation now specifically tries to support byte arrays
being passed in, which is what the base class speaks. To try and
retain the previous behavior anything else is attempted to be
converted to a string and failing that, silently dropped.

REVIEW:111748
CCBUG:322567
2013-08-06 12:01:53 +02:00
Sebastian Kügler
0368d7423c Merge branch 'sebas/kplugins'
This includes the ctor for dataengines, plus some more work on this topic.

REVIEW:111691
2013-08-05 18:37:41 +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
Marco Martin
d49956e458 delay collapse of the applet in popup
is expensive, so event-compress
also, since the creation of qml objects is async (and the event loop will continue to go) it may cause race conditions instead
2013-08-05 17:43:27 +02:00
Sebastian Kügler
b89451fb25 Merge branch 'master' into sebas/kplugins 2013-08-05 16:30:23 +02:00
Marco Martin
100c940a63 propagate size hints from compact representation 2013-08-05 15:46:36 +02:00
Marco Martin
ea42678895 make minimumWidth/maximum/implicit exportable
both the applet and its compact representation can now export minimumWidth,implicitWidth etc and those are exported to the root graphics item.

the minimum width of the applet is used to collapse in popup
2013-08-05 15:37:21 +02:00
Marco Martin
16ad4d7a14 sunc alignment too 2013-08-05 13:50:36 +02:00
Marco Martin
838c8569f9 less noise 2013-08-05 13:44:23 +02:00
Marco Martin
a4d9a394db correctly update layout when the formfactor changes 2013-08-05 13:42:11 +02:00
Marco Martin
ca2f8a7a3a install in the right place 2013-08-05 13:28:59 +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
Marco Martin
83e5e96278 use controls layouts 2013-08-05 10:47:59 +02:00
heena mahour
18266f3ab7 import org.kde.dirmodel 2.0 installed 2013-08-03 10:21:05 +00:00
Marco Martin
c0f5a18184 proper resize 2013-08-02 20:38:12 +02:00
Marco Martin
66b974be59 reexport screenchanged signal 2013-08-02 17:35:18 +02:00
Marco Martin
3065e80679 adjust borders when the panel moves 2013-08-02 17:33:57 +02:00
Marco Martin
e5eb38faad enable borders based on location 2013-08-02 16:26:36 +02:00
l10n daemon script
07181e036c SVN_SILENT made messages (.desktop file) 2013-08-02 04:25:21 +00:00
Kevin Ottens
3eaa4d83f4 runnermodeltest is manual not automated 2013-08-01 12:38:47 +02: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
Giorgos Tsiapaliokas
6d000fe183 s/QVariantHash/QVariantMap.
QVariantHash isn't consumable from QML
2013-07-29 19:09:06 +03: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
66bcd2ba95 Process arguments -- unbreaks plasmapkg 2013-07-29 16:40:11 +02:00
Sebastian Kügler
8da8375802 brutally add KDE4Attic 2013-07-29 11:50:47 +02:00
Sebastian Kügler
89d886ddf9 Port away from KDE4* macros 2013-07-29 00:40:41 +02:00
Sebastian Kügler
66a0a5d4e7 Clean up some KDE4-specific calls 2013-07-29 00:39:32 +02:00
Sebastian Kügler
cf04b69494 Port away from KDE4 2013-07-29 00:18:14 +02:00
Sebastian Kügler
302c10cd9e Check if applet's plugininfo is valid 2013-07-29 00:16:21 +02:00
Sebastian Kügler
6aeac53535 Remove QVariantList from DataEngine ctor 2013-07-28 13:06:32 +02:00
Sebastian Kügler
8f65a6c349 Disable KIO::KEMailSettings until it's fixed 2013-07-26 00:54:42 +02:00
Sebastian Kügler
8d21b76595 Reinstate K_EXPORT_PLUGIN 2013-07-26 00:54:12 +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
ec29302515 Update types API 2013-07-22 17:00:02 +02:00
Sebastian Kügler
4141a5f074 Update types API 2013-07-22 16:59:40 +02:00
Sebastian Kügler
0d6098875d Merge branch 'master' into sebas/kplugins 2013-07-22 16:45:13 +02:00
Sebastian Kügler
98fa023616 KDEDModule has moved to KDBusAddons 2013-07-22 16:44:54 +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
06925637a7 Merge branch 'master' into sebas/kplugins 2013-07-18 11:59:42 +02:00
Marco Martin
0234bae6d4 port category delegate to qtcontrols 2013-07-16 23:37:20 +02:00
Marco Martin
6f8cda6fea appletconfiguration completely ported 2013-07-16 21:20:41 +02:00
Marco Martin
8e9ae71e19 first porting of simple pieces to QtControls 2013-07-16 21:16:28 +02:00
Marco Martin
c0f3730686 forward port the scrolling fixes of plasma1 vers 2013-07-16 19:30:25 +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
0d2b2e2893 Port widgetsexplorer from KStandardDirs to QStandardPaths 2013-07-10 03:46:22 +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
Aleix Pol
80bf4d66da Adapt to changes in QCommandLine 2013-07-03 19:16:19 +02:00
Sebastian Kügler
de78cb0b95 Port away from KService usage 2013-07-03 17:22:39 +02:00
Sebastian Kügler
c035f704a1 Port away from KService usage 2013-07-03 17:22:20 +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
a9c022f5b9 Cleanups 2013-07-03 05:12:30 +02:00
Sebastian Kügler
95aa0eee7d remove tdata accessor again 2013-07-03 00:41:54 +02:00
Sebastian Kügler
f9502edb14 Convert to use QVariantMap throughout
This makes it possible again to use DataSource.data from QML. Some more
optimizations are needed, but it already basically works.
2013-07-03 00:39:54 +02:00
Sebastian Kügler
ad08301db4 Add temporary QVariantMap data accessor 2013-07-02 03:21:30 +02:00
Marco Martin
5b0b17f86a respect contents hints 2013-07-01 18:21:29 +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
13e7584eea Port to new macro 2013-07-01 03:58:25 +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
Ivan Čukić
1680e728ee Properly initialize kded dbus object
- kded module uses underscore instead of a dash
- dbus interface is based on the generated adapter
- added the d_ptr template class
2013-06-29 05:50:59 +02:00
Kevin Ottens
be417bd8b3 Just in case we'd have just a local path 2013-06-27 22:58:24 +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
Ivan Čukić
b78db9acd6 Properly initialize kded dbus object
- kded module uses underscore instead of a dash
- dbus interface is based on the generated adapter
- added the d_ptr template class
2013-06-24 09:01:16 +02:00
Sebastian Kügler
6389825172 User Q_ macros for signals and slots 2013-06-21 02:22:02 +02:00
Marco Martin
b324f520fb qt5 port of DirModel 2013-06-19 17:38:06 +02:00
Sebastian Kügler
2b6eea985e use ecm macros for tests in qtextracomponents 2013-06-19 02:51:59 +02:00
Sebastian Kügler
66ed317518 Port and enable unit tests for core bindings
All pass.
2013-06-19 02:48:09 +02:00
Sebastian Kügler
cd7f92e648 Port libplasma unit tests to ECM macros 2013-06-19 02:06:55 +02:00
Sebastian Kügler
eafac77910 clean up include 2013-06-19 01:15:08 +02:00
l10n daemon script
0c6c2fae87 SVN_SILENT made messages (.desktop file) 2013-06-18 03:57:44 +00:00
Andrea Scarpino
0ea93fd3d3 MacroLogFeature has been removed. See ECM_SouceIncompatChanges
REVIEW:111074
2013-06-17 21:43:59 +02:00
Sebastian Kügler
728cf2e53f don't use startdragdistance here
emit click if the cursor is still in the area regardless of the
distance travelled
this because MouseEventListener doesn't start drags

BUG:320893
FIXED-IN:4.11

cherry-picked from ac9592832893cd6562dc0747f8afc1d7f89442c8 in
kde-runtime
2013-06-17 15:25:29 +02:00
Sebastian Kügler
057d592a1a Ensure the busyindicator is square 2013-06-17 15:22:15 +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
Sebastian Kügler
9900faefa0 Disable all TextAreas
Initializing a TextArea crashes the shell, there's a Qt bug
https://bugreports.qt-project.org/browse/QTBUG-30925 filed about this.

Since we now can't even build against an old-enough Qt, which doesn't
suffer from this crasher, disable the textareas in our code until it's
fixed.
2013-06-11 02:10:06 +02:00
l10n daemon script
6b185d2ba4 SVN_SILENT made messages (.desktop file) 2013-06-08 03:48:30 +00:00
l10n daemon script
881ad505a1 SVN_SILENT made messages (.desktop file) 2013-06-07 03:42:19 +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
Aaron Seigo
a1fec8dba8 add ConfigGroup here as well 2013-06-05 14:58:03 +02:00
Marco Martin
7a7914126e Switch is a CheckBox on desktop
the sliding Switch is touch specific
2013-05-25 12:50:32 +02:00
David Faure
3355360444 Ported to QCommandLineParser
(mostly because linking to kde4support doesn't actually work...)
2013-05-24 02:04:08 +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
Script Kiddy
34a379c706 SVN_SILENT made messages (.desktop file) 2013-05-17 09:45:57 +02:00
Marco Martin
669ed7a35c register Units 2013-05-16 13:39:30 +02:00
Marco Martin
9930890ce3 blur behind in the panel controller 2013-05-16 13:08:05 +02:00
Marco Martin
f22e4be172 fix startupcompleted constraints
use the new panel toolbox
2013-05-16 13:08:05 +02:00
Marco Martin
981ae1cdd6 close on focus out 2013-05-16 13:05:04 +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
Script Kiddy
436fdf1de6 SVN_SILENT made messages (.desktop file) 2013-05-16 09:58:04 +02:00
Marco Martin
749d8d900c add private ctor 2013-05-15 19:56:13 +02:00
Marco Martin
570d0bdc05 export the Plasma::Types object 2013-05-15 19:51:05 +02:00
Marco Martin
aa2c4a6595 add all Q_ENUMS in Plasma::Types 2013-05-15 19:48:44 +02:00
Marco Martin
75cbf80f47 add Units from Plasma1 2013-05-15 17:58:30 +02:00
Marco Martin
e07cbe99af allow last column to be bigger
last column wisth is regulated by the page's implicitWidth, but the
final with will always be a multiple of columnWidth
2013-05-15 14:16: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
Aaron Seigo
e4739a9aad Merge branch 'kded_platformstatus' 2013-05-14 19:26:40 +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
042267f7a0 blur behind in the panel controller 2013-05-13 17:40:58 +02:00
Marco Martin
bc5d14ddb1 fix startupcompleted constraints
use the new panel toolbox
2013-05-13 14:25:57 +02:00
Marco Martin
9b56022d12 close on focus out 2013-05-13 11:20:42 +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
Marco Martin
13c5cf9380 use dialogRoot.vertical 2013-05-09 20:48:36 +02:00
Marco Martin
8d4ddfe2a5 snap 2013-05-09 20:46:51 +02:00
Marco Martin
da59b50ce7 add the center indicator 2013-05-09 20:42:42 +02:00
Marco Martin
b57d9e02c0 center align starts to work
still not perfect
2013-05-09 20:30:31 +02:00
Marco Martin
c2640b28c6 rulers work for left and right alignments 2013-05-09 17:13:07 +02:00
Marco Martin
bbb5e08d58 working menu to switch between panel alignments 2013-05-09 16:16:28 +02:00
Marco Martin
c13a58cf11 checkable and checked properties 2013-05-09 16:16:16 +02:00
Marco Martin
57b3883542 take a central rect where no switch occurs 2013-05-09 14:16:58 +02:00
Marco Martin
4c76e033a4 set current sizes on state change 2013-05-09 14:08:43 +02:00
Marco Martin
1d6382d48c slightly more reliable formfactor switching 2013-05-09 13:52:51 +02:00
Marco Martin
3658a71935 better size hints 2013-05-09 12:30:55 +02:00
Marco Martin
493a88dc82 all handles in own files 2013-05-09 11:15:48 +02:00
Script Kiddy
efd78e230e SVN_SILENT made messages (.desktop file) 2013-05-09 09:23:56 +02:00
Marco Martin
3bfb6a61a3 use toolbuttons 2013-05-08 22:05:36 +02:00
Marco Martin
572163bae3 better alignment 2013-05-08 21:58:07 +02:00
Marco Martin
b860d42cb1 duplication-- 2013-05-08 21:51:34 +02:00
Marco Martin
07b1f67ec5 svg for controller background 2013-05-08 19:39:36 +02:00
Marco Martin
8e14ed33a4 e svg for the ruler 2013-05-08 19:32:23 +02:00
Marco Martin
8c07b27cb2 move the offset button in new file 2013-05-08 14:22:22 +02:00
Marco Martin
9f88d14d73 geometry controls quite reliable
alignment still completely todo
2013-05-08 14:10:16 +02:00
Marco Martin
a6c82d8a5e correctly save and restore to/from plasma-shellrc 2013-05-08 13:52:40 +02:00
Marco Martin
c28b0676ac working thickness settings 2013-05-08 11:20:06 +02:00
Marco Martin
37cfe4a023 crude controls for panel geometry 2013-05-08 11:16:38 +02:00
Marco Martin
5ce80b4af4 fix return 2013-05-07 21:57:54 +02:00
Aaron Seigo
001d88a0a4 bump the v# 2013-05-07 12:32:05 +02:00
Marco Martin
f9436999d9 fix the wallpaper configuration
still pretty hacky, makes a lot of assumptions about the scriptengine
object hyerarchy and for some reason digging  a ConfigPropertyMap out of
a qvariant doesn't work properly
2013-05-07 11:57:08 +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
Marco Martin
b6215f9340 fix loading of the first config page 2013-05-03 18:07:47 +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
Sebastian Kügler
a515edf387 Delete bare-bones toolbox
We can use the one in kde-workspace[frameworks-scratch] now
2013-05-02 23:49:46 +02:00
Marco Martin
1137b4ea5c remove associated items/widgets 2013-05-02 19:02:06 +02:00
Marco Martin
4692c941af add ServiceOperationStatus binding
this class is used to monitor the enabled status of service operations
2013-05-02 18:56:00 +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
Sebastian Kügler
6a830d676b fix typos in i18n comments 2013-05-02 05:06:35 +02:00
Script Kiddy
b105c2a56c SVN_SILENT made messages (.desktop file) 2013-05-01 09:15:13 +02:00
Script Kiddy
f784cfb07f SVN_SILENT made messages (.desktop file) 2013-04-30 17:38:15 +02:00
Sebastian Kügler
47c63deb6f elegantly work around
the hack
2013-04-30 02:59:02 +02:00
Sebastian Kügler
b68317e930 Use QVariant for MenuItem::icon
This way, we can cover string and QIcon assignments transparently,
another backwards compatibility fix, and easier thing in Plasma2: Now
the user doesn't have to worry about creating QIcons, but can just
assign the icon name, and it will get loaded from the theme. Models that
provide QIcons (such as QStandardItems) now work correctly with
PlasmaCore.MenuItems.
2013-04-30 02:50:42 +02:00
Sebastian Kügler
cb5f8a3248 Clip the applet and prevent some mess on the screen 2013-04-30 02:34:48 +02:00
Sebastian Kügler
e4976005c6 Fix crasher with 0x0 windows
It can happen that the visualParent has no window attached, so don't
access it. In this case, use the visualParent's geometry.
2013-04-30 02:33:17 +02:00
Sebastian Kügler
20aa17dfe7 FrameSvgItem background for widgetexplorer window 2013-04-30 02:06:44 +02:00
Sebastian Kügler
c5bb3cecf5 Improve macro usage
Now that we have the improved macro, use the type name in the desktop
file name
2013-04-29 18:35:25 +02:00
Marco Martin
05667460e5 less friends 2013-04-29 12:45:40 +02:00
Sebastian Kügler
f5192aa1fe those cmake files aren't needed anymore 2013-04-27 03:45:03 +02:00
Sebastian Kügler
992587bb8c Move show package info after parsing -t flag
This makes showing the contents of all package types possible.
2013-04-27 03:38:47 +02:00
Sebastian Kügler
29d823cde7 Correct loginmanager mainscript 2013-04-27 03:38:25 +02:00
Sebastian Kügler
f4238d7cb2 Add mainscript so the packages are actually valid 2013-04-27 03:37:45 +02:00
Sebastian Kügler
5175188693 Skeleton for Look & Feel package
This is an empty package, with directories and zero-sized files set up
that can be filled in.
2013-04-27 03:36:32 +02:00
Sebastian Kügler
015b20e514 Correct Messages.sh
../lookandfeel/
2013-04-27 03:13:01 +02:00
Sebastian Kügler
1c73bf2e27 Use installPackage macro for shell/qmlpackages
This now installs the service types correctly, so they can be found
using KServiceTypeTrader (and thus using plasmapkg).
2013-04-27 03:07:39 +02:00
Sebastian Kügler
43812710d5 plasmapkg: Add type argument to --list-types output
It's a bit silly to list the types, but don't tell the user which
argument the -t flag expects, so add those to the --list-types output
2013-04-27 02:39:13 +02:00
Sebastian Kügler
fe71859688 Add Shell and Look and Feel package types to plasmapkg 2013-04-27 02:26:35 +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
304fdeff5d reorganize shell package 2013-04-26 17:10:39 +02:00
Marco Martin
36c25f085d make the "plasmoid" property work agaon 2013-04-26 13:42:23 +02:00
Marco Martin
5e906f24c7 Merge branch 'configdialog_in_shell' 2013-04-26 13:28:08 +02:00
Marco Martin
b0b03f4a8f create config uis always from the same point 2013-04-26 13:00:07 +02:00
Marco Martin
f6765fda8c bind the panel again to the config dialog 2013-04-26 10:46:42 +02:00
Script Kiddy
03a2990b9f SVN_SILENT made messages (.desktop file) 2013-04-26 08:58:42 +02:00
Marco Martin
7301f6d8b7 panelconfigview is a subclass of configview 2013-04-25 22:38:27 +02:00
Marco Martin
d44f0973d3 get rid of local qmlobject and config bindings
they're in kdeclarative now
2013-04-25 20:56:36 +02:00
Marco Martin
7be9da07b4 correctly load containment config ui 2013-04-25 15:07:02 +02:00
Marco Martin
5efb247935 correctly build the wallpaper model 2013-04-25 14:11:53 +02:00
Marco Martin
4feb02c329 config ui of applets should work again 2013-04-25 11:43:00 +02:00
Script Kiddy
6a2dbd38d6 SVN_SILENT made messages (.desktop file) 2013-04-25 09:27:27 +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
Sebastian Kügler
f9ec377f6e disable fs-based listing for wallpapers, works with kservice now 2013-04-25 03:23:35 +02:00
Sebastian Kügler
c73761689e Correct service type 2013-04-25 03:23:06 +02:00
Sebastian Kügler
7da43cfdc9 Use new service type and cmake macro for wallpapers 2013-04-25 02:13:02 +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
Sebastian Kügler
db5ef57480 make sure we don't access an invalid config and crash 2013-04-23 18:17:08 +02:00
Script Kiddy
e1f17c63b6 SVN_SILENT made messages (.desktop file) 2013-04-23 17:19:30 +02:00
Script Kiddy
daea562789 SVN_SILENT made messages (.desktop file) 2013-04-22 09:05:22 +02:00
Sebastian Kügler
c835af2d06 Move image wallpaper to color, reflecting reality 2013-04-21 18:37:03 +02:00
Aaron Seigo
5806fa8077 make it all work for reals 2013-04-21 18:36:00 +02:00
Aaron Seigo
f1316f0ce2 add the runtime platform entry 2013-04-21 18:35:52 +02:00
Aaron Seigo
114de64ed4 correct the .desktop file 2013-04-21 18:16:50 +02:00
Aaron Seigo
dad03a43ce first draft of the platform status kded module 2013-04-21 18:04:29 +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
Sebastian Kügler
e055ad43db file definitions for LnF package 2013-04-21 17:55:55 +02:00
Sebastian Kügler
c2a1cfb95c Directory definitions for Look and Feel package structure 2013-04-21 16:27:54 +02:00
Sebastian Kügler
54bd825668 Start of look and feel package structure 2013-04-21 11:21:41 +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
0fbe46415c comment improvements 2013-04-18 17:29:57 +02:00
Stephen Kelly
268f44fc3b Remove use of qt4_automoc.
It is obsolete.
2013-04-12 11:09:43 +02:00
Sebastian Kügler
e660246b2b more output polishing 2013-04-12 02:59:31 +02:00
Sebastian Kügler
03472443ec Remove special handling for Plasma/PopupApplet
This servicetype has gone, since popups are entirely managed by the
applets compactRepresentation property and minimum size. The service
type has already gone, so don't look for them anymore.
2013-04-12 02:59:31 +02:00
Sebastian Kügler
2ece64af93 fix race, improve feedback
- return after starting the install job instead of exiting. This only
  works accidentally, since the start of the job happens inside this
  event loop cycle, it will leave installation in a random state for
  larger payloads. The fix is easy: only exit after installing.

- improve output: report installation, deinstallation and upgrade
  consistently to cout.

- Now all operations correctly exit with either 0 or 1,   so plasmapkg
  will work fine in scripts.
2013-04-12 02:59:31 +02:00
Sebastian Kügler
d8d9d2952d ws-- 2013-04-12 02:06:52 +02:00
Sebastian Kügler
74febc2219 test locale bindings 2013-04-12 02:06:42 +02:00
Anant Kamath
f66a3608c0 Fixed exporting flags to QML 2013-04-12 03:12:04 +05:30
Sebastian Kügler
39de2a637c Fix crash in SortFilterModel::mapRowFromSource()
It was not using the correct model to get the source index from the
row.

Patch by Aurélien Gâteau

CCMAIL:agateau@kde.org
REVIEW:109946
2013-04-10 16:19:34 +02:00
Sebastian Kügler
e01912d071 Improve plasma-shell app metadata 2013-04-10 02:25:32 +02:00
Sebastian Kügler
70b303fde6 support generic packages in plasmapkg 2013-04-10 02:22:25 +02:00
Sebastian Kügler
fe8be600c6 Don't crash when the containment or toolbox doesn't load
Check if the containment could be loaded (this includes the toolbox), if
not, don't poke into its rootObject.
2013-04-10 02:18:41 +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
Sebastian Kügler
63366d4218 a few more optimizations and better docs for tooltip 2013-04-09 04:38:06 +02:00
Sebastian Kügler
3859dbdd07 Improve API docs 2013-04-09 04:02:19 +02:00
Sebastian Kügler
e7887ee199 more removal of unnecessary stuff 2013-04-09 03:52:59 +02:00
Sebastian Kügler
3bd1d939e8 remove maincomponent and target properties from tooltipproxy 2013-04-09 03:50:43 +02:00
Sebastian Kügler
50a4abac6d ToolTip polishing
- manage mainComponent entirely in ToolTip.qml
- less resizing/setvisible makes it faster and smoother
- fix timer connects in dialog
- Kill dead code
2013-04-09 03:42:54 +02:00
Sebastian Kügler
98d432ebca Try a special component as tooltip: works 2013-04-09 03:42:41 +02:00
Sebastian Kügler
ea41410004 rename testplasma2 binary to plasma-shell
This also means that the config file is now
~/.config5/plasma-shell-appletsrc

CCMAIL:plasma-devel@kde.org
2013-04-09 03:00:10 +02:00
Sebastian Kügler
2cc96aac45 kill tooltipwindow implementation
We use a dialog subclass-singleton now.

I love the smell of dead code in the morning.
2013-04-09 01:27:25 +02:00
Sebastian Kügler
4c21d54980 add objectnames for easier debugging 2013-04-09 00:09:07 +02:00
Sebastian Kügler
9eda3882ca Make tooltip positioning work 2013-04-09 00:09:07 +02:00
Marco Martin
5a82aa9211 remove RunnerManager::execQuery() 2013-04-08 13:14:17 +02:00
Marco Martin
c3e2a6e671 smaller sectionscroller 2013-04-05 11:08:30 +02:00
Sebastian Kügler
e0c7eaafad dynamic object creation inside tooltip
The mainItem is now a Component, which gets created on demand and passed
to the tooltip dialog.

Positioning is a bit off now, but it basically seems to work as we'd
like it to.
2013-04-05 04:27:55 +02:00
Sebastian Kügler
8eab0f20f2 tooltip now uses a dialog
A bit crude, and only half-working, but shows up
2013-04-05 01:10:53 +02:00
Sebastian Kügler
feda4f5013 make tooltipdialog a singleton 2013-04-05 00:30:17 +02:00
Sebastian Kügler
e48908eb70 add tooltipdialog class
Let's try to share more code with dialog -- especially sizing, frame
painting and positioning with dialog. This means a bit of rewiring, but
should result in more lazy-loaded, shared objects.

The idea is to have at most one window, which is recycled for all
tooltips, making it possible to animate transitions.
2013-04-04 23:50:44 +02:00
Sebastian Kügler
95dddcea35 split tooltip and tooltipwindow 2013-04-04 23:33:05 +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
fe803e1c79 find solid 2013-04-04 17:51:01 +02:00
Marco Martin
3243e69334 link to Solid 2013-04-04 17:43:48 +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
Sebastian Kügler
d207025d8f Blur behind for tooltips
Also clean up flags a bit.
2013-04-04 16:00:57 +02:00
Sebastian Kügler
010f471bc7 Restore API: ToolTip.visualParent becomes target 2013-04-04 05:11:31 +02:00
Sebastian Kügler
e4ee4d6dd0 basic tooltip featureset finished
This implementation deviates a bit from the Plasma 1 tooltips:
- image is now a string
- tooltips align to the parent by default, or the visualParent set
Otherwise, the changes should be fairly transparant.

A crude basic featureset works.
2013-04-04 05:02:51 +02:00
Sebastian Kügler
c2b868fa56 Add two test images, use them for tooltips 2013-04-04 05:01:57 +02:00
Sebastian Kügler
c739f3ae58 Increase margins a bit, wm hints 2013-04-04 02:02:10 +02:00
Sebastian Kügler
7e6d750f2a Window size synching with tooltip content 2013-04-04 01:46:02 +02:00
Sebastian Kügler
efd12a5ec1 Add components to default tooltip, fix layout 2013-04-04 01:27:14 +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
20a4e6ca43 add ToolTip.qml 2013-04-03 20:23:51 +02:00
Sebastian Kügler
25a031efbe Add testing code for tooltips in testcomponentsapplet 2013-04-03 02:25:59 +02:00
Sebastian Kügler
a6526d7bbe Start rewrite of tooltip
ToolTipProxy is now a QQuickWindow and renamed to ToolTipWindow.
This is done in C++.
ToolTip itself is a QML file, which internally uses tooltipwindow to
display the attached item.

Basic showing / hiding and embedding an Item works, positioning,
margins, etc are not implemented yet. Neither are special windowmanager
hints and flags.
2013-04-03 02:23:22 +02:00
Sebastian Kügler
1c5faf9271 add fixme 2013-04-03 02:22:56 +02:00
Sebastian Kügler
0bac65e374 Strip down tooltip so it builds 2013-04-03 00:50:00 +02:00
Sebastian Kügler
76ced6ff80 Remove fixed FIXME 2013-04-03 00:49:36 +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
Script Kiddy
9e9b080392 SVN_SILENT made messages (.desktop file) 2013-03-29 09:20:10 +01:00
Script Kiddy
a7e48aae80 SVN_SILENT made messages (.desktop file) 2013-03-28 09:07:44 +01:00
Sebastian Kügler
f17e903d7c More predictable behaviour of wallpaper chooser 2013-03-28 04:29:33 +01:00
Sebastian Kügler
41aaa5a904 Make it possible to choose wallpapers without config
Wallpapers don't necessarily have config UIs, so we need to take a bit
of care that we don't try to load them. Just hide the pagestack instead.
2013-03-28 03:52:15 +01:00
Sebastian Kügler
40ac6a5f0c Make upgrading wallpapers work
We were previously accessing an invalid metadata, because wallpapers
aren't necessarily found as plugins: Take care of this case.
2013-03-28 03:50:06 +01:00
Sebastian Kügler
98b4ceb3a2 Watch out for invalid wallpaper packages 2013-03-28 01:58:52 +01:00
Sebastian Kügler
2ac12c5fe6 Fix typo in var name 2013-03-28 01:50:19 +01:00
Sebastian Kügler
b19f4fe01d also consider KServices in plasmapkg wallpaper listing 2013-03-28 01:38:43 +01:00
Sebastian Kügler
1dfab488e0 const&ness 2013-03-28 01:16:42 +01:00
Sebastian Kügler
ce6919b424 tighten up a bit 2013-03-28 01:12:42 +01:00
Sebastian Kügler
c12ecd0f51 plasmapkg: make listing wallpapers work 2013-03-28 01:11:44 +01:00
Sebastian Kügler
cbe0d39b99 add spacing in buttonrow and column 2013-03-27 22:27:22 +01:00
Sebastian Kügler
f2008a14e2 small cleanup 2013-03-27 02:52:57 +01:00
Sebastian Kügler
2bb2852906 improve dragdroppage 2013-03-27 02:52:44 +01:00
Sebastian Kügler
ad1311ddd3 Attach an image to the drag
it now works with delegate, color and image, urls in the form of icons
tbd.
2013-03-27 02:50:45 +01:00
Sebastian Kügler
c965edb741 Enable category filtering in widgetexplorer 2013-03-27 00:24:11 +01:00
Sebastian Kügler
b1a42929a5 Make listing categories and filtering work 2013-03-27 00:23:47 +01:00
Sebastian Kügler
498dcb30b6 enable a few more things 2013-03-26 22:54:37 +01:00
Sebastian Kügler
a0fb4356dc Positioning of Menu on screen
Actually quite a bit more lightweight than its QGV predecessor.
2013-03-26 22:34:35 +01:00
Sebastian Kügler
0ef4080e4f positioning for context menu 2013-03-26 22:17:25 +01:00
Sebastian Kügler
aedfc3a580 test code for menu in testcomponentsplasmoid 2013-03-26 20:19:42 +01:00
Sebastian Kügler
335e0b6d9d Port Menu and MenuItem to QtQuick2
In MenuItem, we can't inherit QAction anymore (our MenuItem has to be a
QQuickItem), so we need to aggregate, which means adding glue API.

Positioning code is disabled, icons broken, but a QMenu with our items
inside shows up and is works.
2013-03-26 20:15:56 +01:00
Sebastian Kügler
b2e2cff847 various improvements and fixes to widgetexplorer 2013-03-26 03:54:35 +01:00
Sebastian Kügler
f9b52427e7 Move widgetexplorerview into its own class 2013-03-26 02:41:58 +01:00
Sebastian Kügler
9bc347006d Connect closeClicked signal 2013-03-26 02:06:40 +01:00
Sebastian Kügler
243e8d23e3 make widgetexplorer show up
it lists widgets, allows to add them now.

Categories and download new widgets are disabled for now.

It seems PlasmaComponents.MenuItem is broken (it inherits its API from QAction,
but in QtQuick, it has to be a QQuickItem to be accepted as Delegate.
This might need glue-api. :/)
2013-03-26 01:55:17 +01:00
Sebastian Kügler
9684d17e9a Change imports to Plasma2 2013-03-26 01:12:25 +01:00
Sebastian Kügler
9c6b7539bc fix namespacing in ContextMenu 2013-03-26 01:12:04 +01:00
Sebastian Kügler
827a4d1c7e pristine copies of widget explorer QML files from package in kde-workspace 2013-03-26 00:48:37 +01:00
Marco Martin
5796ed1527 expose thickness 2013-03-22 16:13:12 +01:00
Marco Martin
a2c5a76eff add more properties to views
control them with the panel controller
probably will change architecture: seems safer to put the panel controller in an "expanded" panelview instead?
2013-03-22 14:39:33 +01:00
Sebastian Kügler
843bd1c1e9 revert last change 2013-03-21 23:30:40 +01: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
Marco Martin
b8b3c0a89c make the view transparent
fixes rendering on nvidia
2013-03-21 16:58:06 +01:00
Sebastian Kügler
7e9b152acf init applet after it's added 2013-03-21 16:48:13 +01:00
Sebastian Kügler
60fda41cfe add widgetexplorer button in testcontainment 2013-03-21 05:44:38 +01:00
Sebastian Kügler
12f481e50a header cleanup, copyrights, runtime warnings-- 2013-03-21 05:22:46 +01:00
Sebastian Kügler
64b3812c05 logic to load Plasmoids
- add a mousearea to the delegate that calls
  widgetExplorer.addApplet(pluginName)
- in widgetsexplorer, locate the plasmoid, load it via
  Applet::loadPlasmoid(), then add it to the containment
- In showWidgetExplorer, we set the widgetExplorer's containment to the
  sender(), if there's no containment set, we can't add the applet. This
  way, the widgetexplorer knows which containment the applet should go to

This makes it possible to add Plasmoids via the GUI :-)
2013-03-21 05:04:17 +01:00
Sebastian Kügler
1619430697 add WidgetExplorer object to the rootContext
- WidgetExplorer is parented to the view, and deleted / init'ed along
  with it
- the model is populated before the QML UI is loaded

The explorer now shows a list of widgets, no interaction atm.
2013-03-21 04:03:05 +01:00
Sebastian Kügler
bc2b5bd9fc Initialize the model 2013-03-21 04:02:44 +01:00
Sebastian Kügler
6d511c0f6a Listview showing pluginnames 2013-03-21 03:57:37 +01:00
Sebastian Kügler
c210adaf20 make-it-build 2013-03-21 03:25:26 +01:00
Sebastian Kügler
253e7b2c60 add widgetexplorer to the build 2013-03-21 03:21:36 +01:00
Sebastian Kügler
2c622914af Make widgetsexplorer almost build
Lots of slaughtering going on here, as we're ripping out
QGraphics*-based UIs. The widgetExplorer object won't have UI in it
anymore, as that is done in the desktop shell package (rather than its
own package).

Lots of features are disabled right now (install, uninstall, download),
the idea is to first just get the model working, and then re-enable
features one at a time.
2013-03-21 03:19:01 +01:00
Sebastian Kügler
8f04230c5e pristine copies of widgetexplorer.{h,cpp}
from kde-workspace/libs/plasmagenericshell/widgetsexplorer
2013-03-21 03:17:57 +01:00