Re: [Development] QtCore: qt_addObject and qt_removeObject

2012-05-03 Thread Thiago Macieira
On quinta-feira, 3 de maio de 2012 14.53.44, Adriano Rezende wrote: Hi, Currently we have these 2 functions in qobject.cpp: extern C Q_CORE_EXPORT void qt_addObject(QObject *) {} extern C Q_CORE_EXPORT void qt_removeObject(QObject *) {} The qt_addObject is being called in the QObject

Re: [Development] QtCore: qt_addObject and qt_removeObject

2012-05-03 Thread Stephen Kelly
On Thursday, May 03, 2012 15:07:47 Thiago Macieira wrote: On quinta-feira, 3 de maio de 2012 14.53.44, Adriano Rezende wrote: Hi, Currently we have these 2 functions in qobject.cpp: extern C Q_CORE_EXPORT void qt_addObject(QObject *) {} extern C Q_CORE_EXPORT void

Re: [Development] QtCore: qt_addObject and qt_removeObject

2012-05-03 Thread Harri Porten
On Thu, 3 May 2012, Thiago Macieira wrote: My suggestion is to replace them by callbacks and keep the setters in a private header. Someone is against this idea? Not at all. I suggested that the Squish and Gamma Ray developers get together and put together a proper callback implementation