forked from qt-creator/qt-creator
Qmljs: remove unused method
Change-Id: Id3bce005ed4c972d6cbb7f37cf609ff551c7066c Reviewed-by: Marco Benelli <marco.benelli@qt.io>
This commit is contained in:
@@ -821,18 +821,6 @@ void ImportDependencies::removeExport(const QString &importId, const ImportKey &
|
|||||||
<< " (" << requiredPath << ")";
|
<< " (" << requiredPath << ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
void ImportDependencies::iterateOnCoreImports(
|
|
||||||
const ViewerContext &vContext,
|
|
||||||
std::function<bool (const CoreImport &)> const &iterF) const
|
|
||||||
{
|
|
||||||
QMapIterator<QString, CoreImport> i(m_coreImports);
|
|
||||||
while (i.hasNext()) {
|
|
||||||
i.next();
|
|
||||||
if (vContext.languageIsCompatible(i.value().language))
|
|
||||||
iterF(i.value()); // check also that at least one export is visible?
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void ImportDependencies::iterateOnLibraryImports(
|
void ImportDependencies::iterateOnLibraryImports(
|
||||||
const ViewerContext &vContext,
|
const ViewerContext &vContext,
|
||||||
std::function<bool (const ImportMatchStrength &,
|
std::function<bool (const ImportMatchStrength &,
|
||||||
|
|||||||
@@ -209,8 +209,6 @@ public:
|
|||||||
void removeExport(const QString &importId, const ImportKey &importKey,
|
void removeExport(const QString &importId, const ImportKey &importKey,
|
||||||
const QString &requiredPath, const QString &typeName = Export::libraryTypeName());
|
const QString &requiredPath, const QString &typeName = Export::libraryTypeName());
|
||||||
|
|
||||||
void iterateOnCoreImports(const ViewerContext &vContext,
|
|
||||||
std::function<bool(const CoreImport &)> const &iterF) const;
|
|
||||||
void iterateOnLibraryImports(const ViewerContext &vContext,
|
void iterateOnLibraryImports(const ViewerContext &vContext,
|
||||||
std::function<bool(const ImportMatchStrength &,
|
std::function<bool(const ImportMatchStrength &,
|
||||||
const Export &,
|
const Export &,
|
||||||
|
|||||||
Reference in New Issue
Block a user