Solid
Solid::DeviceNotifier Class Reference
#include <devicenotifier.h>
Inheritance diagram for Solid::DeviceNotifier:

Detailed Description
This class allow to query the underlying system to obtain information about the hardware available.It's the unique entry point for hardware discovery. Applications should use it to find devices, or to be notified about hardware changes.
Note that it's implemented as a singleton and encapsulates the backend logic.
Definition at line 41 of file devicenotifier.h.
Signals | |
void | deviceAdded (const QString &udi) |
void | deviceRemoved (const QString &udi) |
Static Public Member Functions | |
static DeviceNotifier * | instance () |
Member Function Documentation
void Solid::DeviceNotifier::deviceAdded | ( | const QString & | udi | ) | [signal] |
This signal is emitted when a new device appear in the underlying system.
- Parameters:
-
udi the new device UDI
void Solid::DeviceNotifier::deviceRemoved | ( | const QString & | udi | ) | [signal] |
This signal is emitted when a device disappear from the underlying system.
- Parameters:
-
udi the old device UDI
Solid::DeviceNotifier * Solid::DeviceNotifier::instance | ( | ) | [static] |
Definition at line 151 of file devicemanager.cpp.
The documentation for this class was generated from the following files: