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:
@@ -27,7 +27,6 @@
|
||||
|
||||
#include <projectexplorer/kitchooser.h>
|
||||
#include <projectexplorer/kitinformation.h>
|
||||
#include <coreplugin/id.h>
|
||||
|
||||
#include <QDialogButtonBox>
|
||||
#include <QFormLayout>
|
||||
@@ -108,7 +107,7 @@ Kit *QmlProfilerAttachDialog::kit() const
|
||||
return d->kitChooser->currentKit();
|
||||
}
|
||||
|
||||
void QmlProfilerAttachDialog::setKitId(Core::Id id)
|
||||
void QmlProfilerAttachDialog::setKitId(Utils::Id id)
|
||||
{
|
||||
d->kitChooser->setCurrentKitId(id);
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <coreplugin/id.h>
|
||||
#include <utils/id.h>
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
@@ -47,7 +47,7 @@ public:
|
||||
void setPort(const int port);
|
||||
|
||||
ProjectExplorer::Kit *kit() const;
|
||||
void setKitId(Core::Id id);
|
||||
void setKitId(Utils::Id id);
|
||||
|
||||
private:
|
||||
QmlProfilerAttachDialogPrivate *d;
|
||||
|
||||
@@ -92,6 +92,7 @@ using namespace Debugger;
|
||||
using namespace Debugger::Constants;
|
||||
using namespace QmlProfiler::Constants;
|
||||
using namespace ProjectExplorer;
|
||||
using namespace Utils;
|
||||
|
||||
namespace QmlProfiler {
|
||||
namespace Internal {
|
||||
|
||||
Reference in New Issue
Block a user