MetaObject: Apply some cosmetics
Add missing white space to moc output and list all the values of QMetaObject::Call in the internal documentation. Change-Id: I57d0c5b88bfaee4ca3f2d4604564751b6d0cbe51 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
parent
0fc1f8174f
commit
2db2eb600a
@ -97,12 +97,16 @@ using namespace Qt::StringLiterals;
|
|||||||
|
|
||||||
\internal
|
\internal
|
||||||
|
|
||||||
\value InvokeSlot
|
\value InvokeMetaMethod
|
||||||
\value EmitSignal
|
|
||||||
\value ReadProperty
|
\value ReadProperty
|
||||||
\value WriteProperty
|
\value WriteProperty
|
||||||
\value ResetProperty
|
\value ResetProperty
|
||||||
\value CreateInstance
|
\value CreateInstance
|
||||||
|
\value IndexOfMethod
|
||||||
|
\value RegisterPropertyMetaType
|
||||||
|
\value RegisterMethodArgumentMetaType
|
||||||
|
\value BindableProperty
|
||||||
|
\value CustomCall
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -1282,7 +1282,7 @@ void Generator::generateStaticMetacall()
|
|||||||
hasBindableProperties |= !p.bind.isEmpty();
|
hasBindableProperties |= !p.bind.isEmpty();
|
||||||
}
|
}
|
||||||
if (needElse)
|
if (needElse)
|
||||||
fprintf(out, "else ");
|
fprintf(out, " else ");
|
||||||
fprintf(out, "if (_c == QMetaObject::ReadProperty) {\n");
|
fprintf(out, "if (_c == QMetaObject::ReadProperty) {\n");
|
||||||
|
|
||||||
auto setupMemberAccess = [this]() {
|
auto setupMemberAccess = [this]() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user