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

Method clear

MiniZincIDE/project.cpp:388–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386}
387
388void Project::clear()
389{
390 modelsItem->removeRows(0, modelsItem->rowCount());
391 dataItem->removeRows(0, dataItem->rowCount());
392 checkersItem->removeRows(0, checkersItem->rowCount());
393 otherItem->removeRows(0, otherItem->rowCount());
394 entries.clear();
395 setModified(true);
396}
397
398QStringList Project::files(void) const {
399 return entries.keys();

Callers 1

openTabsChangedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected