Device support: Make device actions a little more flexible.

We give the implementors of the IDevice subclasses a litte more freedom
by not assuming a modal dialog.

Change-Id: I629a3ab7fc50a73229e6439af53f1bae0cf0259e
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Christian Kandeler
2012-05-02 16:03:26 +02:00
parent e19ad8eab2
commit d9b36a1b50
9 changed files with 30 additions and 32 deletions

View File

@@ -77,7 +77,7 @@ public:
ProjectExplorer::IDeviceWidget *createWidget();
QList<Core::Id> actionIds() const;
QString displayNameForActionId(Core::Id actionId) const;
QDialog *createAction(Core::Id actionId, QWidget *parent) const;
void executeAction(Core::Id actionId, QWidget *parent);
void fromMap(const QVariantMap &map);
ProjectExplorer::IDevice::Ptr clone() const;