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

Method Load

Src/Operate.cpp:164–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164int COperate::Load(QString szFile)
165{
166 Q_ASSERT(!szFile.isEmpty());
167 if(szFile.isEmpty())
168 {
169 qCritical(log) << "The load file is empty";
170 return -1;
171 }
172 qInfo(log) << "Load configure file:" << szFile;
173 QSettings set(szFile, QSettings::IniFormat);
174 return Load(set);
175}
176
177int COperate::Save(QString szFile)
178{

Callers 5

InitTabMethod · 0.45
OnLoadMethod · 0.45
mainwindow.cppFile · 0.45
LoadOperateMethod · 0.45
LoadSettingsMethod · 0.45

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected