guiFactory() in KTextEditor::MainWindow
thomas.friedrichsmeier at ruhr-uni-bochum.de
Fri Jan 17 12:55:34 GMT 2020
On Thu, 16 Jan 2020 20:27:29 +0100
Christoph Cullmann <christoph at cullmann.io> 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
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the KWrite-Devel