MCPcopy Create free account
hub / github.com/KDE/kdevelop / format2str

Method format2str

kdevplatform/debugger/variable/variablecollection.cpp:181–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181QString Variable::format2str(format_t format)
182{
183 switch(format) {
184 case Natural: return QStringLiteral("natural");
185 case Binary: return QStringLiteral("binary");
186 case Octal: return QStringLiteral("octal");
187 case Decimal: return QStringLiteral("decimal");
188 case Hexadecimal: return QStringLiteral("hexadecimal");
189 }
190 return QString();
191}
192
193
194void Variable::setFormat(Variable::format_t format)

Callers

nothing calls this directly

Calls 1

QStringClass · 0.70

Tested by

no test coverage detected