Solid::Ifaces::OpticalDisc Class Referenceabstract

#include <opticaldisc.h>

Inheritance diagram for Solid::Ifaces::OpticalDisc:

Public Member Functions

virtual ~OpticalDisc ()
virtual Solid::OpticalDisc::ContentTypes availableContent () const =0
virtual qulonglong capacity () const =0
virtual Solid::OpticalDisc::DiscType discType () const =0
virtual bool isAppendable () const =0
virtual bool isBlank () const =0
virtual bool isRewritable () const =0
- Public Member Functions inherited from Solid::Ifaces::StorageVolume
virtual ~StorageVolume ()
virtual QString encryptedContainerUdi () const =0
virtual QString fsType () const =0
virtual bool isIgnored () const =0
virtual QString label () const =0
virtual qulonglong size () const =0
virtual Solid::StorageVolume::UsageType usage () const =0
virtual QString uuid () const =0
- Public Member Functions inherited from Solid::Ifaces::Block
virtual ~Block ()
virtual QString device () const =0
virtual int deviceMajor () const =0
virtual int deviceMinor () const =0
- Public Member Functions inherited from Solid::Ifaces::DeviceInterface
virtual ~DeviceInterface ()

Detailed Description

This device interface is available on optical discs.

An optical disc is a volume that can be inserted in a cdrom drive.

Definition at line 22 of file ifaces/opticaldisc.h.

Constructor & Destructor Documentation

Solid::Ifaces::OpticalDisc::~OpticalDisc ( )

Destroys an OpticalDisc object.

Definition at line 9 of file ifaces/opticaldisc.cpp.

Member Function Documentation

virtual Solid::OpticalDisc::ContentTypes Solid::Ifaces::OpticalDisc::availableContent ( ) const
pure virtual

Retrieves the content types this disc contains (audio, video, data...).

the flag set indicating the available contents
virtual qulonglong Solid::Ifaces::OpticalDisc::capacity ( ) const
pure virtual

Retrieves the disc capacity (that is the maximum size of a volume could have on this disc).

the capacity of the disc in bytes
virtual Solid::OpticalDisc::DiscType Solid::Ifaces::OpticalDisc::discType ( ) const
pure virtual

Retrieves the disc type (cdr, cdrw...).

the disc type
virtual bool Solid::Ifaces::OpticalDisc::isAppendable ( ) const
pure virtual

Indicates if it's possible to write additional data to the disc.

true if the disc is appendable, false otherwise
virtual bool Solid::Ifaces::OpticalDisc::isBlank ( ) const
pure virtual

Indicates if the disc is blank.

true if the disc is blank, false otherwise
virtual bool Solid::Ifaces::OpticalDisc::isRewritable ( ) const
pure virtual

Indicates if the disc is rewritable.

A disc is rewritable if you can write on it several times.

true if the disc is rewritable, false otherwise

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Aug 10 2020 22:53:13 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.