[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: guiFactory() in KTextEditor::MainWindow
From:       Thomas Friedrichsmeier <thomas.friedrichsmeier () ruhr-uni-bochum ! de>
Date:       2020-01-06 21:07:03
Message-ID: 20200106220703.1d6f3a6a () edge
[Download RAW message or body]


Hi,

On Mon, 06 Jan 2020 19:50:17 +0100
Christoph Cullmann <christoph@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

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic