diff --git a/src/plugins/qmleditor/qmleditor.pro b/src/plugins/qmleditor/qmleditor.pro index 0f222998009f0536af869a270e97f8a32bc029dd..5f6a5a9642b9b707d3fc3bba1279aa0ef20325ab 100644 --- a/src/plugins/qmleditor/qmleditor.pro +++ b/src/plugins/qmleditor/qmleditor.pro @@ -26,8 +26,7 @@ HEADERS += qmleditor.h \ qmllookupcontext.h \ qmlresolveexpression.h \ qmlsymbol.h \ - qmlfilewizard.h \ - qmlscope.h + qmlfilewizard.h SOURCES += qmleditor.cpp \ qmleditorfactory.cpp \ qmleditorplugin.cpp \ @@ -44,6 +43,5 @@ SOURCES += qmleditor.cpp \ qmllookupcontext.cpp \ qmlresolveexpression.cpp \ qmlsymbol.cpp \ - qmlfilewizard.cpp \ - qmlscope.cpp + qmlfilewizard.cpp RESOURCES += qmleditor.qrc diff --git a/src/plugins/qmleditor/qmlscope.cpp b/src/plugins/qmleditor/qmlscope.cpp deleted file mode 100644 index 8d467d12f73873c875b4f262f9a6abc0e5af0115..0000000000000000000000000000000000000000 --- a/src/plugins/qmleditor/qmlscope.cpp +++ /dev/null @@ -1,35 +0,0 @@ -#include "qmlscope.h" - -using namespace QmlEditor; -using namespace QmlEditor::Internal; - -Scope::Scope(Scope *parentScope): - _parentScope(parentScope) -{ -} - -Scope::~Scope() -{ -} - -bool Scope::isJSScope() -{ return asJSScope() != 0; } - -bool Scope::isQmlScope() -{ return asQmlScope() != 0; } - -JSScope *Scope::asJSScope() -{ return 0; } - -QmlScope *Scope::asQmlScope() -{ return 0; } - -QmlScope::QmlScope(QmlScope *parentScope): - Scope(parentScope) -{ -} - -JSScope::JSScope(Scope *parentScope): - Scope(parentScope) -{ -} diff --git a/src/plugins/qmleditor/qmlscope.h b/src/plugins/qmleditor/qmlscope.h deleted file mode 100644 index a53c1174bb079fb447df334788d606780ad4cabd..0000000000000000000000000000000000000000 --- a/src/plugins/qmleditor/qmlscope.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef QMLSCOPE_H -#define QMLSCOPE_H - -namespace QmlEditor { -namespace Internal { - -class QmlScope; -class JSScope; - -class Scope -{ -public: - Scope(Scope *parentScope); - virtual ~Scope(); - - bool isQmlScope(); - bool isJSScope(); - - virtual QmlScope *asQmlScope(); - virtual JSScope *asJSScope(); - -private: - Scope *_parentScope; -}; - -class QmlScope: public Scope -{ -public: - QmlScope(QmlScope *parentScope); -}; - -class JSScope: public Scope -{ - JSScope(Scope *parentScope); -}; - -} // namespace Internal -} // namespace QmlEditor - -#endif // QMLSCOPE_H