forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user