RemoteLinux: Allow non-editable device configurations.

Change-Id: I2e77a9c6c13addbe58c76b9c0312be42d6e5feb3
Reviewed-on: http://codereview.qt.nokia.com/2449
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
Christian Kandeler
2011-08-01 18:01:00 +02:00
parent 5f5ea30662
commit 4b6d4d08f0
2 changed files with 8 additions and 2 deletions

View File

@@ -178,6 +178,12 @@ public:
*/
virtual QString displayNameForActionId(const QString &actionId) const=0;
/*!
True iff the user should be allowed to edit the device configurations created by this
factory. Returns true by default. Override if your factory creates fixed configurations
for which later editing makes no sense.
*/
bool isUserEditable() const { return true; }
/*!
Produces a dialog implementing the respective action. The dialog is supposed to be