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

Method Save

Src/Operate.cpp:177–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177int COperate::Save(QString szFile)
178{
179 Q_ASSERT(!szFile.isEmpty());
180 if(szFile.isEmpty())
181 {
182 qCritical(log) << "The load file is empty";
183 return -1;
184 }
185 qInfo(log) << "Save configure file:" << szFile;
186 QSettings set(szFile, QSettings::IniFormat);
187 return Save(set);
188}
189
190int COperate::Initial()
191{

Callers 11

on_pbSave_clickedMethod · 0.45
OnSaveMethod · 0.45
FrmActive.cppFile · 0.45
mainwindow.cppFile · 0.45
slotShowMessageBoxMethod · 0.45
closeEventMethod · 0.45
Q_LOGGING_CATEGORYFunction · 0.45
setupToolBarMethod · 0.45
SaveOperateMethod · 0.45
SaveSettingsMethod · 0.45

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected