Commit Graph

800 Commits

Author SHA1 Message Date
Script Kiddy
ca81fda6e7 SVN_SILENT made messages (.desktop file) 2013-03-10 08:58:07 +01:00
Marco Martin
af6e538fa4 make the desktop scripting finally work
completely migrate to X-Plasma-ContainmentType from the desktop file, use it to set the containment type as soon as possible (in Containment::init())
in this way the desktop script can recognize panels as what they are immediately
2013-03-07 21:25:30 +01:00
Marco Martin
0830c5047b X-Plasma-ContainmentType is Desktop by default
so when searching for desktops also search those who don't have
2013-03-07 19:55:45 +01:00
Marco Martin
dc9075f157 ContainmentCategories -> X-Plasma-ContainmentType
containments can have one and only one type
2013-03-07 19:28:06 +01:00
Marco Martin
9e2240bd8c get shell package from config 2013-03-05 16:44:13 +01:00
Marco Martin
6043baef89 adapt to kaboutdata api changes 2013-03-05 14:43:14 +01:00
Marco Martin
53c161fb58 packages without structure are invalid 2013-03-05 14:23:52 +01:00
Marco Martin
8646393758 shell package partly working 2013-03-05 13:58:18 +01:00
Marco Martin
90cf52e6c6 remove shortcutsChanged() 2013-03-04 16:50:01 +01:00
Marco Martin
e49b58c95d remove initializeLayout() 2013-03-04 16:48:17 +01:00
Marco Martin
759780ce3f remove releaseVisualFocus 2013-03-04 16:33:59 +01:00
Marco Martin
55add92bf8 remove actionCollections and shortcut config dlg 2013-03-04 16:28:51 +01:00
Marco Martin
9f6fbec2f3 remove updateShortcuts() and addShortcut() 2013-03-04 16:25:37 +01:00
Marco Martin
bc3c23187d remove containmentForScreen(int, QString, QVariantList)
this function is redundant, you can use containmentForScreen(int) then create a containment if returns 0
2013-03-04 16:18:06 +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
Marco Martin
89d7cbd648 CoronaBase->Corona
Corona was renamed CoronaBase in early stages of plasma2 life, then back to Corona, remove all signs of CoronaBase
2013-03-04 14:56:55 +01:00
Aaron Seigo
3edcbc51a3 better name for the method, and the setter will be replaced by package content 2013-03-04 13:51:13 +01:00
Sebastian Kügler
efb57d45b9 fix typos 2013-03-04 13:43:23 +01:00
Sebastian Kügler
a1afc6644b Fix typos in apidocs 2013-03-04 13:10:44 +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
b88339cb4a attempt to load different page set for containments 2013-02-28 16:33:44 +01:00
Marco Martin
0b6770e2b2 Containment::addApplet -> Containment::createApplet 2013-02-28 13:32:47 +01:00
Alex Neundorf
f07a425546 -fix build, find ThreadWeaver via KF5
I thin using the variables is safer, this way you are somewhat guarded against changes
in the names of targets, and a typo leads to an empty variable, instead to
"ld: cannot find -lkcoreaddons" which looks very much like a missing normal library

Alex
2013-02-27 21:45:35 +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
Sebastian Kügler
ff721cf8ae Respect packageRoot when uninstalling, not path() 2013-02-27 03:05:05 +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
7ab77c4e6d don't parse xml if we are given nothing to parse 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
Marco Martin
3a5e5f931b close window on ok/cancel pressed
delete window on close
2013-02-26 12:47:08 +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
0db4b9b870 don't add actions from the corona -> keyboard shortcuts aren't handled here anyways 2013-02-25 16:19:16 +01:00
Aaron Seigo
f2f96c507e remove actions related to focus; that belongs in script engine 2013-02-25 16:19:16 +01:00
Aaron Seigo
6122c2d2d1 get rid of associated widgets -> one less QWidget usage!
was still being used for global shortcuts .. turns out that isn't
necessary
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
c3a536a7a4 replace name, pluginName and icon with pluginInfo()
add ContainmentAction::pluginInfo()
2013-02-25 14:49:42 +01:00
Marco Martin
f00987658b remove ContainmentActions::configAccepted() 2013-02-25 14:43:16 +01:00
Marco Martin
d68087f410 performNextAction/performPreviousAction 2013-02-25 14:42:02 +01:00
Marco Martin
4ab7b3d044 remove ContainmentActions::triggerableContextAction 2013-02-25 14:39:46 +01:00
Marco Martin
b704d0a33a ContainmentActions has no friends 2013-02-25 14:38:22 +01:00
Marco Martin
de57997384 remove ContainmentActions::init() 2013-02-25 14:35:06 +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
Script Kiddy
459b49fff9 SVN_SILENT made messages (.desktop file) 2013-02-22 18:03:06 +01:00
Marco Martin
cfe6a40d3d ad a stub config ui
the config ui layout will be decided from the corona.
the desktop one will end up having desktop components

