Removed deprecate overload of LookupContext::classOrNamespace().

This commit is contained in:
Roberto Raggi
2010-05-14 13:43:51 +02:00
parent 9ed1f667a8
commit fca0d359ba
2 changed files with 0 additions and 12 deletions

View File

@@ -175,16 +175,6 @@ ClassOrNamespace *LookupContext::classOrNamespace(Symbol *symbol) const
return bindings()->findClassOrNamespace(symbol);
}
ClassOrNamespace *LookupContext::classOrNamespace(const Name *name, Symbol *lastVisibleSymbol) const
{
Scope *scope = _thisDocument->globalSymbols();
if (lastVisibleSymbol && lastVisibleSymbol->scope())
scope = lastVisibleSymbol->scope();
return classOrNamespace(name, scope);
}
QList<Symbol *> LookupContext::lookup(const Name *name, Scope *scope) const
{
QList<Symbol *> candidates;

View File

@@ -232,8 +232,6 @@ public:
static QList<const Name *> fullyQualifiedName(Symbol *symbol);
Q_DECL_DEPRECATED ClassOrNamespace *classOrNamespace(const Name *name, Symbol *lastVisibleSymbol) const;
private:
Control *_control;