[Development] My contribution : Extension to Qt

Olivier Goffart olivier at woboq.com
Wed Jun 4 10:32:17 CEST 2014


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.

-- 
Olivier 

Woboq - Qt services and support - http://woboq.com - http://code.woboq.org



More information about the Development mailing list