summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/qmlcontextpane.h
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@nokia.com>2010-08-05 10:43:44 +0200
committerThomas Hartmann <Thomas.Hartmann@nokia.com>2010-08-05 10:51:31 +0200
commitbb64cc70057655de182e3d1698c744bcaeac7566 (patch)
tree9de48da8d070f9099aeedaffa5fba90e5508184a /src/plugins/qmldesigner/qmlcontextpane.h
parentd02c4083f0317b5012bd79085536eee5c2cca881 (diff)
downloadqt-creator-bb64cc70057655de182e3d1698c744bcaeac7566.tar.gz
QtQuickToolbar: adds isAvailable() to IContextPane
isAvailable() returns true if a Quick ToolBar is available for that node
Diffstat (limited to 'src/plugins/qmldesigner/qmlcontextpane.h')
-rw-r--r--src/plugins/qmldesigner/qmlcontextpane.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/qmlcontextpane.h b/src/plugins/qmldesigner/qmlcontextpane.h
index 04006a38aa..eac2aa85ec 100644
--- a/src/plugins/qmldesigner/qmlcontextpane.h
+++ b/src/plugins/qmldesigner/qmlcontextpane.h
@@ -29,6 +29,7 @@ public:
QmlContextPane(QObject *parent = 0);
~QmlContextPane();
void apply(TextEditor::BaseTextEditorEditable *editor, QmlJS::Document::Ptr doc, const QmlJS::Snapshot &snapshot, QmlJS::AST::Node *node, bool update, bool force = 0);
+ bool isAvailable(TextEditor::BaseTextEditorEditable *editor, QmlJS::Document::Ptr doc, const QmlJS::Snapshot &snapshot, QmlJS::AST::Node *node);
void setProperty(const QString &propertyName, const QVariant &value);
void removeProperty(const QString &propertyName);
void setEnabled(bool);