forked from qt-creator/qt-creator
qmljs: Remove foreach usage
Task-number: QTCREATORBUG-27464 Change-Id: Ifdb8cf514dfe328e0a64bde1beff3e63a4b7fbc3 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -154,13 +154,13 @@ public:
|
||||
QByteArray fingerprint() const
|
||||
{ return _fingerprint; }
|
||||
|
||||
QList<QmlDirParser::Component> components() const
|
||||
const QList<QmlDirParser::Component> components() const
|
||||
{ return _components; }
|
||||
|
||||
QList<QmlDirParser::Plugin> plugins() const
|
||||
{ return _plugins; }
|
||||
|
||||
QStringList typeInfos() const
|
||||
const QStringList typeInfos() const
|
||||
{ return _typeinfos; }
|
||||
|
||||
FakeMetaObjectList metaObjects() const
|
||||
@@ -169,7 +169,7 @@ public:
|
||||
void setMetaObjects(const FakeMetaObjectList &objects)
|
||||
{ _metaObjects = objects; }
|
||||
|
||||
QList<ModuleApiInfo> moduleApis() const
|
||||
const QList<ModuleApiInfo> moduleApis() const
|
||||
{ return _moduleApis; }
|
||||
|
||||
void setModuleApis(const QList<ModuleApiInfo> &apis)
|
||||
|
||||
Reference in New Issue
Block a user