Solid::Ifaces::OpticalDrive
#include <opticaldrive.h>

Public Member Functions | |
virtual | ~OpticalDrive () |
virtual bool | eject ()=0 |
virtual int | readSpeed () const =0 |
virtual Solid::OpticalDrive::MediumTypes | supportedMedia () const =0 |
virtual int | writeSpeed () const =0 |
virtual QList< int > | writeSpeeds () const =0 |
![]() | |
virtual | ~StorageDrive () |
virtual Solid::StorageDrive::Bus | bus () const =0 |
virtual Solid::StorageDrive::DriveType | driveType () const =0 |
virtual bool | isHotpluggable () const =0 |
virtual bool | isRemovable () const =0 |
virtual qulonglong | size () const =0 |
![]() | |
virtual | ~Block () |
virtual QString | device () const =0 |
virtual int | deviceMajor () const =0 |
virtual int | deviceMinor () const =0 |
![]() | |
virtual | ~DeviceInterface () |
Protected Member Functions | |
virtual void | ejectDone (Solid::ErrorType error, QVariant errorData, const QString &udi)=0 |
virtual void | ejectPressed (const QString &udi)=0 |
Detailed Description
This device interface is available on CD-ROM drives.
A Cdrom is a storage that can handle optical discs.
Definition at line 24 of file ifaces/opticaldrive.h.
Constructor & Destructor Documentation
|
virtual |
Destroys a Cdrom object.
Definition at line 9 of file ifaces/opticaldrive.cpp.
Member Function Documentation
|
pure virtual |
Ejects any disc that could be contained in this drive.
If this drive is empty, but has a tray it'll be opened
- Returns
|
protectedpure virtual |
This signal is emitted when the eject button is pressed on the drive.
Please note that some (broken) drives doesn't report this event.
- Parameters
-
udi the UDI of the drive
|
pure virtual |
Retrieves the maximum read speed of this drive in kilobytes.
- Returns
- the maximum read speed
|
pure virtual |
Retrieves the medium types this drive supports.
- Returns
- the flag set indicating the supported medium types
|
pure virtual |
Retrieves the maximum write speed of this drive in kilobytes.
- Returns
- the maximum write speed
|
pure virtual |
Retrieves the list of supported write speeds of this drive in kilobytes.
- Returns
- the list of supported write speeds
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jan 23 2021 02:52:36 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.