Core/Utils: Migrate further to Utils::Id

The coreplugin/id.h header is kept for downstream for now.

Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2020-06-26 13:59:38 +02:00
parent 4924392620
commit 430a33dcd9
655 changed files with 2115 additions and 2093 deletions

View File

@@ -25,9 +25,10 @@
#pragma once
#include <coreplugin/id.h>
#include <projectexplorer/project.h>
#include <utils/id.h>
#include <QObject>
#include <QString>
@@ -48,8 +49,8 @@ public:
bool useGlobalConfig() const;
void setUseGlobalConfig(bool useGlobalConfig);
Core::Id warningConfigId() const;
void setWarningConfigId(const Core::Id &warningConfigId);
::Utils::Id warningConfigId() const;
void setWarningConfigId(const ::Utils::Id &warningConfigId);
QStringList commandLineOptions() const;
void setCommandLineOptions(const QStringList &options);
@@ -65,7 +66,7 @@ signals:
private:
ProjectExplorer::Project *m_project;
bool m_useGlobalConfig = true;
Core::Id m_warningConfigId;
::Utils::Id m_warningConfigId;
QStringList m_customCommandLineOptions;
};