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

int Project::getScenarioIndex ( const QString &  id  )  const

Returns the index of the scenario. The index of the first item in the list is 1, not 0! If the scenario is unknown -1 is returned.

Parameters:
id the ID of the scenario.

Definition at line 243 of file Project.cpp.

References CoreAttributesList::getIndex().

{
    return scenarioList.getIndex(id);
}


Generated by  Doxygen 1.6.0   Back to index