View Full Version : how to get a class's signal list?
wshn13
16th March 2012, 04:53
I have no access to the class src/h code,also I don't know which class the class drived from ,there is only a instance of an class ,how can I get the class's signal list ?
ChrisW67
16th March 2012, 05:26
If you have a QObject then you can access that information via the QMetaObject.
QObject::staticMetaObject() and QObject::metaObject()
wshn13
16th March 2012, 05:52
If you have a QObject then you can access that information via the QMetaObject.
QObject::staticMetaObject() and QObject::metaObject()
Thanks ,I will have a try.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.