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
|
||||
|
||||
\value InvokeSlot
|
||||
\value EmitSignal
|
||||
\value InvokeMetaMethod
|
||||
\value ReadProperty
|
||||
\value WriteProperty
|
||||
\value ResetProperty
|
||||
\value CreateInstance
|
||||
\value IndexOfMethod
|
||||
\value RegisterPropertyMetaType
|
||||
\value RegisterMethodArgumentMetaType
|
||||
\value BindableProperty
|
||||
\value CustomCall
|
||||
*/
|
||||
|
||||
/*!
|
||||
|
@ -1282,7 +1282,7 @@ void Generator::generateStaticMetacall()
|
||||
hasBindableProperties |= !p.bind.isEmpty();
|
||||
}
|
||||
if (needElse)
|
||||
fprintf(out, "else ");
|
||||
fprintf(out, " else ");
|
||||
fprintf(out, "if (_c == QMetaObject::ReadProperty) {\n");
|
||||
|
||||
auto setupMemberAccess = [this]() {
|
||||
|
Loading…
Reference in New Issue
Block a user