Multiple main window support, and action-collections
David Nolden
david.nolden.kdevelop at art-master.de
Mon Jul 27 07:51:00 UTC 2009
Am Montag 27 Juli 2009 01:29:17 schrieb Alexander Dymo:
> I'd say we need two functions in a plugin:
> //this would return action collection without a parent, and then will be
> //reparented to a mainwindow by mainwindow itself
> KActionCollection &IPlugin::guiActions()
> QString IPlugin::xmlGuiFile()
Such an API also looks like it can return the same actions all the time, which
is not true. The actions have to be created uniquely for each mainwindow.
Greetings, David
More information about the KDevelop-devel
mailing list