Logo Search packages:      
Sourcecode: taskjuggler version File versions  Download package

void Project::addScenario ( Scenario *  r  ) 

This function is for library internal use only. Creating a Scenario object with the project as parameter will automatically add it to the scenario list of the project.

Definition at line 279 of file Project.cpp.

References CoreAttributesList::createIndex().

{
    scenarioList.append(s);

    /* This is not too efficient, but since there are usually only a few
     * scenarios in a project, this doesn't hurt too much. */
    scenarioList.createIndex(TRUE);
    scenarioList.createIndex(FALSE);
}


Generated by  Doxygen 1.6.0   Back to index