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 device watcher. More...
#include <qdevicewatcher.h>
Signals | |
void | deviceAdded (const QString &dev) |
void | deviceChanged (bool state) |
void | deviceChanged (const QString &dev) |
void | deviceRemoved (const QString &dev) |
Public Member Functions | |
QDeviceWatcher (QObject *parent=nullptr) | |
~QDeviceWatcher () | |
bool | start () |
bool | stop () |
bool | isRunning () const |
void | appendEventReceiver (QObject *receiver) |
Protected Attributes | |
bool | running |
QDeviceWatcherPrivate * | d_ptr |
The class of the device watcher.
Definition at line 31 of file qdevicewatcher.h.
|
explicit |
Definition at line 4 of file qdevicewatcher.cpp.
QDeviceWatcher::~QDeviceWatcher | ( | ) |
Definition at line 13 of file qdevicewatcher.cpp.
References d_ptr.
void QDeviceWatcher::appendEventReceiver | ( | QObject * | receiver | ) |
Definition at line 44 of file qdevicewatcher.cpp.
Referenced by MusicApplicationModule::MusicApplicationModule().
|
signal |
|
signal |
|
signal |
|
signal |
bool QDeviceWatcher::isRunning | ( | ) | const |
Definition at line 39 of file qdevicewatcher.cpp.
References running.
bool QDeviceWatcher::start | ( | ) |
Definition at line 21 of file qdevicewatcher.cpp.
References running, and stop().
Referenced by MusicApplicationModule::MusicApplicationModule().
bool QDeviceWatcher::stop | ( | ) |
|
protected |
Definition at line 53 of file qdevicewatcher.h.
Referenced by ~QDeviceWatcher().
|
protected |
Definition at line 52 of file qdevicewatcher.h.
Referenced by isRunning(), start(), and stop().