• Skip to content
  • Skip to link menu
KDE 4.7 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

Solid

  • Solid
  • DeviceNotifier
Signals | Static Public Member Functions
Solid::DeviceNotifier Class Reference

#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>

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:
udithe new device UDI
void Solid::DeviceNotifier::deviceRemoved ( const QString &  udi) [signal]

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

Parameters:
udithe old device UDI
Solid::DeviceNotifier * Solid::DeviceNotifier::instance ( ) [static]

Definition at line 170 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
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.5
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