Move Id from Core to Utils

And add a compatibility wrapper for Core::Id, so we don't have to rename
all occurrences from Core::Id to Utils::Id.

This allows us to use Id also in Utils, which makes it possible to e.g.
move Core::InfoBar to Utils without work arounds.

Change-Id: I5555d05b4e52f09d501dbfe5d91252a982a97c61
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
Eike Ziller
2020-06-17 09:14:47 +02:00
parent 5ebe34a332
commit 1b431fe271
50 changed files with 169 additions and 135 deletions

View File

@@ -27,7 +27,9 @@
#include <QHash>
namespace Core { class Id; }
namespace Utils {
class Id;
}
QT_BEGIN_NAMESPACE
class QSettings;
@@ -60,8 +62,8 @@ struct TestSettings
bool popupOnFinish = true;
bool popupOnFail = false;
RunAfterBuildMode runAfterBuild = RunAfterBuildMode::None;
QHash<Core::Id, bool> frameworks;
QHash<Core::Id, bool> frameworksGrouping;
QHash<Utils::Id, bool> frameworks;
QHash<Utils::Id, bool> frameworksGrouping;
};
} // namespace Internal