TTKMusicPlayer  4.2.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Public Member Functions | Private Attributes | List of all members
MusicLrcHelper Class Reference

The class of the lrc helper. More...

#include <musiclrchelper.h>

Public Member Functions

 MusicLrcHelper ()
 
QStringList interiorLrcSize () const noexcept
 
QStringList desktopLrcSize () const noexcept
 
int findInteriorLrcIndex (int size) const
 
int findInteriorPreSize (int index) const
 
int findInteriorNextSize (int index) const
 
int findInteriorFirstSize () const
 
int findInteriorLastSize () const
 
int findDesktopLrcIndex (int size) const
 
int findDesktopPreSize (int index) const
 
int findDesktopNextSize (int index) const
 
int findDesktopFirstSize () const
 
int findDesktopLastSize () const
 

Private Attributes

QStringList m_interiorLrcSize
 
QStringList m_desktopLrcSize
 

Detailed Description

The class of the lrc helper.

Author
Greedysky greed.nosp@m.ysky.nosp@m.@163..nosp@m.com

Definition at line 28 of file musiclrchelper.h.

Constructor & Destructor Documentation

MusicLrcHelper::MusicLrcHelper ( )

Object constructor.

Definition at line 3 of file musiclrchelper.cpp.

References m_desktopLrcSize, and m_interiorLrcSize.

Member Function Documentation

QStringList MusicLrcHelper::desktopLrcSize ( ) const
noexcept

Get desktop lrc size.

Definition at line 14 of file musiclrchelper.cpp.

References m_desktopLrcSize.

int MusicLrcHelper::findDesktopFirstSize ( ) const

Find desktop first size.

Definition at line 79 of file musiclrchelper.cpp.

References m_desktopLrcSize.

int MusicLrcHelper::findDesktopLastSize ( ) const

Find desktop last size.

Definition at line 84 of file musiclrchelper.cpp.

References m_desktopLrcSize.

int MusicLrcHelper::findDesktopLrcIndex ( int  size) const

Find desktop lrc index.

Definition at line 54 of file musiclrchelper.cpp.

References m_desktopLrcSize.

int MusicLrcHelper::findDesktopNextSize ( int  index) const

Find desktop next size.

Definition at line 69 of file musiclrchelper.cpp.

References m_desktopLrcSize.

int MusicLrcHelper::findDesktopPreSize ( int  index) const

Find desktop pre size.

Definition at line 59 of file musiclrchelper.cpp.

References m_desktopLrcSize.

int MusicLrcHelper::findInteriorFirstSize ( ) const

Find Interior first size.

Definition at line 44 of file musiclrchelper.cpp.

References m_interiorLrcSize.

int MusicLrcHelper::findInteriorLastSize ( ) const

Find Interior last size.

Definition at line 49 of file musiclrchelper.cpp.

References m_interiorLrcSize.

int MusicLrcHelper::findInteriorLrcIndex ( int  size) const

Find Interior lrc index.

Definition at line 19 of file musiclrchelper.cpp.

References m_interiorLrcSize.

Referenced by MusicLrcFloatSettingWidget::lrcSizeLowChanged(), and MusicLrcFloatSettingWidget::lrcSizeUpChanged().

int MusicLrcHelper::findInteriorNextSize ( int  index) const

Find Interior next size.

Definition at line 34 of file musiclrchelper.cpp.

References m_interiorLrcSize.

Referenced by MusicLrcFloatSettingWidget::lrcSizeUpChanged().

int MusicLrcHelper::findInteriorPreSize ( int  index) const

Find Interior pre size.

Definition at line 24 of file musiclrchelper.cpp.

References m_interiorLrcSize.

Referenced by MusicLrcFloatSettingWidget::lrcSizeLowChanged().

QStringList MusicLrcHelper::interiorLrcSize ( ) const
noexcept

Get Interior lrc size.

Definition at line 9 of file musiclrchelper.cpp.

References m_interiorLrcSize.

Member Data Documentation

QStringList MusicLrcHelper::m_desktopLrcSize
private
QStringList MusicLrcHelper::m_interiorLrcSize
private

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