diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2011-08-08 12:47:49 +0200 |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2011-08-08 13:21:28 +0200 |
commit | 0e54183d4d31dc34fc742503c6e0956dd1737133 (patch) | |
tree | 5afeed4c2c52fa17314369e59cdcf034139c43a7 /src/libs/qmljs/qmljsicontextpane.h | |
parent | ff092f79b33e48847c7a475eb7362ffb9649aa49 (diff) | |
download | qt-creator-0e54183d4d31dc34fc742503c6e0956dd1737133.tar.gz |
QmlJS: Remove Interpreter namespace.
The distinction between QmlJS and QmlJS::Interpreter has always been
weak and the extra namespace just added an unnecessary complication.
Change-Id: I4db8ef4bd91b5f6bf610a9d23fdbf55bd60250fc
Reviewed-on: http://codereview.qt.nokia.com/2743
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
Diffstat (limited to 'src/libs/qmljs/qmljsicontextpane.h')
-rw-r--r-- | src/libs/qmljs/qmljsicontextpane.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libs/qmljs/qmljsicontextpane.h b/src/libs/qmljs/qmljsicontextpane.h index 3a05e7d04c..26e6759e39 100644 --- a/src/libs/qmljs/qmljsicontextpane.h +++ b/src/libs/qmljs/qmljsicontextpane.h @@ -46,9 +46,7 @@ class BaseTextEditor; namespace QmlJS { -namespace Interpreter { class ScopeChain; -} class QMLJS_EXPORT IContextPane : public QObject { @@ -57,7 +55,7 @@ class QMLJS_EXPORT IContextPane : public QObject public: IContextPane(QObject *parent = 0) : QObject(parent) {} virtual ~IContextPane() {} - virtual void apply(TextEditor::BaseTextEditor *editor, Document::Ptr document, const Interpreter::ScopeChain *scopeChain, AST::Node *node, bool update, bool force = false) = 0; + virtual void apply(TextEditor::BaseTextEditor *editor, Document::Ptr document, const ScopeChain *scopeChain, AST::Node *node, bool update, bool force = false) = 0; virtual void setEnabled(bool) = 0; virtual bool isAvailable(TextEditor::BaseTextEditor *editor, Document::Ptr document, AST::Node *node) = 0; virtual QWidget* widget() = 0; |