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

Solid

  • Solid
  • DeviceNotifier
Signals | Static Public Member Functions | List of all members
Solid::DeviceNotifier Class Reference

#include <devicenotifier.h>

Inheritance diagram for Solid::DeviceNotifier:
QObject Solid::DeviceManagerPrivate

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.nosp@m.@kde.nosp@m..org

Definition at line 42 of file devicenotifier.h.

Member Function Documentation

◆ deviceAdded

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

◆ deviceRemoved

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

◆ instance()

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

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-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • 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
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal