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 daily background widget. More...
#include <musicbackgroundremotewidget.h>
Public Slots | |
virtual void | downLoadFinished (const MusicSkinRemoteGroupList &bytes) overridefinal |
![]() | |
void | downLoadFinished (const QString &bytes) |
virtual void | downLoadFinished (const MusicSkinRemoteGroupList &bytes) |
Public Member Functions | |
MusicBackgroundDailyWidget (QWidget *parent=nullptr) | |
void | initialize () |
virtual void | outputRemoteSkin (MusicBackgroundImage &image, const QString &data) overridefinal |
![]() | |
MusicBackgroundRemoteWidget (QWidget *parent=nullptr) | |
~MusicBackgroundRemoteWidget () | |
void | abort () |
Additional Inherited Members | |
![]() | |
void | startToRequest (const QString &suffix) |
![]() | |
int | m_currentIndex |
MusicSkinRemoteGroupList | m_groups |
MusicBackgroundListWidget * | m_backgroundList |
MusicDownloadQueueRequest * | m_networkRequest |
MusicAbstractDownloadSkinRequest * | m_downloadRequest |
The class of the daily background widget.
Definition at line 86 of file musicbackgroundremotewidget.h.
|
explicit |
Object constructor.
Definition at line 93 of file musicbackgroundremotewidget.cpp.
References MusicBackgroundListWidget::DailyModule, MusicBackgroundRemoteWidget::m_backgroundList, MusicBackgroundRemoteWidget::m_currentIndex, and MusicBackgroundListWidget::setType().
|
finaloverridevirtualslot |
Download data from net finished.
Definition at line 133 of file musicbackgroundremotewidget.cpp.
References MusicBackgroundRemoteWidget::downLoadFinished(), MusicBackgroundRemoteWidget::startToRequest(), and TKM_FILE.
Referenced by initialize().
void MusicBackgroundDailyWidget::initialize | ( | ) |
Init parameters.
Definition at line 100 of file musicbackgroundremotewidget.cpp.
References downLoadFinished(), MusicBackgroundRemoteWidget::m_downloadRequest, MusicBackgroundRemoteWidget::startToRequest(), MusicAbstractDownloadSkinRequest::startToRequest(), and TKM_FILE.
Referenced by MusicBackgroundSkinDialog::backgroundListWidgetChanged().
|
finaloverridevirtual |
Output remote skin.
Implements MusicBackgroundRemoteWidget.
Definition at line 114 of file musicbackgroundremotewidget.cpp.
References MusicBackgroundRemoteWidget::m_currentIndex, MusicBackgroundRemoteWidget::m_groups, MusicBackgroundImage::m_item, MusicSkinItem::m_name, MusicBackgroundImage::m_pix, MusicSkinItem::m_useCount, and qAsConst.