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

Function toString

plugins/qmakemanager/tests/test_qmakefile.cpp:37–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36template <>
37char* toString(const QStringList& list)
38{
39 QByteArray ba;
40 if (list.isEmpty()) {
41 ba = "()";
42 } else {
43 ba = "(\"" + list.join(QStringLiteral("\", \"")).toLocal8Bit() + "\")";
44 }
45 return qstrdup(ba.data());
46}
47
48template <>
49char* toString(const QMakeFile::VariableMap& variables)

Callers

nothing calls this directly

Calls 7

joinMethod · 0.80
constBeginMethod · 0.80
constEndMethod · 0.80
isEmptyMethod · 0.45
dataMethod · 0.45
keyMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected