On Wed 02 Jan 2008, Anders Lund wrote: > On Wednesday 02 January 2008, Michel Ludwig wrote: > > The problem with that approach is that one doesn't really know what the > > actions are doing. > > But for any action that is not specified in an interface, you would not > know. Yes, but that doesn't concern us :-) Anyway, one would only choose not to have certain actions if there are good good reasons for doing so. What I have in mind is something like an "ExtendedViewCreation" interface which has a function View* createView(QWidget *parent, ActionGroupFlags excludeFlags) and ActionGroupFlags would contain flags like 'SaveAsAction' and 'SpellcheckingActions'. The intention is that if one (or several) of these flags is set, the actions corresponding to that category are not created for the view. Michel _______________________________________________ KTextEditor-Devel mailing list KTextEditor-Devel@kde.org https://mail.kde.org/mailman/listinfo/ktexteditor-devel