MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / Id

Method Id

Src/Operate.cpp:36–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36const QString COperate::Id()
37{
38 Q_ASSERT(GetPlugin());
39 QString szId = GetPlugin()->Name() + "_" + Protocol()
40 + "_" + QString::number((int)GetPlugin()->Type());
41 static QRegularExpression exp("[-@:/#%!^&* \\.]");
42 szId = szId.replace(exp, "_");
43 return szId;
44}
45
46const QString COperate::Name()
47{

Callers

nothing calls this directly

Calls 3

ProtocolEnum · 0.85
NameMethod · 0.45
TypeMethod · 0.45

Tested by

no test coverage detected