MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / readFile

Method readFile

src/App/Branding.cpp:73–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73bool Branding::readFile(const QString& fn)
74{
75 QFile file(fn);
76 if (!file.open(QFile::ReadOnly)) {
77 return false;
78 }
79 if (!evaluateXML(&file, domDocument)) {
80 return false;
81 }
82 file.close();
83 return true;
84}
85
86Branding::XmlConfig Branding::getUserDefines() const
87{

Callers 1

initConfigMethod · 0.45

Calls 2

openMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected