TTKMusicPlayer
4.1.3.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the platform extras. More...
#include <musicplatformextras.h>
Public Member Functions | |
MusicPlatformExtras (QObject *parent=nullptr) | |
~MusicPlatformExtras () | |
void | setCurrentPlayState (bool state) const |
void | disableBlurBehindWindow (bool enabled) |
bool | isDisableBlurBehindWindow () const |
Private Attributes | |
bool | m_disableBlurBehindWindow |
MusicAbstractPlatformExtras * | m_platformExtras |
The class of the platform extras.
Definition at line 29 of file musicplatformextras.h.
|
explicit |
Object constructor.
Definition at line 183 of file musicplatformextras.cpp.
References m_platformExtras.
MusicPlatformExtras::~MusicPlatformExtras | ( | ) |
Object destructor.
Definition at line 196 of file musicplatformextras.cpp.
References m_platformExtras.
void MusicPlatformExtras::disableBlurBehindWindow | ( | bool | enabled | ) |
Enable or disable blur behind window.
Definition at line 206 of file musicplatformextras.cpp.
References MusicAbstractPlatformExtras::action(), m_disableBlurBehindWindow, and m_platformExtras.
Referenced by MusicBottomAreaWidget::setWindowConcise().
|
inline |
Get blur behind window state.
Definition at line 54 of file musicplatformextras.h.
Referenced by MusicBottomAreaWidget::setWindowConcise().
void MusicPlatformExtras::setCurrentPlayState | ( | bool | state | ) | const |
Set current play state.
Definition at line 201 of file musicplatformextras.cpp.
References m_platformExtras, and MusicAbstractPlatformExtras::setCurrentStatus().
Referenced by MusicBottomAreaWidget::setCurrentPlayState().
|
private |
Definition at line 57 of file musicplatformextras.h.
Referenced by disableBlurBehindWindow().
|
private |
Definition at line 58 of file musicplatformextras.h.
Referenced by disableBlurBehindWindow(), MusicPlatformExtras(), setCurrentPlayState(), and ~MusicPlatformExtras().