TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Public Member Functions | List of all members
Light Class Referenceabstract

Helper class to light widget. More...

#include <lightfactory.h>

+ Inheritance diagram for Light:

Public Member Functions

 Light (QWidget *parent=nullptr)
 
virtual ~Light ()=default
 
virtual void open (const QString &path)=0
 
virtual void start ()=0
 
virtual void stop ()=0
 

Detailed Description

Helper class to light widget.

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

Definition at line 28 of file lightfactory.h.

Constructor & Destructor Documentation

Light::Light ( QWidget *  parent = nullptr)
inlineexplicit

Constructor.

Definition at line 35 of file lightfactory.h.

virtual Light::~Light ( )
virtualdefault

Destructor.

Member Function Documentation

virtual void Light::open ( const QString &  path)
pure virtual

Open Light file path. Subclass should reimplement this function.

Referenced by MusicReplayGainWidget::confirmDataChanged(), and MusicSpectrumWidget::createLightWidget().

virtual void Light::start ( )
pure virtual

Start Light plugin. Subclass should reimplement this function.

virtual void Light::stop ( )
pure virtual

Stop Light plugin. Subclass should reimplement this function.


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