MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / describe

Method describe

launcher/tasks/Task.cpp:158–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158QString Task::describe()
159{
160 QString outStr;
161 QTextStream out(&outStr);
162 out << metaObject()->className() << QChar('(');
163 auto name = objectName();
164 if (name.isEmpty()) {
165 out << QString("0x%1").arg(reinterpret_cast<quintptr>(this), 0, 16);
166 } else {
167 out << name;
168 }
169 out << " ID: " << m_uid.toString(QUuid::WithoutBraces);
170 out << QChar(')');
171 out.flush();
172 return outStr;
173}
174
175bool Task::isRunning() const
176{

Callers

nothing calls this directly

Calls 4

QStringClass · 0.85
isEmptyMethod · 0.45
toStringMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected