On 06/04/2014 10:32 AM, Olivier Goffart wrote:
On Tuesday 03 June 2014 21:03:57 wim delvaux wrote:
Check out the project in DynamicQObject
Hi,

Where is it?  Do you have any URL?

Keep in mind that all the internals of QMetaObject are internal and subject to
change.  (But we will keep compatibility with older moc generated code.)

In general, i think it would be beneficial to have some public API in QObject
to create dynamic signals or slots.

Something in the lines of:

   QObject::addDynamicSignal(const char *signature);
or
   QObject::addDynamicSignal(const char *name, QList<int> argumentsMetaType);
or ...

and
   QObject::addDynamicSlot(const char *name, Callback);

Or something similar.


I would love to see something like this, being able to add Signals without having to messing around with the QMetaObject

Dominik


_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to