[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-17 12:55:34
Message-ID: 20200117135534.0e0452e2 () edge
[Download RAW message or body]
On Thu, 16 Jan 2020 20:27:29 +0100
Christoph Cullmann <christoph@cullmann.io> wrote:
> Hmm, we could extend it to have some Q_DECLARE_INTERFACE declared,
> then you can
> cast it with qobject_cast.
>=20
> 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.
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