API Documentation
Loading...
Searching...
No Matches
DeviceWatcher Class Reference

#include <DeviceWatcher.h>

Inheritance diagram for DeviceWatcher:
[legend]
Collaboration diagram for DeviceWatcher:
[legend]

Signals

void deviceAdded (const QString &dev)
 
void deviceChanged (const QString &dev)
 
void deviceRemoved (const QString &dev)
 

Public Member Functions

 DeviceWatcher (QObject *parent=0)
 
 ~DeviceWatcher ()
 
bool start ()
 
bool stop ()
 
bool isRunning () const
 
void appendEventReceiver (QObject *receiver)
 

Static Public Member Functions

static DeviceWatcherDefaultWatcher ()
 

Protected Attributes

bool running
 
DeviceWatcherPrivated_ptr
 

Constructor & Destructor Documentation

◆ DeviceWatcher()

DeviceWatcher ( QObject * parent = 0)
explicit

◆ ~DeviceWatcher()

Member Function Documentation

◆ appendEventReceiver()

void appendEventReceiver ( QObject * receiver)

◆ DefaultWatcher()

DeviceWatcher & DefaultWatcher ( )
static

◆ deviceAdded

void deviceAdded ( const QString & dev)
signal

◆ deviceChanged

void deviceChanged ( const QString & dev)
signal

◆ deviceRemoved

void deviceRemoved ( const QString & dev)
signal

◆ isRunning()

bool isRunning ( ) const

◆ start()

bool start ( )

◆ stop()

bool stop ( )

Member Data Documentation

◆ d_ptr

DeviceWatcherPrivate* d_ptr
protected

◆ running

bool running
protected

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