MCPcopy Create free account
hub / github.com/Audio4Linux/JDSP4Linux / toJson

Method toJson

src/data/PresetRule.h:47–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 : deviceName(deviceName), deviceId(deviceId), preset(preset), routeName(routeName), routeId(routeId) {}
46
47 QJsonObject toJson() const
48 {
49 QJsonObject pkg;
50 pkg["deviceName"] = deviceName;
51 pkg["deviceId"] = deviceId;
52 pkg["preset"] = preset;
53 pkg["routeName"] = routeName;
54 pkg["routeId"] = routeId;
55 return pkg;
56 }
57
58 bool operator==(const PresetRule &rhs)
59 {

Callers 1

saveRulesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected