forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user