I am looking for one function that does the job. I guess I will have to get all the attributes individually.
Thanks.
I am looking for one function that does the job. I guess I will have to get all the attributes individually.
Thanks.
Use meta data, check:
QObject::metaObject
QMetaObject::property
QMetaProperty
You can fetch list of all properties or just list of properties for given class (QMetaObject::propertyOffset).
Last edited by MarekR22; 25th November 2010 at 13:58. Reason: reformatted to look better
dpatel (26th November 2010)
Bookmarks