MythTV  master
Public Member Functions | Public Attributes | Private Member Functions | List of all members
LyricsLine Class Reference

#include <lyricsdata.h>

Public Member Functions

 LyricsLine ()=default
 
 LyricsLine (std::chrono::milliseconds time, QString lyric)
 
QString toString (bool syncronized)
 

Public Attributes

std::chrono::milliseconds m_time {0ms}
 
QString m_lyric
 

Private Member Functions

QString formatTime (void) const
 

Detailed Description

Definition at line 20 of file lyricsdata.h.

Constructor & Destructor Documentation

◆ LyricsLine() [1/2]

LyricsLine::LyricsLine ( )
default

◆ LyricsLine() [2/2]

LyricsLine::LyricsLine ( std::chrono::milliseconds  time,
QString  lyric 
)
inline

Definition at line 24 of file lyricsdata.h.

Member Function Documentation

◆ toString()

QString LyricsLine::toString ( bool  syncronized)
inline

Definition at line 30 of file lyricsdata.h.

Referenced by LyricsData::createLyricsXML(), and EditLyricsDialog::loadLyrics().

◆ formatTime()

QString LyricsLine::formatTime ( void  ) const
inlineprivate

Definition at line 39 of file lyricsdata.h.

Member Data Documentation

◆ m_time

std::chrono::milliseconds LyricsLine::m_time {0ms}

Definition at line 27 of file lyricsdata.h.

Referenced by LyricsView::setLyricTime().

◆ m_lyric

QString LyricsLine::m_lyric

Definition at line 28 of file lyricsdata.h.


The documentation for this class was generated from the following file: