Qt 4.8
|
The QMetaClassInfo class provides additional information about a class. More...
#include <qmetaobject.h>
Public Functions | |
const QMetaObject * | enclosingMetaObject () const |
const char * | name () const |
Returns the name of this item. More... | |
QMetaClassInfo () | |
const char * | value () const |
Returns the value of this item. More... | |
Properties | |
uint | handle |
const QMetaObject * | mobj |
Friends | |
struct | QMetaObject |
The QMetaClassInfo class provides additional information about a class.
Class information items are simple name–value pairs that are specified using Q_CLASSINFO() in the source code. The information can be retrieved using name() and value(). For example:
This mechanism is free for you to use in your Qt applications. Qt doesn't use it for any of its classes.
Definition at line 224 of file qmetaobject.h.
|
inline |
Definition at line 227 of file qmetaobject.h.
|
inline |
Definition at line 230 of file qmetaobject.h.
const char * QMetaClassInfo::name | ( | ) | const |
Returns the name of this item.
Definition at line 2770 of file qmetaobject.cpp.
Referenced by QMetaObjectBuilder::addMetaObject(), and clone().
const char * QMetaClassInfo::value | ( | ) | const |
Returns the value of this item.
Definition at line 2782 of file qmetaobject.cpp.
Referenced by QDBusAdaptorConnector::addAdaptor(), QMetaObjectBuilder::addMetaObject(), clone(), QDeclarativeMetaType::defaultMethod(), QDeclarativeMetaType::defaultProperty(), QDeclarativeCompiler::deferredProperties(), QAxServerBase::Invoke(), QAxServerBase::Load(), qax_clean_type(), qDBusGenerateMetaObjectXml(), QAxBase::querySubObject(), and QAxServerBase::Save().
|
friend |
Definition at line 234 of file qmetaobject.h.
|
private |
Definition at line 233 of file qmetaobject.h.
Referenced by QMetaObject::classInfo().
|
private |
Definition at line 232 of file qmetaobject.h.
Referenced by QMetaObject::classInfo().