Commit Graph

7428 Commits

Author SHA1 Message Date
Aaron Seigo
240a7b1ebb and we're package to package-plasmastructure.desktop 2011-07-19 21:52:47 +02:00
Aaron Seigo
4a3ef536e6 private class changes to match the public class usage 2011-07-19 21:52:33 +02:00
Aaron Seigo
14f9471784 one thing one was using actionsFromMenu, not justifiable to put it here 2011-07-19 21:51:46 +02:00
Aaron Seigo
e80bc7d48a clean up includes 2011-07-19 21:41:33 +02:00
Aaron Seigo
d687e0d4b6 let PluginLoader do the work for us 2011-07-19 21:41:10 +02:00
Aaron Seigo
d010143b6f use PluginLoader directly for ContainmentActions 2011-07-19 21:40:57 +02:00
Marco Martin
95f09febca remove the static hash of packagestructure
unfortunately they are stateful with a state per-package, so sharing them leads to an incorrect state
2011-07-19 21:40:25 +02:00
Aaron Seigo
c03e8c6b05 get rid of static bool for default loader and make ctor and dtor protected, rename pluginLoader() to self() for consistency 2011-07-19 21:40:12 +02:00
Aaron Seigo
933e72092a add ContainmentActions to PluginLoader 2011-07-19 21:39:51 +02:00
Aaron Seigo
fb3a64ba6c make Package use PackageStructure, remove all virtuals
also kills the read/write methods as precisely zero things were using it
2011-07-19 21:37:39 +02:00
Aaron Seigo
d89eebe1be fixes for tests.. not quite 100% yet, but getting there. 2011-07-19 21:37:08 +02:00
Aaron Seigo
32f75b826c re-port back to PackageStructure 2011-07-19 21:36:57 +02:00
Aaron Seigo
8c354ba4c6 reintroducing PackageStructure as we need it for the virtuals. it is now a properly stateless clas, however, unlike in libplasma1 2011-07-19 21:36:29 +02:00
Aaron Seigo
53b5c433e5 may as well use the d ptr directly here 2011-07-19 20:00:25 +02:00
Aaron Seigo
85a33de90e call Applet::sceneEventFilter; otherwise applet handles are broken on Applets that are also Containments
BUG:277467
2011-07-19 09:39:02 +02:00
Aaron Seigo
3fc19683fa remove the event filter if we're a containment, don't return too early from the filter 2011-07-19 09:39:01 +02:00
Aaron Seigo
d65132f92f don't remove the applet itself from the scenevent filter when deregistering as a drag handle
the event filter is also used for things like the applet handle
2011-07-19 09:39:01 +02:00
Aaron Seigo
9f03a10b4d call Applet::sceneEventFilter; otherwise applet handles are broken on Applets that are also Containments
BUG:277467
2011-07-19 09:38:44 +02:00
Aaron Seigo
b35d410deb remove the event filter if we're a containment, don't return too early from the filter 2011-07-19 09:38:44 +02:00
Aaron Seigo
239b5a5d10 don't remove the applet itself from the scenevent filter when deregistering as a drag handle
the event filter is also used for things like the applet handle
2011-07-19 09:38:44 +02:00
Script Kiddy
7c3949f204 SVN_SILENT made messages (.desktop file) 2011-07-18 18:00:40 +02:00
Nicolás Alvarez
fe1fe477d0 DataEngine apidox: clarify that init() doesn't need to call base impl. 2011-07-18 11:33:01 -03:00
Nicolás Alvarez
09a24093cf Fix typo in Plasma::AbstractRunner apidox. 2011-07-18 11:33:01 -03:00
Marco Martin
9ef2c42b42 correctly concatenate the path.
package is valid again (and passes plasmoidpackagetest)
2011-07-17 12:46:17 +02:00
Script Kiddy
d8215fbfd0 SVN_SILENT made messages (.desktop file) 2011-07-15 16:57:31 +02:00
Aaron Seigo
911dcabb5a return the hex representation, as we used to
and now, plasmoidpackagetest passes 6 out of 6 tests. huzzah!
2011-07-15 14:24:35 +02:00
Aaron Seigo
6c21a28382 5 pass, 1 fail. to celebrate, some minor cleanups ;) 2011-07-15 14:18:17 +02:00
Aaron Seigo
08c07c4a0d d->path, not path. error while merging. thank goodness for unit tests. 2011-07-15 14:17:42 +02:00
Aaron Seigo
acb2644b16 -2 failing tests 2011-07-15 14:09:19 +02:00
Aaron Seigo
c16dffd1e7 the rest of the fallout from the package changes 2011-07-15 13:35:58 +02:00
Aaron Seigo
2e51a57701 minimize the headers a bit 2011-07-15 13:35:47 +02:00
Aaron Seigo
cfa12b6c90 put package loading into PluginLoader with the rest of them 2011-07-15 13:34:10 +02:00
Aaron Seigo
94e4f35208 Package replaces PackageStructure+Package 2011-07-15 13:04:16 +02:00
Aaron Seigo
722c77e7ce move the needed datastructures into Package 2011-07-15 13:03:56 +02:00
Aaron Seigo
abf1b8510f make the PackageStructures into Package subclasses 2011-07-15 13:03:46 +02:00
Aaron Seigo
889c9e7bd3 adapt to Package merge changes 2011-07-15 13:03:22 +02:00
Aaron Seigo
89320201ec update with package merge changes 2011-07-15 13:02:29 +02:00
Aaron Seigo
1dde80056b no longer provide access to the package from the class, let Package do that; adapt to Package merge 2011-07-15 13:02:15 +02:00
Aaron Seigo
bbc569740e use the package directly in Applet::Private 2011-07-15 13:01:52 +02:00
Aaron Seigo
5b2eaf4a7f PackageStructure is no more 2011-07-15 13:01:28 +02:00
Aaron Seigo
e7106d2422 no longer provide access to the package from the class, let Package do that; adapt to Package merge 2011-07-15 13:01:17 +02:00
Aaron Seigo
a623e16283 cleanups, and GenericComponent no longer applies: just use Package::laod("Plasma/Generic") 2011-07-15 13:00:31 +02:00
Aaron Seigo
4b3b687088 no longer provide access to the package from the class, let Package do that; adapt to Package merge 2011-07-15 12:59:51 +02:00
Aaron Seigo
976c668a13 adapt to the Package merge 2011-07-15 12:59:17 +02:00
Aaron Seigo
cebb2ea6d6 port the tests 2011-07-15 12:58:56 +02:00
Aaron Seigo
776fe21b83 adapt to Package merge: return a Package by reference rather than a pointer 2011-07-15 12:58:33 +02:00
Aaron Seigo
8d5cd041c0 no longer provide access to the package from the class, let Package do that; adapt to Package merge 2011-07-15 12:58:06 +02:00
Aaron Seigo
d91fede662 merge packagestructure with package, make the commensurate change in the build 2011-07-15 12:57:46 +02:00
Aaron Seigo
6e721dcdf1 no longer provide access to the package from the class, let Package do that 2011-07-15 12:57:02 +02:00
Aaron Seigo
8c0d49b255 don't reference things that don't exist (this dox probably needs a rewrite) 2011-07-15 12:56:37 +02:00