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