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;
|
typedef QList< QPair<const Identifier *, FullySpecifiedType> > Substitution;
|
||||||
|
|
||||||
public:
|
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:
|
private:
|
||||||
DeprecatedGenTemplateInstance(QSharedPointer<Control> control, const Substitution &substitution);
|
DeprecatedGenTemplateInstance(QSharedPointer<Control> control, const Substitution &substitution);
|
||||||
|
@@ -159,6 +159,10 @@ const Name *LookupContext::minimalName(const Name *name,
|
|||||||
Scope *scope,
|
Scope *scope,
|
||||||
ClassOrNamespace *target) const
|
ClassOrNamespace *target) const
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(name);
|
||||||
|
Q_UNUSED(scope);
|
||||||
|
Q_UNUSED(target);
|
||||||
|
|
||||||
qWarning() << "TODO:" << Q_FUNC_INFO;
|
qWarning() << "TODO:" << Q_FUNC_INFO;
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
@@ -231,8 +231,8 @@ public:
|
|||||||
static QList<const Name *> fullyQualifiedName(Symbol *symbol);
|
static QList<const Name *> fullyQualifiedName(Symbol *symbol);
|
||||||
static QList<const Name *> path(Symbol *symbol);
|
static QList<const Name *> path(Symbol *symbol);
|
||||||
|
|
||||||
Q_DECL_DEPRECATED const Name *minimalName(const Name *name, Scope *source,
|
const Name *minimalName(const Name *name, Scope *source,
|
||||||
ClassOrNamespace *target) const;
|
ClassOrNamespace *target) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// The current expression.
|
// The current expression.
|
||||||
|
@@ -59,7 +59,7 @@ protected:
|
|||||||
QList<LookupItem> switchResults(const QList<LookupItem> &symbols);
|
QList<LookupItem> switchResults(const QList<LookupItem> &symbols);
|
||||||
FullySpecifiedType instantiate(const Name *className, Symbol *candidate) const;
|
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();
|
void thisObject();
|
||||||
|
|
||||||
|
@@ -58,7 +58,7 @@ public:
|
|||||||
|
|
||||||
virtual QStringList apply();
|
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,
|
static BaseTextEditor *editorForFile(const QString &fileName,
|
||||||
bool openIfClosed = false);
|
bool openIfClosed = false);
|
||||||
|
Reference in New Issue
Block a user