Summary: | Cannot add objects to Kross::ActionCollection | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kdelibs | Reporter: | Ben Boeckel <bugzilla.kde> |
Component: | general | Assignee: | Sebastian Sauer <mail> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | cullmann |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Ben Boeckel
2008-07-27 18:50:47 UTC
proposal from MathStuf; /KDE/kdelibs/includes/Kross/z is: #include "../../kross/x/y" core/ actioncollection.h Kross/ActionCollection action.h Kross/Action childreninterface.h Kross/ChildrenInterface errorinterface.h Kross/ErrorInterface interpreter.h Kross/Interpreter Kross/InterpreterInfo manager.h Kross/Manager metafunction.h Kross/MetaFunction Kross/MetaFunction/Option // use the '/' ? metatype.h Kross/MetaType // Other MetaType* classes? object.h Kross/Object script.h Kross/Script wrapperinterface.h Kross/WrapperInterface ui/ model.h Kross/ActionCollectionModel Kross/ActionCollectionProxyModel plugin.h Kross/ScriptingPlugin view.h Kross/ActionCollectionEditor Kross/ActionCollectionView If I were to make patches for this, would it be possible for this to make it into 4.2 (or even 4.3)? From what I can see, Kross::ActionCollection would need to grow an inheritance from Kross::ChildrenInterface. The Kross plugins would also need to add objects from parents of the action when being executed. Since this breaks binary compatibility and, AFAIK, KDevelop and KOffice2 are the only (or at least biggest) users of Kross and they do not yet have major releases where binary incompatibility would cause too much fallout. Kross got removed. |