Qmmp
Signals | Public Member Functions | List of all members
Volume Class Referenceabstract

#include <volume.h>

Inherits QObject.

Inherited by SoftwareVolume.

Signals

void changed ()
 

Public Member Functions

virtual ~Volume ()
 
virtual void setVolume (const VolumeSettings &volume)=0
 
virtual VolumeSettings volume () const =0
 
virtual bool hasNotifySignal () const
 

Detailed Description

The Volume class provides asbtract volume interface.

Author
Ilya Kotov forko.nosp@m.tov0.nosp@m.2@ya..nosp@m.ru

Constructor & Destructor Documentation

◆ ~Volume()

virtual ~Volume ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ changed

void changed ( )
signal

Emitted if volume is changed.

◆ hasNotifySignal()

virtual bool hasNotifySignal ( ) const
virtual

Returns true if the object supports change notification via emitting changed() signal so polling the volume is not needed.

◆ setVolume()

virtual void setVolume ( const VolumeSettings volume)
pure virtual

Setups volume levels. Subclass should reimplement this fucntion.

Parameters
volumeStructure with required volume levels.

◆ volume()

virtual VolumeSettings volume ( ) const
pure virtual

Returns volume level of the channel.


The documentation for this class was generated from the following file: