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

const QString & Project::getScenarioName ( int  sc  )  const

Returns the name of a scenario.

Parameters:
sc Index of the scenario in the project scenario list.

Definition at line 221 of file Project.cpp.

{
    int i = 0;
    for (ScenarioListIterator sli(scenarioList); sli; ++sli)
        if (i++ == sc)
            return (*sli)->getName();

    return QString::null;
}


Generated by  Doxygen 1.6.0   Back to index