# class DeviceNotifier

###

Module | solid
Namespace | Solid
Class | DeviceNotifier
Inherits | QObject

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.

Author Kevin Ottens <ervin@kde.org>

### methods

- deviceAdded (udi)

  returns Nothing
  SIGNAL ("deviceAdded (const QString&)")

  Argument | Type | Default
  --- | --- | ---
  udi | QString |

  This signal is emitted when a new device appear in the underlying system.

  udi - the new device UDI

- deviceRemoved (udi)

  returns Nothing
  SIGNAL ("deviceRemoved (const QString&)")

  Argument | Type | Default
  --- | --- | ---
  udi | QString |

  This signal is emitted when a device disappear from the underlying system.

  udi - the old device UDI

- instance ( )

  returns Solid.DeviceNotifier
  static