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

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

Returns a pointer to the scenario with index sc.

sc Index of the scenario in the project scenario list.

Definition at line 232 of file Project.cpp.

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

    return QString::null;

Generated by  Doxygen 1.6.0   Back to index