Solid::Ifaces::OpticalDisc

Search for usage in LXR

Solid::Ifaces::OpticalDisc Class Referenceabstract

#include <opticaldisc.h>

Inheritance diagram for Solid::Ifaces::OpticalDisc:

Public Member Functions

 ~OpticalDisc () override
 
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
 ~StorageVolume () override
 
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
 ~Block () override
 
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

◆ ~OpticalDisc()

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

Destroys an OpticalDisc object.

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

Member Function Documentation

◆ availableContent()

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

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

Returns
the flag set indicating the available contents

◆ capacity()

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).

Returns
the capacity of the disc in bytes

◆ discType()

virtual Solid::OpticalDisc::DiscType Solid::Ifaces::OpticalDisc::discType ( ) const
pure virtual

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

Returns
the disc type

◆ isAppendable()

virtual bool Solid::Ifaces::OpticalDisc::isAppendable ( ) const
pure virtual

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

Returns
true if the disc is appendable, false otherwise

◆ isBlank()

virtual bool Solid::Ifaces::OpticalDisc::isBlank ( ) const
pure virtual

Indicates if the disc is blank.

Returns
true if the disc is blank, false otherwise

◆ isRewritable()

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.

Returns
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-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:17:12 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.