Version: (using KDE 4.0.98) Installed from: Compiled From Sources I would like to be able to add QObjects to the action collection as well. I can add them at the trunk (Manager) and the leaf (Action), but anything that could be consolidated at the branch level has to be added to the leaves individually. Is there a way that it could be added to ActionCollection?
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.