diff options
author | Marco Bubke <marco.bubke@digia.com> | 2014-04-22 15:25:13 +0200 |
---|---|---|
committer | Marco Bubke <marco.bubke@digia.com> | 2014-04-22 15:39:18 +0200 |
commit | 5c5c1404277696ad62536f0222e00656422fe5af (patch) | |
tree | 33a2095772f808f4cecb0dd8e643b11fc99af12b /src/plugins/qmldesigner/components/propertyeditor/gradientmodel.h | |
parent | 96cc5ffb08bf6a2bd2f30ff9152ffcbce57ddb26 (diff) | |
download | qt-creator-5c5c1404277696ad62536f0222e00656422fe5af.tar.gz |
QmlDesigner: Export locking in GradiantModel
Change-Id: I6a67d2a38c1603d603c4b426fb1416647b00b1b9
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Diffstat (limited to 'src/plugins/qmldesigner/components/propertyeditor/gradientmodel.h')
-rw-r--r-- | src/plugins/qmldesigner/components/propertyeditor/gradientmodel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/components/propertyeditor/gradientmodel.h b/src/plugins/qmldesigner/components/propertyeditor/gradientmodel.h index e5275f2210..568676b08b 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/gradientmodel.h +++ b/src/plugins/qmldesigner/components/propertyeditor/gradientmodel.h @@ -65,6 +65,9 @@ public: Q_INVOKABLE void removeStop(int index); Q_INVOKABLE void deleteGradient(); + Q_INVOKABLE void lock(); + Q_INVOKABLE void unlock(); + static void registerDeclarativeType(); signals: |