guiFactory() in KTextEditor::MainWindow

Thomas Friedrichsmeier thomas.friedrichsmeier at
Fri Jan 17 12:55:34 GMT 2020

On Thu, 16 Jan 2020 20:27:29 +0100
Christoph Cullmann <christoph at> wrote:
> Hmm, we could extend it to have some Q_DECLARE_INTERFACE declared,
> then you can
> cast it with qobject_cast.
> On the other side, even dynamic_cast should be no issue, given I doubt
> we compile anywere without RTTI.

Yes, dynamic_cast should do the trick, and will make my suggested patch
much cleaner. I'll update it using that.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the KWrite-Devel mailing list