Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/language/duchain/topducontextdynamicdata.cpp
Show First 20 Lines • Show All 145 Lines • ▼ Show 20 Line(s) | 145 | #ifdef DEBUG_DATA_INFO | |||
---|---|---|---|---|---|
146 | DUChainBaseData* item = (DUChainBaseData*)(pointerInData(data, info.dataOffset)); | 146 | DUChainBaseData* item = (DUChainBaseData*)(pointerInData(data, info.dataOffset)); | ||
147 | int size = DUChainItemSystem::self().dynamicSize(*item); | 147 | int size = DUChainItemSystem::self().dynamicSize(*item); | ||
148 | Q_ASSERT(size); | 148 | Q_ASSERT(size); | ||
149 | #endif | 149 | #endif | ||
150 | } | 150 | } | ||
151 | 151 | | |||
152 | QString basePath() | 152 | QString basePath() | ||
153 | { | 153 | { | ||
154 | return globalItemRepositoryRegistry().path() + "/topcontexts/"; | 154 | return globalItemRepositoryRegistry().path() + QLatin1String("/topcontexts/"); | ||
155 | } | 155 | } | ||
156 | 156 | | |||
157 | QString pathForTopContext(const uint topContextIndex) | 157 | QString pathForTopContext(const uint topContextIndex) | ||
158 | { | 158 | { | ||
159 | return basePath() + QString::number(topContextIndex); | 159 | return basePath() + QString::number(topContextIndex); | ||
160 | } | 160 | } | ||
161 | 161 | | |||
162 | enum LoadType { | 162 | enum LoadType { | ||
▲ Show 20 Lines • Show All 679 Lines • Show Last 20 Lines |