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 private. More...
#include <qdevicewatcher_p.h>
Public Member Functions | |
QDeviceWatcherPrivate (QObject *parent=nullptr) | |
~QDeviceWatcherPrivate () | |
void | setWatcher (QDeviceWatcher *w) |
bool | start () |
bool | stop () |
void | emitDeviceAdded (const QString &dev) |
void | emitDeviceChanged (const QString &dev) |
void | emitDeviceRemoved (const QString &dev) |
void | emitDeviceAction (const QString &dev, const QString &action) |
Public Attributes | |
QObjectList | event_receivers |
Private Slots | |
void | parseDeviceInfo () |
Private Member Functions | |
bool | initialize () |
Private Attributes | |
QDeviceWatcher * | watcher |
The class of the device watcher private.
Definition at line 52 of file qdevicewatcher_p.h.
|
inline |
Definition at line 61 of file qdevicewatcher_p.h.
QDeviceWatcherPrivate::~QDeviceWatcherPrivate | ( | ) |
Definition at line 28 of file qdevicewatcher_mac.cpp.
References stop().
Definition at line 72 of file qdevicewatcher.cpp.
References emitDeviceAdded(), emitDeviceChanged(), and emitDeviceRemoved().
void QDeviceWatcherPrivate::emitDeviceAdded | ( | const QString & | dev | ) |
Definition at line 50 of file qdevicewatcher.cpp.
References watcher.
Referenced by emitDeviceAction(), and onDiskAppear().
void QDeviceWatcherPrivate::emitDeviceChanged | ( | const QString & | dev | ) |
Definition at line 58 of file qdevicewatcher.cpp.
References watcher.
Referenced by emitDeviceAction().
void QDeviceWatcherPrivate::emitDeviceRemoved | ( | const QString & | dev | ) |
Definition at line 64 of file qdevicewatcher.cpp.
References watcher.
Referenced by emitDeviceAction(), and onDiskDisappear().
|
private |
Definition at line 52 of file qdevicewatcher_mac.cpp.
References onDiskAppear(), and onDiskDisappear().
Referenced by start().
|
privateslot |
Definition at line 48 of file qdevicewatcher_mac.cpp.
|
inline |
Definition at line 72 of file qdevicewatcher_p.h.
bool QDeviceWatcherPrivate::start | ( | ) |
Definition at line 33 of file qdevicewatcher_mac.cpp.
References initialize().
bool QDeviceWatcherPrivate::stop | ( | ) |
Definition at line 39 of file qdevicewatcher_mac.cpp.
References onDiskAppear(), and onDiskDisappear().
Referenced by ~QDeviceWatcherPrivate().
QObjectList QDeviceWatcherPrivate::event_receivers |
Definition at line 82 of file qdevicewatcher_p.h.
|
private |
Definition at line 88 of file qdevicewatcher_p.h.
Referenced by emitDeviceAdded(), emitDeviceChanged(), and emitDeviceRemoved().