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

Method GetSettingsFile

Src/Operate.cpp:143–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143QString COperate::GetSettingsFile()
144{
145 if(m_szSettings.isEmpty())
146 {
147 QString szId = Id();
148 static QRegularExpression exp("[-@:#%!^&* .]");
149 szId = szId.replace(exp, "_");
150 m_szSettings = RabbitCommon::CDir::Instance()->GetDirUserData()
151 + QDir::separator()
152 + szId
153 + ".rrc";
154 }
155 return m_szSettings;
156}
157
158int COperate::SetSettingsFile(const QString &szFile)
159{

Callers 7

foreachFunction · 0.80
foreachFunction · 0.80
StartMethod · 0.80
slotUpdateNameMethod · 0.80
slotNewMethod · 0.80
SaveOperateMethod · 0.80
CreateOperateMethod · 0.80

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected