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

The event that is triggered when a USB device is plugged in or unplugged. More...

#include <DeviceWatcher.h>

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

Public Types

enum  Action { Add , Remove , Change }
 

Public Member Functions

Action action () const
 
QString device () const
 
 QDeviceChangeEvent (Action action, const QString &device)
 

Static Public Member Functions

static Type registeredType ()
 

Detailed Description

The event that is triggered when a USB device is plugged in or unplugged.


autotoc_md918

Member Enumeration Documentation

◆ Action

enum Action
Enumerator
Add 
Remove 
Change 

Constructor & Destructor Documentation

◆ QDeviceChangeEvent()

QDeviceChangeEvent ( Action action,
const QString & device )
explicit

Member Function Documentation

◆ action()

Action action ( ) const
inline

◆ device()

QString device ( ) const
inline

◆ registeredType()

static Type registeredType ( )
inlinestatic

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