![]() |
Qt 6.x
The Qt SDK
|
#include <moc.h>
Collaboration diagram for FunctionDef:Public Types | |
| enum | Access { Private , Protected , Public } |
Public Member Functions | |
| QJsonObject | toJson () const |
Static Public Member Functions | |
| static void | accessToJson (QJsonObject *obj, Access acs) |
Public Attributes | |
| Type | type |
| QList< ArgumentDef > | arguments |
| QByteArray | normalizedType |
| QByteArray | tag |
| QByteArray | name |
| QByteArray | inPrivateClass |
| Access | access = Private |
| int | revision = 0 |
| bool | isConst = false |
| bool | isVirtual = false |
| bool | isStatic = false |
| bool | inlineCode = false |
| bool | wasCloned = false |
| bool | returnTypeIsVolatile = false |
| bool | isCompat = false |
| bool | isInvokable = false |
| bool | isScriptable = false |
| bool | isSlot = false |
| bool | isSignal = false |
| bool | isPrivateSignal = false |
| bool | isConstructor = false |
| bool | isDestructor = false |
| bool | isAbstract = false |
| bool | isRawSlot = false |
| enum FunctionDef::Access |
|
static |
| QJsonObject FunctionDef::toJson | ( | ) | const |
Definition at line 2078 of file moc.cpp.
References accessToJson(), QList< T >::append(), arg, args, arguments, QString::fromUtf8(), QByteArray::isEmpty(), QList< T >::isEmpty(), normalizedType, revision, tag, and wasCloned.
Here is the call graph for this function:Definition at line 77 of file moc.h.
Referenced by Moc::parse(), Moc::parseSignals(), Moc::parseSlotInPrivate(), and Moc::parseSlots().
| QList<ArgumentDef> FunctionDef::arguments |
Definition at line 70 of file moc.h.
Referenced by addFunction(), Moc::parseFunctionArguments(), qDBusParametersForMethod(), and toJson().
| bool FunctionDef::inlineCode = false |
Definition at line 83 of file moc.h.
Referenced by Moc::parseFunction(), and Moc::parseSignals().
| QByteArray FunctionDef::inPrivateClass |
Definition at line 74 of file moc.h.
Referenced by Moc::parseSlotInPrivate().
| bool FunctionDef::isAbstract = false |
Definition at line 96 of file moc.h.
Referenced by Moc::parseFunction().
| bool FunctionDef::isCompat = false |
Definition at line 88 of file moc.h.
Referenced by Moc::testFunctionAttribute().
| bool FunctionDef::isConst = false |
Definition at line 80 of file moc.h.
Referenced by Moc::parseFunction(), and Moc::parseMaybeFunction().
| bool FunctionDef::isConstructor = false |
Definition at line 94 of file moc.h.
Referenced by Moc::parse(), and Moc::parseMaybeFunction().
| bool FunctionDef::isDestructor = false |
Definition at line 95 of file moc.h.
Referenced by Moc::parse(), and Moc::parseMaybeFunction().
| bool FunctionDef::isInvokable = false |
Definition at line 89 of file moc.h.
Referenced by Moc::parse(), Moc::parseMaybeFunction(), and Moc::testFunctionAttribute().
| bool FunctionDef::isPrivateSignal = false |
Definition at line 93 of file moc.h.
Referenced by Moc::parseFunctionArguments().
| bool FunctionDef::isRawSlot = false |
Definition at line 97 of file moc.h.
Referenced by Moc::parseFunctionArguments().
| bool FunctionDef::isScriptable = false |
Definition at line 90 of file moc.h.
Referenced by addFunction(), and Moc::testFunctionAttribute().
| bool FunctionDef::isSignal = false |
Definition at line 92 of file moc.h.
Referenced by Moc::parse(), Moc::parseMaybeFunction(), and Moc::testFunctionAttribute().
| bool FunctionDef::isSlot = false |
Definition at line 91 of file moc.h.
Referenced by Moc::parse(), Moc::parseMaybeFunction(), and Moc::testFunctionAttribute().
| bool FunctionDef::isStatic = false |
Definition at line 82 of file moc.h.
Referenced by Moc::parseFunction(), Moc::parseMaybeFunction(), and Moc::testForFunctionModifiers().
| bool FunctionDef::isVirtual = false |
Definition at line 81 of file moc.h.
Referenced by Moc::parseFunction(), Moc::parseMaybeFunction(), Moc::parseSignals(), and Moc::testForFunctionModifiers().
| QByteArray FunctionDef::name |
Definition at line 73 of file moc.h.
Referenced by addFunction(), Moc::parseFunction(), and Moc::parseMaybeFunction().
| QByteArray FunctionDef::normalizedType |
Definition at line 71 of file moc.h.
Referenced by addFunction(), Moc::parseFunction(), Moc::parseMaybeFunction(), and toJson().
| int FunctionDef::revision = 0 |
Definition at line 78 of file moc.h.
Referenced by Moc::parse(), Moc::parseSignals(), Moc::parseSlotInPrivate(), Moc::parseSlots(), Moc::testFunctionRevision(), and toJson().
| QByteArray FunctionDef::tag |
Definition at line 72 of file moc.h.
Referenced by addFunction(), Moc::parseFunction(), Moc::parseMaybeFunction(), and toJson().
| Type FunctionDef::type |
Definition at line 69 of file moc.h.
Referenced by Moc::parseFunction(), and Moc::parseMaybeFunction().