| 58 | } |
| 59 | |
| 60 | QString MicroDVDSubtitleFormat::encodeEntry(const SubEntry &entry) const { |
| 61 | QString tokensBuff; |
| 62 | foreach (const SubToken &token, entry.tokens) { |
| 63 | tokensBuff += encodeToken(token); |
| 64 | } |
| 65 | return QString("{%1}{%2}%3") |
| 66 | .arg(entry.frameStart) |
| 67 | .arg(entry.frameStop) |
| 68 | .arg(tokensBuff); |
| 69 | } |
| 70 | |
| 71 | QString MicroDVDSubtitleFormat::encodeToken(const SubToken &entry) const { |
| 72 | switch (entry.type) { |
nothing calls this directly
no outgoing calls
no test coverage detected