still missing:
* binding to plasmoid object
* way close the dialog
* use ok/apply/cancel
* how to implement difference between ok to apply and instant apply?
2013-02-22 15:10:55 +01:00
Albert Astals Cid
0b091ec503 Add missing " 2013-02-22 13:43:24 +01:00
Marco Martin
f4a4bb55de sync panel position to containment location 2013-02-21 17:49:52 +01:00
Marco Martin
0a587eae5e compare only applet ids, because geometries are not here anymore 2013-02-19 14:19:08 +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
Marco Martin
f5b51c7c54 Containment::Type -> Plasma::ContainmentType 2013-02-19 13:52:32 +01:00
Marco Martin
444d49709b move in PluginLoader metadata-related methods
listContainments
listContainmentsOfType
listContainmentTypes
listContainmentsForMimeType
2013-02-19 13:09:33 +01:00
Marco Martin
2686bed090 remove unused includes 2013-02-19 13:00:57 +01:00
Marco Martin
959103e004 ean removed friends and memebers 2013-02-19 12:41:31 +01:00
Marco Martin
32cbdac6e2 separe containmentactions and containment
most of containmentactions related stuff is now out of containment. some entanglement still exists
2013-02-19 12:03:53 +01:00
Marco Martin
ca799b08bf containmentActions logic is in ContainmentInterface
a copy is still in Containment, will be cleaned in next commit
2013-02-19 11:52:51 +01:00
Marco Martin
6941264229 remove toolBox related signals 2013-02-18 20:14:26 +01:00
Marco Martin
206c5cfb5e make containmentActionsConfig private
it will eventually have to be removed but for now the config needs to exist before the containmentactions instance, therefore still has to be out of ContainmentActions
2013-02-18 20:12:31 +01:00
Marco Martin
5b8ee2a834 remove add and remove ToolBoxAction 2013-02-18 19:09:57 +01:00
Marco Martin
79ebeb0a37 Applet::destroy() no more virtual 2013-02-18 19:01:50 +01:00
Marco Martin
d3448c01d6 remove Containment::destroy() 2013-02-18 18:59:47 +01:00
Marco Martin
86d89bf634 port more to new connect syntax to catch more errors 2013-02-18 18:54:44 +01:00
Marco Martin
bb005f1cc5 remove perVirtualdesktop views
remove any desktop reference from setScreen and containmentForScreen
along with lastScreen and lastDesktop
2013-02-18 18:05:45 +01:00
Marco Martin
0e8115b697 get rid of desktop and lastScreen accessors
remove Containment::desktop() lastDesktop(), lastScreen()
2013-02-18 17:57:05 +01:00
Marco Martin
94720b0cb4 get rid of Containment::clearApplets() 2013-02-18 17:50:15 +01:00
Marco Martin
87cbad5565 get rif of showDropZone 2013-02-18 17:41:34 +01:00
Marco Martin
38145bedba get rid of context menu and wheel events 2013-02-18 17:37:47 +01:00
Marco Martin
2d845a4c91 get rid of position in addApplet() 2013-02-18 17:28:29 +01:00
Aaron Seigo
1303008ee6 clearContainments is unused and ACTUALLY remove the containments when init'ing 2013-02-18 13:17:48 +01:00
Aaron Seigo
dcc4c58bf7 keep the trailing slash as long as the package is a dir
also, use chop :)
2013-02-18 12:22:35 +01:00
Sebastian Kügler
c662f09a7c Create the service directory, in case it doesn't exist.
Fixes package installation with non-existing local directories.
2013-02-18 04:09:50 +01:00
Sebastian Kügler
bbf7e910ec Fix loading plugininfo from file
Remove trailing slash from the path as it might point to a file, in
which case the file info lookup will fail.
2013-02-18 04:08:00 +01:00
Script Kiddy
a2efe7fb54 SVN_SILENT made messages (.desktop file) 2013-02-17 08:30:09 +01:00
Script Kiddy
72e2b9f1b6 SVN_SILENT made messages (.desktop file) 2013-02-16 09:56:02 +01:00
Marco Martin
a139247403 correctly emit appletRemoved
applet remove animation
At the moment is possible only to animate the disappearance of the background, the applet is immediately deleted.

how could be possible to animate the applet as well? (the graphic object should get to live more than Applet* and AppletScript* themselves)
2013-02-15 18:10:46 +01:00
Marco Martin
44b92bec42 make the destroy action work 2013-02-15 18:10:46 +01:00
Aaron Seigo
9a65f002ea move signing test into staging for now 2013-02-15 16:34:58 +01:00
Aaron Seigo
0842ae1b1a Revert "use Credentials in ServiceJob again"
This reverts commit 99088c6669.
2013-02-15 16:34:58 +01:00
Aaron Seigo
40c316e09c Revert "use Credentials in ServiceJob again"
This reverts commit 99088c6669.

	src/plasma/signing_p.h
2013-02-15 16:34:57 +01:00
Aaron Seigo
3bdef4ca2b testpackage completeness 2013-02-15 16:34:57 +01:00
Marco Martin
99088c6669 use Credentials in ServiceJob again 2013-02-15 15:44:17 +01:00
Marco Martin
7be75cab65 restore authentication-related files
authentication was removed by mistake together remote widgets
2013-02-15 15:37:33 +01:00
Aaron Seigo
8978db179f add the testing package 2013-02-15 15:17:32 +01:00
Aaron Seigo
aea5627ef4 fix packagestructure test 2013-02-15 15:16:54 +01:00
Marco Martin
dc5ccd2d76 be quiet 2013-02-14 19:56:36 +01:00
Marco Martin
4e44bc4c31 support for containment type in the desktop file
add a test panel containment
2013-02-14 19:12:11 +01:00
Sebastian Kügler
fe528a6fea Fix up include dirs 2013-02-14 17:32:41 +01:00
Sebastian Kügler
7dfe957e66 The Big Move
All cpp code moves into the src/ subdirectory, as the Frameworks policy
suggests.

Directory structure should now be in line with other, future frameworks.
2013-02-14 17:17:12 +01:00