guiFactory() in KTextEditor::MainWindow

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Mon Jan 6 21:07:03 GMT 2020


Hi,

On Mon, 06 Jan 2020 19:50:17 +0100
Christoph Cullmann <christoph at cullmann.io> wrote:
> For KF6, we might want to improve the interfaces more e.g. to easier 
> allow
> to expose stuff like projects to the plugins. Perhaps that might be
> an other
> place to cooperate.

I'll be happy to chime in with ideas when I have some.
 
> For the proposed extension/change: Perhaps we should do it the other
> way around:
> 
> 1) Deprecate KTextEditor::MainWindow::guiFactory()
> 2) Let the host application add the plugin views to it's GUI by 
> "requiring" that they
> inherit from the KXMLGUIClient
> 
> That would give you flexibility and would move the tedious task of
> plug in/out the UI
> to the host application away from all plugins.

This does make a lot of sense, indeed. Yet, I was looking for a
solution that could be implemented right now (not sure on the KF6
timeline, and a bit afraid that I won't remember to come back to it
at the right moment).

Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20200106/95a27cc0/attachment.sig>


More information about the KWrite-Devel mailing list