MCPcopy Create free account
hub / github.com/DistroAV/DistroAV / qEnumToString

Function qEnumToString

src/forms/update.cpp:52–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50#define UPDATE_TIMEOUT_SEC 10
51
52template<typename QEnum> const char *qEnumToString(const QEnum value)
53{
54 return QMetaEnum::fromType<QEnum>().valueToKey(value);
55}
56
57PluginUpdateInfo::PluginUpdateInfo(const int httpStatusCode_, const QString &responseData_, const QString &errorData_)
58{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected