GlobalConfig Class Reference

GlobalConfig Class Reference

#include <globalconfig.h>

Class Description

Definition at line 37 of file globalconfig.h.

Public Types

enum  DevicesToHideFlag {
  ShowUnavailableDevices = 0, ShowAdvancedDevices = 0, HideAdvancedDevices = 1, AdvancedDevicesFromSettings = 2,
  HideUnavailableDevices = 4
}
 

Public Member Functions

 GlobalConfig ()
 
virtual ~GlobalConfig ()
 
bool hideAdvancedDevices () const
 
void setHideAdvancedDevices (bool hide=true)
 
void setAudioOutputDeviceListFor (Phonon::Category category, QList< int > order)
 
QList< intaudioOutputDeviceListFor (Phonon::Category category, int override=AdvancedDevicesFromSettings) const
 
int audioOutputDeviceFor (Phonon::Category category, int override=AdvancedDevicesFromSettings) const
 
void setAudioCaptureDeviceListFor (Phonon::Category category, QList< int > order)
 
QList< intaudioCaptureDeviceListFor (Phonon::Category category, int override=AdvancedDevicesFromSettings) const
 
int audioCaptureDeviceFor (Phonon::Category category, int override=AdvancedDevicesFromSettings) const
 

Protected Attributes

GlobalConfigPrivate *const k_ptr
 

Member Enumeration Documentation

Enumerator
ShowUnavailableDevices 
ShowAdvancedDevices 
HideAdvancedDevices 
AdvancedDevicesFromSettings 
HideUnavailableDevices 

Definition at line 44 of file globalconfig.h.

Constructor & Destructor Documentation

virtual ~GlobalConfig ( )
virtual

Member Function Documentation

bool hideAdvancedDevices ( ) const
void setHideAdvancedDevices ( bool  hide = true)
void setAudioOutputDeviceListFor ( Phonon::Category  category,
QList< int order 
)
QList<int> audioOutputDeviceListFor ( Phonon::Category  category,
int  override = AdvancedDevicesFromSettings 
) const
int audioOutputDeviceFor ( Phonon::Category  category,
int  override = AdvancedDevicesFromSettings 
) const
void setAudioCaptureDeviceListFor ( Phonon::Category  category,
QList< int order 
)
QList<int> audioCaptureDeviceListFor ( Phonon::Category  category,
int  override = AdvancedDevicesFromSettings 
) const
int audioCaptureDeviceFor ( Phonon::Category  category,
int  override = AdvancedDevicesFromSettings 
) const

Member Data Documentation

GlobalConfigPrivate* const k_ptr
protected

Definition at line 64 of file globalconfig.h.


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