Marco Martin
55514d28c7
Merge branch 'mart/plasmoidMove'
2014-05-13 12:47:49 +02:00
Marco Martin
64cff59a31
api to add an existing applet and position mapping
2014-05-13 12:46:17 +02:00
Marco Martin
cdb9c8c1cc
addApplet function
...
offers a crude support to applet migration between containments
2014-05-12 21:07:41 +02:00
Marco Martin
895c5b6b2b
close the menu if it was already open
...
sometimes on plasma start, other context events may be triggered
while the menu is in its exec(), byt the qqmlincubator.
if so, close the already existing menu.
BUG:334562
2014-05-12 11:02:56 +02:00
Marco Martin
97831b616f
experim API to move plamoids between containments
2014-05-09 18:43:33 +02:00
Marco Martin
759036e19f
remove dead code
2014-05-09 14:24:05 +02:00
Marco Martin
ea3544deb7
remove unused function
2014-05-09 14:21:23 +02:00
Marco Martin
53893e8d0b
make the toolbox directly child of containmentinterface
2014-05-07 20:27:51 +02:00
Marco Martin
f21851548c
new api for availablescreensize/region
2014-05-07 15:18:21 +02:00
Eike Hein
1805bb7496
Make sure the args part of Containment::createApplet(..., args) ends up in the applet.
2014-05-06 20:52:42 +02:00
Aleix Pol
556c1e321a
Remove random qDebug output
...
Makes it easier to spot the actual problems on the output. If there's
something that's actually indicating a problem, we should make it a
qWarning.
2014-05-06 19:57:37 +02:00
Marco Martin
ac963b8a27
emit externalData only after the ui is here
2014-05-06 19:28:44 +02:00
Marco Martin
a7928f29dd
if there are args, emit externalData
2014-05-06 19:06:31 +02:00
l10n daemon script
5713f72542
SVN_SILENT made messages (.desktop file)
2014-05-03 08:34:24 +00:00
l10n daemon script
d55335d2a9
SVN_SILENT made messages (.desktop file)
2014-05-02 08:52:44 +00:00
Marco Martin
4851be6e1e
don't crash if destroy happens before first sync
2014-04-29 18:21:28 +02:00
l10n daemon script
238bc54c5b
SVN_SILENT made messages (.desktop file)
2014-04-29 10:13:52 +00:00
l10n daemon script
012b0681c9
SVN_SILENT made messages (.desktop file)
2014-04-29 04:51:45 +00:00
l10n daemon script
d2f752597f
SVN_SILENT made messages (.desktop file)
2014-04-28 15:59:04 +00:00
Aleix Pol
94dc5c30c9
Remove unneeded statements
2014-04-28 17:18:11 +02:00
l10n daemon script
8fcd320f27
SVN_SILENT made messages (.desktop file)
2014-04-28 12:45:07 +00:00
l10n daemon script
b9130c7c24
SVN_SILENT made messages (.desktop file)
2014-04-28 09:02:00 +00:00
l10n daemon script
880da9b195
SVN_SILENT made messages (.desktop file)
2014-04-28 05:09:56 +00:00
l10n daemon script
dfd425ae82
SVN_SILENT made messages (.desktop file)
2014-04-27 21:04:10 +00:00
l10n daemon script
cbf1e988e9
SVN_SILENT made messages (.desktop file)
2014-04-27 16:44:26 +00:00
Aleix Pol
e6f1fec0c7
Install all plasma files in a prefix/share/plasma directory
...
At the moment, we could say that plasma is co-installable by chance,
it's only working because KF5 dropped the apps relative directory.
This change introduces a PLASMA_RELATIVE_DATA_INSTALL_DIR that will
be available to know where in share the components are and
PLASMA_DATA_INSTALL_DIR to know where data has to be installed to.
Reviewed by David Edmundson
CCMAIL: plasma-devel@kde.org
2014-04-27 17:14:22 +02:00
l10n daemon script
d149d719a9
SVN_SILENT made messages (.desktop file)
2014-04-27 05:19:59 +00:00
David Edmundson
4ce14a1654
Remove duplicated ConfigLoader
...
This moved to KConfigGui as KConfigLoader.
Use of private KConfig API in Service had to be ported to use only
public method.
REVIEW: 117784
2014-04-26 17:10:13 +02:00
Kevin Ottens
72ba7b4146
Apply the astyle-kdelibs script
2014-04-26 01:48:37 +02:00
Aurélien Gâteau
fcbb057dca
Disable Python script engine for now, it requires bindings for libplasma
...
Approved by notmart
2014-04-25 21:18:07 +02:00
Aurélien Gâteau
0efc0572af
Consolidate all plasma-framework catalogs
2014-04-25 10:40:12 +02:00
Davide Bettio
e1a2555278
QML appletinterface: add support for actionTrigered(name) method so we don't have to create an action_name method for each contextmenu action.
...
Signed-off-by: Davide Bettio <bettio@kde.org>
2014-04-22 20:08:20 +02:00
Marco Martin
1d5c6e5964
revert 0b4272fa56
2014-04-22 15:32:20 +02:00
Marco Martin
0b4272fa56
guard the pointer
2014-04-22 15:15:40 +02:00
l10n daemon script
16ea0c68f6
SVN_SILENT made messages (.desktop file)
2014-04-19 04:52:27 +00:00
l10n daemon script
709d60a737
SVN_SILENT made messages (.desktop file)
2014-04-18 05:16:48 +00:00
Marco Martin
18f54dff73
make possible for containments to run as applets
...
take into account the slightly different behaviour needed when containments such as folderview act as a normal plasmoid
BUG:333320
2014-04-14 14:03:49 +02:00
Aleix Pol
0e3978e22c
Expose the activated signal into the plasmoid
...
This was a regression from Plasma 1.
Reviewed by David Edmundson
2014-04-12 21:21:35 +02:00
Marco Martin
d8731d7806
re-add Corona::createContainmentDelayed()
...
unfortunate, but necessary for on the fly containment plugin switch
2014-04-09 22:15:46 +02:00
Marco Martin
aeabbe9444
new AppletInterface in case of inexistent plugin
...
if the plugin name is wrong, create a fullfledged appletinterface for the error visualization.
This will make applet removal possible
BUG:332971
2014-04-02 18:59:47 +02:00
Marco Martin
c4e6f06f42
expose the plugin name
2014-03-25 15:13:22 +01:00
Marco Martin
900e0108e1
if no position was provided, negative pos
...
call the qml part with an invalid position if not supplied, will make new applets in the panels being put in the end instead of at the beginning
2014-03-24 18:15:50 +01:00
l10n daemon script
99900255bf
SVN_SILENT made messages (.desktop file)
2014-03-23 04:47:33 +00:00
Marco Martin
69cac03a64
the icon is now called org.kde.plasma.icon
2014-03-21 17:33:26 +01:00
Aleix Pol
a3641aac25
Fix headers management in plasma-framework
...
Use generate headers instead of having them stored in the repository.
Figure out how relative paths are forwarded around, there were some weird
things.
Stop installing plasma header files in the KDE/ prefix.
2014-03-17 16:28:24 +01:00
Martin Klapetek
62d35541ed
Add availableScreenRect(int id) to ContainmentInterface
...
Now plasmoids can simply get the available screen rect
2014-03-11 15:30:45 +01:00
David Edmundson
effb5e8ad1
Add temp workaround to avoid black squares in main context menu
...
BUG: 331809
2014-03-10 17:50:50 +01:00
David Edmundson
fb7451051e
Expose globalShortcut in AppletInterface so it can be set from the config
2014-03-05 17:28:50 +01:00
Marco Martin
ccd8f8494d
workaround a crash in qt during drop events
...
delay adding an applet with a queued connection.
this should be reverted once this is fixed:
https://bugreports.qt-project.org/browse/QTBUG-35702
2014-02-27 17:39:42 +01:00
Marco Martin
a7c6d3a79e
Merge branch 'mart/plasmaquickNamespace'
2014-02-20 12:36:44 +01:00
Marco Martin
aaf7fa328d
export plugin name
...
not super nice but the simplest way to avoid code duplication in the image plugin
2014-02-20 12:33:31 +01:00
Marco Martin
90c608f863
complete porting
2014-02-19 20:00:29 +01:00
Martin Klapetek
d3d7a6fd63
Return early if we failed to load valid Wallpaper package
...
Reviewed-by: Marco Martin
2014-02-19 13:28:15 +01:00
l10n daemon script
592a0db2ab
SVN_SILENT made messages (.desktop file)
2014-02-18 05:13:41 +00:00
Michael Palimaka
c9c4e6c3b2
Remove unused system dependencies.
...
- plasma_appletscript_declarative includes QtUiTools but doesn't use it
- QtPrintSupport is not used anywhere
- Xss, Xext, and SM are not used anywhere
- OpenSSL is not used anywhere
REVIEW: 115830
2014-02-18 03:12:12 +11:00
Marco Martin
7e8aa867b0
crash--
...
wait for the ui to be ready before connecting activated() to the expanding
2014-02-14 17:25:59 +01:00
Marco Martin
50a584d0bc
rename Applet::activate() with Applet::activated()
...
activate() is a name that suggests a slot more than a signal
2014-02-14 14:40:53 +01:00
Marco Martin
54549d8312
set the applet as expanded on activate signal
2014-02-14 14:26:53 +01:00
Aleix Pol
18473c9e9e
Remove KRunner from Plasma-Framework
...
Have it as a separate KRunner framework instead
2014-02-11 18:03:06 +01:00
Marco Martin
da36ebe0e4
remove unused signal
2014-02-11 13:31:44 +01:00
Marco Martin
6f256aa7e6
remove the legacy config machinery
2014-02-11 13:29:37 +01:00
Marco Martin
808eca4182
use QStringLiteral instead
2014-02-10 16:38:15 +01:00
Marco Martin
87730146db
and make the previous one actually work
2014-02-10 16:23:13 +01:00
Marco Martin
e30a50f755
null string:fallback empty string: empty
2014-02-10 16:18:13 +01:00
David Faure
e76d11be9d
Port to updated KActivities
2014-02-08 18:48:40 +01:00
David Edmundson
fb0728d40a
Ammend last commit
2014-02-07 19:37:06 +01:00
David Edmundson
39ce54c0db
Set paneltoolbox properties on construction
...
Also refactor the code to avoid creating and deleting an object if
containmentGraphicObject does not exist.
2014-02-07 19:35:31 +01:00
David Edmundson
233267f492
Fix spelling in comment
2014-02-07 19:35:31 +01:00
Marco Martin
ab140c8c1e
add properties for tooltips metadata
2014-02-06 18:49:28 +01:00
Marco Martin
3858044d25
Merge branch 'mart/AppletAttached'
...
Conflicts:
src/declarativeimports/core/dialog.cpp
src/scriptengines/qml/plasmoid/containmentinterface.cpp
2014-02-06 13:16:11 +01:00
l10n daemon script
34284e90eb
SVN_SILENT made messages (.desktop file)
2014-02-06 04:12:17 +00:00
Marco Martin
f8b649fba9
move AppletQuickItem in libplasmaquick
2014-02-05 17:23:52 +01:00
Marco Martin
c363b33b43
don't assume containment() exists
2014-02-05 16:39:06 +01:00
Marco Martin
2f17e371d5
comments++
2014-02-05 16:31:47 +01:00
Marco Martin
0f16569daa
move more stuff in private
2014-02-05 16:23:57 +01:00
Marco Martin
c86a956c28
move private methods and slots in private
2014-02-05 16:02:28 +01:00
Marco Martin
7e53c7276a
move private members in AppletQuickItemPrivate
2014-02-05 14:54:22 +01:00
Marco Martin
c196f8b748
AppletLoader->AppletquickItem
2014-02-05 14:19:39 +01:00
Marco Martin
b8a41a88f3
get rid of compactrepresentationexpander property
2014-02-05 14:07:23 +01:00
Marco Martin
4a5c20f954
getters and setters for packages
2014-02-05 13:51:41 +01:00
Marco Martin
74515ee2f5
use "_plasma_graphicObject" in applet*
...
to avoid possible collisions, use the private looking name "_plasma_graphicObject" for the dynamic property of Applet that represents the AppletInterface* pointer
2014-02-05 12:59:33 +01:00
Marco Martin
3325f24992
appletLoader doesn't depend from Declarativeappletscript
2014-02-05 12:51:31 +01:00
Marco Martin
e2ee69bf08
note about subclass property at left hand
2014-02-05 12:09:56 +01:00
Marco Martin
9275e84a99
add a Wallpaper attached property for wallpapers
2014-02-04 17:23:22 +01:00
Marco Martin
be4c13e627
call the import org.kde.plasma.plasmoid
2014-02-04 17:01:28 +01:00
Marco Martin
2a0384c3c7
keep locally applet and corona packages
...
less references to the corona()
2014-02-04 16:43:47 +01:00
Marco Martin
68f2de9ec3
correctly export containment properties
2014-02-04 16:18:45 +01:00
Marco Martin
362a5017b6
support a corona child of an applet
...
this is an ad-hoc thing for the systray, would be better not having something like that
2014-02-03 18:47:51 +01:00
l10n daemon script
063366d681
SVN_SILENT made messages (.desktop file)
2014-02-01 04:10:47 +00:00
Marco Martin
856e16e803
safer sizehint propagation
2014-01-31 16:56:16 +01:00
l10n daemon script
cef95ccc63
SVN_SILENT made messages (.desktop file)
2014-01-31 04:30:37 +00:00
Marco Martin
9e65dbc789
export compactRepresentationExpander
...
still have to decide if this is a really bad idea
2014-01-30 22:38:44 +01:00
David Edmundson
f5618db949
Remove unused property drawWallpaper
...
As suggested here: http://community.kde.org/Plasma/libplasma2/API_Review/Containment
kde-workspace doesn't use it.
REVIEW: 115224
2014-01-30 15:34:45 +01:00
l10n daemon script
d3ae687cd7
SVN_SILENT made messages (.desktop file)
2014-01-30 04:16:54 +00:00
Marco Martin
bf648ceeb6
default full component as the root component
...
if a fullrepresentation wasn't specified, use the root as fullrepresentation: item and component
2014-01-29 20:07:29 +01:00
Marco Martin
428c10e24c
fullrepresentation and the expander are created on demand
2014-01-29 17:09:43 +01:00
Marco Martin
2a37efbdb7
cleanups
...
move qmlobject initialization in appletloader
2014-01-29 16:20:39 +01:00
Marco Martin
012554d8d9
get rid of the old sizehint mechanism
2014-01-29 11:11:43 +01:00
l10n daemon script
6ecbbd9129
SVN_SILENT made messages (.desktop file)
2014-01-29 04:19:24 +00:00
Marco Martin
075d55c842
entation switching done by appletloader
2014-01-28 22:55:02 +01:00