Description of one Teletext frame.
More...
Description of one Teletext frame.
◆ QtsTeletextFrame()
QtsTeletextFrame::QtsTeletextFrame |
( |
QtsPid |
pid = 0 , |
|
|
int |
page = 0 , |
|
|
int |
frameCount = 0 , |
|
|
quint64 |
showTimestamp = 0 , |
|
|
quint64 |
hideTimestamp = 0 , |
|
|
const QStringList & |
lines = QStringList() |
|
) |
| |
Constructor.
- Parameters
-
[in] | pid | PID number. |
[in] | page | Teletext page number. |
[in] | frameCount | Frame counter in this page, starting at 1. |
[in] | showTimestamp | Show frame at this timestamp (in ms from start of stream) |
[in] | hideTimestamp | Hide frame at this timestamp (in ms from start of stream) |
[in] | lines | Text lines. |
◆ lines()
QStringList QtsTeletextFrame::lines |
( |
| ) |
const |
|
inline |
Get the text lines.
May contain embedded HTML tags.
- Returns
- The text lines.
◆ addLine()
void QtsTeletextFrame::addLine |
( |
const QString & |
line | ) |
|
|
inline |
Add a line of text to the frame.
- Parameters
-
[in] | line | Text line to add. |
◆ pid()
QtsPid QtsTeletextFrame::pid |
( |
| ) |
const |
|
inline |
Get the PID from which the frame originates.
- Returns
- The PID from which the frame originates.
◆ page()
int QtsTeletextFrame::page |
( |
| ) |
const |
|
inline |
Get the Teletext page number.
- Returns
- The Teletext page number.
◆ frameCount()
int QtsTeletextFrame::frameCount |
( |
| ) |
const |
|
inline |
Get the frame number in this page, starting at 1.
- Returns
- The frame number in this page, starting at 1.
◆ showTimestamp()
quint64 QtsTeletextFrame::showTimestamp |
( |
| ) |
const |
|
inline |
Get the "show" timestamp in ms from start of stream.
- Returns
- The "show" timestamp in ms from start of stream.
◆ hideTimestamp()
quint64 QtsTeletextFrame::hideTimestamp |
( |
| ) |
const |
|
inline |
Get the "hide" timestamp in ms from start of stream.
- Returns
- The "hide" timestamp in ms from start of stream.
◆ _pid
◆ _page
int QtsTeletextFrame::_page |
|
private |
◆ _frameCount
int QtsTeletextFrame::_frameCount |
|
private |
Frame counter in this page, starting at 1.
◆ _showTimestamp
quint64 QtsTeletextFrame::_showTimestamp |
|
private |
Show frame at this timestamp (in ms from start of stream)
◆ _hideTimestamp
quint64 QtsTeletextFrame::_hideTimestamp |
|
private |
Hide frame at this timestamp (in ms from start of stream)
◆ _lines
QStringList QtsTeletextFrame::_lines |
|
private |
Text lines. May contain embedded HTML tags.
The documentation for this class was generated from the following files: