Get rid of the those ugly warnings.

This commit is contained in:
Roberto Raggi
2010-07-19 15:10:06 +02:00
parent 6eadeb052c
commit c4ede7263d
5 changed files with 9 additions and 5 deletions

View File

@@ -46,7 +46,7 @@ public:
typedef QList< QPair<const Identifier *, FullySpecifiedType> > Substitution;
public:
Q_DECL_DEPRECATED static FullySpecifiedType instantiate(const Name *className, Symbol *candidate, QSharedPointer<Control> control);
static FullySpecifiedType instantiate(const Name *className, Symbol *candidate, QSharedPointer<Control> control);
private:
DeprecatedGenTemplateInstance(QSharedPointer<Control> control, const Substitution &substitution);

View File

@@ -159,6 +159,10 @@ const Name *LookupContext::minimalName(const Name *name,
Scope *scope,
ClassOrNamespace *target) const
{
Q_UNUSED(name);
Q_UNUSED(scope);
Q_UNUSED(target);
qWarning() << "TODO:" << Q_FUNC_INFO;
#if 0

View File

@@ -231,8 +231,8 @@ public:
static QList<const Name *> fullyQualifiedName(Symbol *symbol);
static QList<const Name *> path(Symbol *symbol);
Q_DECL_DEPRECATED const Name *minimalName(const Name *name, Scope *source,
ClassOrNamespace *target) const;
const Name *minimalName(const Name *name, Scope *source,
ClassOrNamespace *target) const;
private:
// The current expression.

View File

@@ -59,7 +59,7 @@ protected:
QList<LookupItem> switchResults(const QList<LookupItem> &symbols);
FullySpecifiedType instantiate(const Name *className, Symbol *candidate) const;
Q_DECL_DEPRECATED QList<LookupItem> getMembers(ClassOrNamespace *binding, const Name *memberName) const;
QList<LookupItem> getMembers(ClassOrNamespace *binding, const Name *memberName) const;
void thisObject();

View File

@@ -58,7 +58,7 @@ public:
virtual QStringList apply();
Q_DECL_DEPRECATED int positionInFile(const QString &fileName, int line, int column = 0) const;
int positionInFile(const QString &fileName, int line, int column = 0) const;
static BaseTextEditor *editorForFile(const QString &fileName,
bool openIfClosed = false);