Class to write SubRip files.
More...
#include <libmythtv/captions/srtwriter.h>
|
| static QString | FormatTime (std::chrono::milliseconds time_in_msec) |
| | Formats time to format appropriate to SubRip file. More...
|
| |
Class to write SubRip files.
Definition at line 20 of file srtwriter.h.
◆ SRTWriter()
| SRTWriter::SRTWriter |
( |
const QString & |
fileName | ) |
|
|
explicit |
◆ AddSubtitle()
| void SRTWriter::AddSubtitle |
( |
const OneSubtitle & |
sub, |
|
|
int |
number |
|
) |
| |
◆ Flush()
| void SRTWriter::Flush |
( |
void |
| ) |
|
|
inline |
◆ FormatTime()
| QString SRTWriter::FormatTime |
( |
std::chrono::milliseconds |
time_in_msec | ) |
|
|
staticprivate |
◆ IsOpen()
| bool SRTWriter::IsOpen |
( |
void |
| ) |
|
|
inline |
◆ m_outFile
| QFile SRTWriter::m_outFile |
|
private |
◆ m_outStream
| QTextStream SRTWriter::m_outStream |
|
private |
The documentation for this class was generated from the following files: