Marco Martin
dfaaea7c1c
Applet::listCategories in PluginLoader
...
Applet::listCategories -> PluginLoader::listAppletCategories
2013-02-12 21:40:59 +01:00
Marco Martin
42bc0a2208
move all listAppletInfo in PluginLoader
2013-02-12 21:34:24 +01:00
Marco Martin
edf1250dce
remove unused methods in AppletPrivate
2013-02-12 21:24:22 +01:00
Marco Martin
fb0da15576
get rid of Applet::listAppletInfo
2013-02-12 21:18:16 +01:00
Marco Martin
38a3807c1b
Applet::newStatus() -> Applet::statusChanged()
...
consistent naming
2013-02-12 20:44:04 +01:00
Marco Martin
339cf7e846
remove some references to deleted classes
2013-02-12 20:17:16 +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
Sebastian Kügler
abcee7e0a3
remove redefinition of
2013-02-12 15:54:32 +01:00
Marco Martin
9390decfb0
test the busy property in the scriptengine
2013-02-12 14:07:13 +01:00
Marco Martin
44e8b52874
remove linking to some libraries
...
due to removed components is not necessary anymore to link to some of the libraries
2013-02-12 13:55:05 +01:00
Marco Martin
2fc897b1c7
remove size and popup constraints
2013-02-12 13:40:12 +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
5882fee318
remove Applet::hasFocus()
2013-02-12 13:10:50 +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
ea7a349656
remove Applet::font()
2013-02-12 12:59:41 +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
Sebastian Kügler
e5bc563158
A bunch of class name porting, build not enabled for these yet
2013-02-12 12:50:23 +01:00
Sebastian Kügler
2ca026e96e
Make bare plugin build, correct plugin macro
2013-02-12 12:50:23 +01:00
Sebastian Kügler
4eb4608608
Buildsystem changes for qtextracomponents plugin
...
Basically disables everything from the build. Does not compile like this
yet, but it's disabled in the toplevel anyway.
2013-02-12 12:50:23 +01:00
Sebastian Kügler
44aca0eccb
define QML_INSTALL_DIR a bit higher,
...
until it's merged into KDEInstallDirs.cmake
2013-02-12 12:50:23 +01:00
Sebastian Kügler
17ee518ccc
implicit{Width|Height} have moved into QQuickItem
...
These properties can just be ditched since they're available in our grandparent now.
2013-02-12 12:50:23 +01:00
Marco Martin
e6647c80bc
remove two completely unused signals
...
appletTransformedByUser appletTransformedItself
2013-02-12 12:34:10 +01:00
Marco Martin
cb43bb392c
remove Applet::hasAuthorization()
...
authorization will have to be done at QML level to have any hope to work
2013-02-12 12:18:42 +01:00
Marco Martin
b9036999f2
get rid of Applet::shouldConserveResources()
2013-02-12 11:51:05 +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
00bb07651b
formfactor and location are not virtual
2013-02-12 11:07:59 +01:00
Marco Martin
e9ca1b0f59
itemStatus() is not a slot
2013-02-12 11:05:50 +01:00
Marco Martin
0a623684c0
get rid of Applet::List and Applet::Dict types
2013-02-12 11:02:22 +01:00
Marco Martin
54adc7dce6
don't link to qca sincewe don't have remote widgets
2013-02-11 21:57:05 +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
bfe5c1e942
remove intoDeclarativeEngine folder
...
functionality of usefu; files in is already migrated
2013-02-11 19:38:44 +01:00
Marco Martin
b37ec71e9f
remove isPopupShowing() and popupPosition()
2013-02-11 19:37:54 +01:00
Marco Martin
798be9a407
remove the aspectRatioMode property
2013-02-11 19:32:41 +01:00
Marco Martin
436d6c35e7
reorder methods grouped for what they do
...
will make work in refactoring easier
see http://community.kde.org/Plasma/libplasma2/API_Review/Applet
2013-02-11 19:24:21 +01:00
Marco Martin
dd00f217a5
get rid of Q_PROPERTY and Q_INVOKABLE
...
Applet * won't be directly exposed to qml anymore
2013-02-11 18:28:53 +01:00
Marco Martin
8d5bb351c7
we require ecm 0.0.7 now
...
having the version number in the installation path may make ecm modules not retrocompatible even when the would be otherwise?
CCMAIL:neundorf@kde.org
2013-02-11 18:21:58 +01:00
Sebastian Kügler
7995f0c251
typos--
2013-02-11 14:27:40 +01:00
Sebastian Kügler
faa4826465
fix build of theme.cpp, Q_GLOBAL_STATIC needs parentheses
2013-02-11 12:11:11 +01:00
Sebastian Kügler
244e522b0a
fix typo
2013-02-11 12:10:39 +01:00
Sebastian Kügler
1b979c05dd
fix typo
2013-02-11 12:02:17 +01:00
Sebastian Kügler
d4f010b441
fix typos in API docs of applet
2013-02-11 11:47:23 +01:00
Ben Cooksley
5bfba9e4d4
We use X11Extras, so require it.
...
For now KDELibs4/KDELibs4LibraryTargets.cmake demands the presence of KJS, so make sure we drag KJS in.
2013-02-11 11:01:53 +13:00