QMetaClassInfoclass provides additional information about a class. 更多 …
类信息项是简单的 name – value 对,其被指定使用
Q_CLASSINFO()in the source code. The information can be retrieved usingname()andvalue()。例如:class MyClass: Q_CLASSINFO("author", "Sabrina Schweinsteiger") Q_CLASSINFO("url", "http://doc.moosesoft.co.uk/1.0/")This mechanism is free for you to use in your Qt applications. Qt doesn’t use it for any of its classes.
另请参阅
QMetaClassInfo
¶
QMetaClassInfo(QMetaClassInfo)
QMetaClassInfo
–
QMetaClassInfo