Kits: Allow for mutable KitInformation

Mutable KitInformation are those that are supposed to be editable in more
user-accessible places (e.g. like the Mini Target Selector or similar)
than the normal kit options page.

The functionality to display these settings is not part of this patch.

Change-Id: I13446c49abf89eaf739a60dbcd01c97e2144de45
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Tobias Hunger
2013-09-09 17:11:59 +02:00
parent 6e5f4e05bb
commit f05fcdcdd5
7 changed files with 74 additions and 2 deletions

View File

@@ -43,4 +43,14 @@ Core::Id KitConfigWidget::kitInformationId() const
return m_kitInformation->id();
}
bool KitConfigWidget::isMutable() const
{
return m_kit->isMutable(m_kitInformation->id());
}
void KitConfigWidget::setMutable(bool b)
{
m_kit->setMutable(m_kitInformation->id(), b);
}
} // namespace ProjectExplorer