• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

Solid

Solid::DeviceNotifier

Solid::DeviceNotifier Class Reference

This class allow to query the underlying system to obtain information about the hardware available. More...

#include <devicenotifier.h>

Inheritance diagram for Solid::DeviceNotifier:

Inheritance graph
[legend]

List of all members.


Signals

void deviceAdded (const QString &udi)
void deviceRemoved (const QString &udi)

Static Public Member Functions

static DeviceNotifier * instance ()

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.

Author:
Kevin Ottens <ervin@kde.org>

Definition at line 41 of file devicenotifier.h.


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:
  • devicenotifier.h
  • devicemanager.cpp

Solid

Skip menu "Solid"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal