diff options
| author | Erik Verbruggen <[email protected]> | 2010-01-22 13:24:06 +0100 |
|---|---|---|
| committer | Erik Verbruggen <[email protected]> | 2010-01-22 13:24:06 +0100 |
| commit | ff910fd7570499e072eff0562cab918c33de5602 (patch) | |
| tree | 95d9970fa911a79668ffe68b0a263ed9d6958fdf /src/libs/cplusplus/OverviewModel.cpp | |
| parent | 0874b4a25d3147895a837c956a9c4f72b44b2d06 (diff) | |
Added "@property" to the outline entries for ObjC properties.
Diffstat (limited to 'src/libs/cplusplus/OverviewModel.cpp')
| -rw-r--r-- | src/libs/cplusplus/OverviewModel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/cplusplus/OverviewModel.cpp b/src/libs/cplusplus/OverviewModel.cpp index a4817f0f464..53fc6f28db6 100644 --- a/src/libs/cplusplus/OverviewModel.cpp +++ b/src/libs/cplusplus/OverviewModel.cpp @@ -178,6 +178,8 @@ QVariant OverviewModel::data(const QModelIndex &index, int role) const if (clazz->isCategory()) name += QLatin1String(" (") + _overview.prettyName(clazz->categoryName()) + QLatin1Char(')'); } + if (symbol->isObjCPropertyDeclaration()) + name = QLatin1String("@property ") + name; if (symbol->isObjCMethod()) { ObjCMethod *method = symbol->asObjCMethod(); if (method->isStatic()) |
