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

QString Timecode::getTimecode ( const GenTime time  )  const

Returns the timecode for a given time

Definition at line 72 of file timecode.cpp.

{
    switch (m_format) {
    case HH_MM_SS_FF:
        return getTimecodeHH_MM_SS_FF(time);
        break;
    case HH_MM_SS_HH:
        return getTimecodeHH_MM_SS_HH(time);
        break;
    case Frames:
        return getTimecodeFrames(time);
        break;
    case Seconds:
        return getTimecodeSeconds(time);
        break;
    default:
        kWarning() <<
        "Unknown timecode format specified, defaulting to HH_MM_SS_FF"
        << endl;
        return getTimecodeHH_MM_SS_FF(time);
    }
}


Generated by  Doxygen 1.6.0   Back to index