MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / setModified

Method setModified

MiniZincIDE/project.cpp:420–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418}
419
420void Project::setModified(bool m)
421{
422 modified = m;
423 auto label = rootItem->data(Role::OriginalLabel).toString();
424 if (modified) {
425 rootItem->setText(label + " *");
426 } else {
427 rootItem->setText(label);
428 }
429}
430
431void Project::projectFile(const QString& fileName)
432{

Callers 12

fileModifiedTimeoutMethod · 0.80
loadFileMethod · 0.80
loadLargeFileMethod · 0.80
initMethod · 0.80
createEditorMethod · 0.80
tabCloseRequestMethod · 0.80
saveFileMethod · 0.80
loadProjectMethod · 0.80
testIndentMethod · 0.80
testFindReplaceMethod · 0.80
testCPProfilerMethod · 0.80

Calls 1

toStringMethod · 0.45

Tested by 3

testIndentMethod · 0.64
testFindReplaceMethod · 0.64
testCPProfilerMethod · 0.64