Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
\inmodule QtCore More...
#include <qmetaobject.h>
Public Member Functions | |
constexpr | QMetaClassInfo () |
const char * | name () const |
Returns the name of this item. | |
const char * | value () const |
Returns the value of this item. | |
const QMetaObject * | enclosingMetaObject () const |
Friends | |
struct | QMetaObject |
\inmodule QtCore
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.
Definition at line 413 of file qmetaobject.h.
|
inlineconstexpr |
Definition at line 416 of file qmetaobject.h.
|
inline |
Definition at line 419 of file qmetaobject.h.
const char * QMetaClassInfo::name | ( | ) | const |
Returns the name of this item.
Definition at line 4176 of file qmetaobject.cpp.
References rawStringData().
const char * QMetaClassInfo::value | ( | ) | const |
Returns the value of this item.
Definition at line 4188 of file qmetaobject.cpp.
References rawStringData().
|
friend |
Definition at line 433 of file qmetaobject.h.