diff options
| author | Roberto Raggi <roberto.raggi@nokia.com> | 2010-07-12 15:09:36 +0200 |
|---|---|---|
| committer | Roberto Raggi <roberto.raggi@nokia.com> | 2010-07-12 15:10:00 +0200 |
| commit | 06c7cb9b88f660aceba84e598c53dbd0794be226 (patch) | |
| tree | 2c63a38ddbf5344c9f987983eb08df1b8ad16fa3 /src/libs/cplusplus/LookupContext.h | |
| parent | adfdb51660f3d4251101283efa46b6617cbe43d4 (diff) | |
| download | qt-creator-06c7cb9b88f660aceba84e598c53dbd0794be226.tar.gz | |
Disable Create declaration from definition quickfix.
Diffstat (limited to 'src/libs/cplusplus/LookupContext.h')
| -rw-r--r-- | src/libs/cplusplus/LookupContext.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libs/cplusplus/LookupContext.h b/src/libs/cplusplus/LookupContext.h index 82f180592c..3854b4cb7b 100644 --- a/src/libs/cplusplus/LookupContext.h +++ b/src/libs/cplusplus/LookupContext.h @@ -125,6 +125,7 @@ public: /// Finds the binding associated to the given symbol. ClassOrNamespace *lookupType(Symbol *symbol); + ClassOrNamespace *lookupType(const QList<const Name *> &path); /// Returns the Control that must be used to create temporary symbols. /// \internal @@ -227,9 +228,10 @@ public: QSharedPointer<Control> control() const; // ### deprecate static QList<const Name *> fullyQualifiedName(Symbol *symbol); + static QList<const Name *> path(Symbol *symbol); - const Name *minimalName(const Name *name, Scope *source, - ClassOrNamespace *target) const; + Q_DECL_DEPRECATED const Name *minimalName(const Name *name, Scope *source, + ClassOrNamespace *target) const; private: // The current expression. |
