![]() |
API Documentation
|
Watches and alerts the program when a USB device is plugged in or unplugged. More...
#include <DeviceWatcher.h>
Signals | |
| void | deviceAdded (const QString &dev) |
| void | deviceChanged (const QString &dev) |
| void | deviceRemoved (const QString &dev) |
Public Member Functions | |
| void | appendEventReceiver (QObject *receiver) |
| DeviceWatcher (QObject *parent=0) | |
| bool | isRunning () const |
| bool | start () |
| bool | stop () |
| ~DeviceWatcher () | |
Static Public Member Functions | |
| static DeviceWatcher & | DefaultWatcher () |
Protected Attributes | |
| DeviceWatcherPrivate * | d_ptr |
| bool | running |
Watches and alerts the program when a USB device is plugged in or unplugged.
|
explicit |
| ~DeviceWatcher | ( | ) |
| void appendEventReceiver | ( | QObject * | receiver | ) |
|
static |
|
signal |
|
signal |
|
signal |
| bool isRunning | ( | ) | const |
| bool start | ( | ) |
| bool stop | ( | ) |
|
protected |
|
protected |