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

@@ -60,7 +60,7 @@ void MacroEvent::load(QDataStream &stream)
{
QByteArray ba;
stream >> ba;
m_id = Core::Id::fromName(ba);
m_id = Utils::Id::fromName(ba);
int count;
stream >> count;
quint8 id;
@@ -80,12 +80,12 @@ void MacroEvent::save(QDataStream &stream) const
stream << i.key() << i.value();
}
Core::Id MacroEvent::id() const
Utils::Id MacroEvent::id() const
{
return m_id;
}
void MacroEvent::setId(Core::Id id)
void MacroEvent::setId(Utils::Id id)
{
m_id = id;
}