Commit Graph

38 Commits

Author SHA1 Message Date
Marco Martin
601c80ce35 last AppletPrivate metadata pieces in PluginLoader 2013-02-12 22:05:14 +01:00
Marco Martin
edf1250dce remove unused methods in AppletPrivate 2013-02-12 21:24:22 +01:00
Marco Martin
38a3807c1b Applet::newStatus() -> Applet::statusChanged()
consistent naming
2013-02-12 20:44:04 +01:00
Marco Martin
de4fa09a6d setFailedToLaunch -> setLaunchErrorMessage
setFailedToLaunch has a weird asymmetric api: now launchErrorMessage is a string property.
failedToLaunch remains and is internally set true the first time a message is set (is not posssible to set it back to false)

the message is in turn used by the scriptengine for the user visible error message.
It is done in 2 places:

if the applet package is invalid (applet not found) the message is created by the containment
if the applet package is valid, but there is a parse error in the qml file the error message is generated by the scriptengine of the applet itself.

I'm still really not happy about how the error ui is generated.
2013-02-12 20:07:23 +01:00
Marco Martin
0b24d969fe show an error message on QML parse error
the error message is QML itself, coming from the Corona package (so there is the possibility that even the error message can't parse, in this case we have no way to show an error)

the user of the qml plasmoid still can't set a message on his own (setFailedToLaunch will probably become scriptengine only)
2013-02-12 15:57:42 +01:00
Marco Martin
c9d9ccc857 corona has a package() property 2013-02-12 15:57:42 +01:00
Marco Martin
fbbc42b4eb remove messageButtonPressed
and positionMessageOverlay that is not needed anymore
2013-02-12 13:34:27 +01:00
Marco Martin
ae7856e836 remove Applet::showMessage 2013-02-12 13:31:05 +01:00
Marco Martin
23d7d4f842 remove unused private members 2013-02-12 13:26:07 +01:00
Marco Martin
4672a088ca remove declarations of removed classes 2013-02-12 13:12:36 +01:00
Marco Martin
ec55761461 Applet::isBusy() moved to scriptengine
the busy property is ui-specific, therefore goes only in the scriptengine
2013-02-12 13:04:47 +01:00
Marco Martin
e0e61ca3f5 remove last pieces of remote plasmoids 2013-02-12 12:51:37 +01:00
Marco Martin
f28d7c7220 move Applet::backgroundHints in the scriptEngine
the background hints are UI specific, therefore they go just in the script engine
2013-02-12 12:51:37 +01:00
Marco Martin
70abf37a52 Applet::pluginName() -> Applet::pluginInfo()
Applet doesn't need to wrap every single methos of KPluginInfo, it can just make copies of its KPluginInfo accessible to everybody
2013-02-12 11:46:26 +01:00
Marco Martin
39151c048f Applet::name() -> Applet::title()
since the applet user visible name/title can be set by the user, is not to be confused with the metadata coming from KPluginInfo
2013-02-12 11:30:25 +01:00
Marco Martin
bd9e863c6d remove Applet:dataEngine 2013-02-12 11:14:14 +01:00
Marco Martin
0a623684c0 get rid of Applet::List and Applet::Dict types 2013-02-12 11:02:22 +01:00
Marco Martin
f1eec52a74 remove remote applets support
remove the remote plasmoid support along QtJolie.
support for remote *dataengines* will probably come back, but in a bit different way
2013-02-11 21:38:18 +01:00
Marco Martin
798be9a407 remove the aspectRatioMode property 2013-02-11 19:32:41 +01:00
Aaron Seigo
d54c084b0a shortcircuit if the path is empty 2013-02-08 13:37:40 +01:00
Marco Martin
0e05f8312c declarative bindings don't go here 2013-02-08 11:22:05 +01:00
Marco Martin
ec45134bf8 windowpreviews/windowshadows don't go here anymore
will be qml bindings material
2013-02-08 11:20:24 +01:00
Alex Neundorf
c60345f4e5 buildsystem: build always sharted libs, remove WINCE "support"
Alex
2013-02-08 01:06:27 +01:00
Aaron Seigo
46cf753b15 wallpapers will no longer have modes; just plugin names to differentiate
modes were a bit of a hack to easily allow one C++ plugin to handle
multiple (to the user) wallpapers. this just doesn't seem necessary
anymore (and even in the C++ case could have been addressed by compiling
multiple plugins that share code)
2013-02-06 15:23:48 +01:00
Aaron Seigo
151311f9b9 make Package::setPath a bit more like the version now in libplasma1 2013-02-05 16:34:43 +01:00
Aaron Seigo
8940257c17 nothing to moc here, folks 2013-02-05 16:34:43 +01:00
Aaron Seigo
93062f4b50 this approach to security is obsoleted with the move to QML
it was never perfect, more of a "trusted control" system. now that we
have QML only, we need to use that for these features.
2013-02-05 16:34:43 +01:00
Marco Martin
5f107d3fcb get rid of all delayedinit stuff 2013-02-05 16:00:12 +01:00
Marco Martin
48561504c8 remove delayedContainmentInit 2013-02-05 14:55:40 +01:00
Marco Martin
7f654acfd2 replace graphicObject with a dynamic property 2013-02-05 13:15:32 +01:00
Marco Martin
7912da6072 actually show the containment's qml 2013-02-04 19:47:35 +01:00
Marco Martin
624817e9f3 make the scriptengine successfully load 2013-02-04 18:02:03 +01:00
Marco Martin
09b1663a34 successfully load the package 2013-02-01 13:20:20 +01:00
Marco Martin
2318a4cc37 use the upstream QX11Info 2013-01-31 11:06:52 +01:00
Marco Martin
ff49303cbb port threadweaver usage to installed includes 2013-01-30 17:31:32 +01:00
Marco Martin
7d636803e6 subtree merge of kdelibs/plasma into plasma 2013-01-30 13:43:33 +01:00
Aaron J. Seigo
44f44ebfea ok, let's put this back, then try one more time and get it right this time. gh
svn path=/trunk/KDE/kdelibs/; revision=879758
2008-11-03 23:07:38 +00:00
Aaron J. Seigo
fa5a2d87d9 bum-de-dum! plasma to kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00