QtQuickToolbar: Changes abstract interface of IContextPane

The parameter force now forces the activation of the Quick
ToolBar even if it is not shown by default (enabled).
This commit is contained in:
Thomas Hartmann
2010-08-04 13:52:05 +02:00
parent b193b3598f
commit 0624d6ec05
3 changed files with 4 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ class QMLJS_EXPORT IContextPane : public QObject
public:
IContextPane(QObject *parent = 0) : QObject(parent) {}
virtual ~IContextPane() {}
virtual void apply(TextEditor::BaseTextEditorEditable *editor, Document::Ptr doc, const QmlJS::Snapshot &snapshot, AST::Node *node, bool update) = 0;
virtual void apply(TextEditor::BaseTextEditorEditable *editor, Document::Ptr doc, const QmlJS::Snapshot &snapshot, AST::Node *node, bool update, bool force = false) = 0;
virtual void setEnabled(bool) = 0;
virtual QWidget* widget() = 0;
};