MCPcopy Create free account
hub / github.com/MyGUI/mygui / setFileName

Method setFileName

Tools/LayoutEditor/ProjectControl.cpp:402–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400 }
401
402 void ProjectControl::setFileName(const MyGUI::UString& _filePath, const MyGUI::UString& _fileName)
403 {
404 mProjectName = _fileName;
405 mProjectPath = _filePath;
406
407 SettingsManager::getInstance().setValue("Files/LastProjectName", mProjectName);
408 SettingsManager::getInstance().setValue("Files/LastProjectPath", mProjectPath);
409
410 addUserTag("CurrentProjectName", mProjectName);
411 }
412
413 void ProjectControl::updateCaption()
414 {

Callers

nothing calls this directly

Calls 2

addUserTagFunction · 0.85
setValueMethod · 0.45

Tested by

no test coverage detected