MCPcopy Create free account
hub / github.com/KDAB/KDChart / names

Method names

src/KDChart/KDChartPosition.cpp:173–181  ·  view source on GitHub ↗

* \brief Returns a list of all string, corresponding to * the pre-defined positions. * * \param options if set to \c ExcludeCenter, the returned list * does not contain the Center position. */

Source from the content-addressed store, hash-verified

171 * does not contain the Center position.
172 */
173QList<QByteArray> Position::names(Options options)
174{
175 QList<QByteArray> list;
176 const int start = (options & IncludeCenter) ? 1 : 2;
177 const int end = (options & IncludeFloating) ? maxPositionValue : maxPositionValue - 1;
178 for (int i = start; i <= end; ++i)
179 list.append(staticPositionNames[i]);
180 return list;
181}
182
183/**
184 * \brief Returns a list of all translated string, corresponding to

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected