1 #ifndef QDEVICEWATCHER_H
2 #define QDEVICEWATCHER_H
22 #include <QtCore/QObject>
23 #include <QtCore/QEvent>
41 bool isRunning()
const;
43 void appendEventReceiver(QObject* receiver);
46 void deviceAdded(
const QString& dev);
47 void deviceChanged(
bool state);
48 void deviceChanged(
const QString& dev);
49 void deviceRemoved(
const QString& dev);
68 QString
device()
const {
return m_device; }
72 static Type EventType =
TTKStaticCast(Type, registerEventType());
81 #endif // QDEVICEWATCHER_H
#define TTKStaticCast(x, y)
#define TTK_MODULE_EXPORT
The class of the device watcher.
The class of the device watcher event.
static Type registeredType()
QDeviceWatcherPrivate * d_ptr
The class of the device watcher private.