[Development] Metatype system in Qt6
Uwe Rathmann
Uwe.Rathmann at tigertal.de
Tue Oct 30 14:20:55 CET 2018
On Mon, 29 Oct 2018 18:46:18 +0100, Olivier Goffart wrote:
> In Qt5, we also need the name for the string-based connection syntax.
I'm not sure if I'm ontopic for the Metatype system with my comment, so
please excuse me if I'm hijacking this thread for a moment.
I have this code:
https://github.com/uwerat/qskinny/blob/master/src/common/QskMetaFunction.h
https://github.com/uwerat/qskinny/blob/master/src/common/
QskMetaInvokable.h
This code is for situations, where registering callbacks ( slots ) is
needed, but without having a signal or a sender, that is a QObject. F.e
like what you have with QTimer::singleShot.
Our most important use case is a local bus system, that connects events
coming from a system using Sun RPC with slots or property values. As we
have several 100 pages each having lots of controls we don't want to
create dummy sender Objects only to be able to call a slot and I ended up
with diving into template programming myself.
Would it be possible to make all this template based stuff for setting up
callbacks more independent from being used with signals in Qt6 ?
ciao,
Uwe
More information about the Development
mailing list