KDE 4.7 PyKDE API Reference

- KDE's Python API

# GlobalConfig Class Reference

`from PyKDE4.phonon import *`

Namespace: Phonon

## Detailed Description

## Enumerations

DevicesToHideFlag | { ShowUnavailableDevices, ShowAdvancedDevices, HideAdvancedDevices, AdvancedDevicesFromSettings, HideUnavailableDevices }

## Methods

| __init__ (self)
int | audioCaptureDeviceFor (self, CaptureCategory category, int override=Phonon.GlobalConfig.DevicesToHideFlag.AdvancedDevicesFromSettings)
int | audioCaptureDeviceFor (self, Category category, int override=Phonon.GlobalConfig.DevicesToHideFlag.AdvancedDevicesFromSettings)
[int] | audioCaptureDeviceListFor (self, CaptureCategory category, int override=Phonon.GlobalConfig.DevicesToHideFlag.AdvancedDevicesFromSettings)
[int] | audioCaptureDeviceListFor (self, Category category, int override=Phonon.GlobalConfig.DevicesToHideFlag.AdvancedDevicesFromSettings)
{QByteArray:QVariant} | audioCaptureDeviceProperties (self, int index)
int | audioOutputDeviceFor (self, Category category, int override=Phonon.GlobalConfig.DevicesToHideFlag.AdvancedDevicesFromSettings)
[int] | audioOutputDeviceListFor (self, Category category, int override=Phonon.GlobalConfig.DevicesToHideFlag.AdvancedDevicesFromSettings)
{QByteArray:QVariant} | audioOutputDeviceProperties (self, int index)
{QByteArray:QVariant} | deviceProperties (self, Phonon.ObjectDescriptionType deviceType, int index)
bool | hideAdvancedDevices (self)
Phonon.GlobalConfig | operator = (self, Phonon.GlobalConfig a0)
| setAudioCaptureDeviceListFor (self, CaptureCategory category, [int] order)
| setAudioCaptureDeviceListFor (self, Category category, [int] order)
| setAudioOutputDeviceListFor (self, Category category, [int] order)
| setHideAdvancedDevices (self, bool hide=1)
| setVideoCaptureDeviceListFor (self, CaptureCategory category, [int] order)
| setVideoCaptureDeviceListFor (self, Category category, [int] order)
int | videoCaptureDeviceFor (self, CaptureCategory category, int override=Phonon.GlobalConfig.DevicesToHideFlag.AdvancedDevicesFromSettings)
int | videoCaptureDeviceFor (self, Category category, int override=Phonon.GlobalConfig.DevicesToHideFlag.AdvancedDevicesFromSettings)
[int] | videoCaptureDeviceListFor (self, CaptureCategory category, int override=Phonon.GlobalConfig.DevicesToHideFlag.AdvancedDevicesFromSettings)
[int] | videoCaptureDeviceListFor (self, Category category, int override=Phonon.GlobalConfig.DevicesToHideFlag.AdvancedDevicesFromSettings)
{QByteArray:QVariant} | videoCaptureDeviceProperties (self, int index)

## Method Documentation

__init__ | ( |  | self ) |

int audioCaptureDeviceFor | ( | self, |
|  | CaptureCategory | category,
|  | int | override=Phonon.GlobalConfig.DevicesToHideFlag.AdvancedDevicesFromSettings
| ) |  |  |

int audioCaptureDeviceFor | ( | self, |
|  | Category | category,
|  | int | override=Phonon.GlobalConfig.DevicesToHideFlag.AdvancedDevicesFromSettings
| ) |  |  |

[int] audioCaptureDeviceListFor | ( | self, |
|  | CaptureCategory | category,
|  | int | override=Phonon.GlobalConfig.DevicesToHideFlag.AdvancedDevicesFromSettings
| ) |  |  |

[int] audioCaptureDeviceListFor | ( | self, |
|  | Category | category,
|  | int | override=Phonon.GlobalConfig.DevicesToHideFlag.AdvancedDevicesFromSettings
| ) |  |  |

{QByteArray:QVariant} audioCaptureDeviceProperties | ( | self, |
|  | int | index
| ) |  |  |

int audioOutputDeviceFor | ( | self, |
|  | Category | category,
|  | int | override=Phonon.GlobalConfig.DevicesToHideFlag.AdvancedDevicesFromSettings
| ) |  |  |

[int] audioOutputDeviceListFor | ( | self, |
|  | Category | category,
|  | int | override=Phonon.GlobalConfig.DevicesToHideFlag.AdvancedDevicesFromSettings
| ) |  |  |

{QByteArray:QVariant} audioOutputDeviceProperties | ( | self, |
|  | int | index
| ) |  |  |

{QByteArray:QVariant} deviceProperties | ( | self, |
|  | Phonon.ObjectDescriptionType | deviceType,
|  | int | index
| ) |  |  |

bool hideAdvancedDevices | ( |  | self ) |

Phonon.GlobalConfig operator = | ( | self, |
|  | Phonon.GlobalConfig | a0
| ) |  |  |

setAudioCaptureDeviceListFor | ( | self, |
|  | CaptureCategory | category,
|  | [int] | order
| ) |  |  |

setAudioCaptureDeviceListFor | ( | self, |
|  | Category | category,
|  | [int] | order
| ) |  |  |

setAudioOutputDeviceListFor | ( | self, |
|  | Category | category,
|  | [int] | order
| ) |  |  |

setHideAdvancedDevices | ( | self, |
|  | bool | hide=1
| ) |  |  |

setVideoCaptureDeviceListFor | ( | self, |
|  | CaptureCategory | category,
|  | [int] | order
| ) |  |  |

setVideoCaptureDeviceListFor | ( | self, |
|  | Category | category,
|  | [int] | order
| ) |  |  |

int videoCaptureDeviceFor | ( | self, |
|  | CaptureCategory | category,
|  | int | override=Phonon.GlobalConfig.DevicesToHideFlag.AdvancedDevicesFromSettings
| ) |  |  |

int videoCaptureDeviceFor | ( | self, |
|  | Category | category,
|  | int | override=Phonon.GlobalConfig.DevicesToHideFlag.AdvancedDevicesFromSettings
| ) |  |  |

[int] videoCaptureDeviceListFor | ( | self, |
|  | CaptureCategory | category,
|  | int | override=Phonon.GlobalConfig.DevicesToHideFlag.AdvancedDevicesFromSettings
| ) |  |  |

[int] videoCaptureDeviceListFor | ( | self, |
|  | Category | category,
|  | int | override=Phonon.GlobalConfig.DevicesToHideFlag.AdvancedDevicesFromSettings
| ) |  |  |

{QByteArray:QVariant} videoCaptureDeviceProperties | ( | self, |
|  | int | index
| ) |  |  |

## Enumeration Documentation

DevicesToHideFlag

Enumerator:

  ShowUnavailableDevices = 0 |
  ShowAdvancedDevices = 0 |
  HideAdvancedDevices = 1 |
  AdvancedDevicesFromSettings = 2 |
  HideUnavailableDevices = 4 |