Device support: Make IDevice::executeAction non-const.

Presumably this function is currently const because no current
implementation actually changes device properties, but there
is no reason why that should not be allowed.

Change-Id: I80e4355be70e40bca9df5e1287a1d1d3f60c6534
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Christian Kandeler
2013-09-16 11:12:31 +02:00
parent 0b5639f735
commit 2a3ef09473
11 changed files with 14 additions and 11 deletions

View File

@@ -45,7 +45,7 @@ public:
ProjectExplorer::IDeviceWidget *createWidget();
QList<Core::Id> actionIds() const;
QString displayNameForActionId(Core::Id actionId) const;
void executeAction(Core::Id actionId, QWidget *parent = 0) const;
void executeAction(Core::Id actionId, QWidget *parent = 0);
bool canAutoDetectPorts() const;
ProjectExplorer::IDevice::Ptr clone() const;