diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-12-01 12:46:15 +0100 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-12-01 12:46:23 +0100 |
commit | 7c7ce13ac09d1a3a3807d0f4fea97688554d28d3 (patch) | |
tree | 9c73a3a6743ec973c0b7ec5cce9404a13bbbd9a0 /src/libs/cplusplus/Overview.h | |
parent | f2e77fb8fd2f3c06ccb7ab922bbde6a4f7a1f7f0 (diff) | |
download | qt-creator-7c7ce13ac09d1a3a3807d0f4fea97688554d28d3.tar.gz |
Use const names.
Diffstat (limited to 'src/libs/cplusplus/Overview.h')
-rw-r--r-- | src/libs/cplusplus/Overview.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/cplusplus/Overview.h b/src/libs/cplusplus/Overview.h index 95ab7515db..756a2307fe 100644 --- a/src/libs/cplusplus/Overview.h +++ b/src/libs/cplusplus/Overview.h @@ -66,14 +66,14 @@ public: int markedArgumentEnd() const; void setMarkedArgumentEnd(int end); - QString operator()(Name *name) const + QString operator()(const Name *name) const { return prettyName(name); } - QString operator()(const FullySpecifiedType &type, Name *name = 0) const + QString operator()(const FullySpecifiedType &type, const Name *name = 0) const { return prettyType(type, name); } - QString prettyName(Name *name) const; - QString prettyType(const FullySpecifiedType &type, Name *name = 0) const; + QString prettyName(const Name *name) const; + QString prettyType(const FullySpecifiedType &type, const Name *name = 0) const; QString prettyType(const FullySpecifiedType &type, const QString &name) const; private: |