![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\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 428 of file qmetaobject.h.
|
inlineconstexpr |
Definition at line 431 of file qmetaobject.h.
|
inline |
Definition at line 434 of file qmetaobject.h.
| const char * QMetaClassInfo::name | ( | ) | const |
| const char * QMetaClassInfo::value | ( | ) | const |
|
friend |
Definition at line 448 of file qmetaobject.h.