forked from qt-creator/qt-creator
Get rid of the those ugly warnings.
This commit is contained in:
@@ -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);
|
||||
|
@@ -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
|
||||
|
@@ -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.
|
||||
|
@@ -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();
|
||||
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user