![]() |
Mixxx
|
#include <dlgprefsounditem.h>
Public Slots | |
| void | refreshDevices (const QList< SoundDevice * > &devices) |
| void | deviceChanged (int index) |
| void | loadPath (const SoundManagerConfig &config) |
| void | writePath (SoundManagerConfig *config) const |
| void | save () |
| void | reload () |
Signals | |
| void | settingChanged () |
Public Member Functions | |
| DlgPrefSoundItem (QWidget *parent, AudioPathType type, QList< SoundDevice * > &devices, bool isInput, unsigned int index=0) | |
| ~DlgPrefSoundItem () | |
| AudioPathType | type () const |
| unsigned int | index () const |
Class representing an input or output selection widget in DlgPrefSound. The widget includes a label describing the input or output, a combo box with a list of available devices and a combo box with a list of available channels.
Definition at line 32 of file dlgprefsounditem.h.
| DlgPrefSoundItem::DlgPrefSoundItem | ( | QWidget * | parent, |
| AudioPathType | type, | ||
| QList< SoundDevice * > & | devices, | ||
| bool | isInput, | ||
| unsigned int | index = 0 |
||
| ) |
Constructs a new preferences sound item, representing an AudioPath and SoundDevice with a label and two combo boxes.
| type | The AudioPathType of the path to be represented |
| devices | The list of devices for the user to choose from (either a collection of input or output devices). |
| isInput | true if this is representing an AudioInput, false otherwise |
| index | the index of the represented AudioPath, if applicable |
Definition at line 29 of file dlgprefsounditem.cpp.

| DlgPrefSoundItem::~DlgPrefSoundItem | ( | ) |
Definition at line 54 of file dlgprefsounditem.cpp.
| void DlgPrefSoundItem::deviceChanged | ( | int | index | ) | [slot] |
Slot called when the device combo box selection changes. Updates the channel combo box.
Definition at line 84 of file dlgprefsounditem.cpp.


| unsigned int DlgPrefSoundItem::index | ( | ) | const [inline] |
Definition at line 39 of file dlgprefsounditem.h.
| void DlgPrefSoundItem::loadPath | ( | const SoundManagerConfig & | config | ) | [slot] |
Slot called to load the respective AudioPath from a SoundManagerConfig object.
Definition at line 129 of file dlgprefsounditem.cpp.

| void DlgPrefSoundItem::refreshDevices | ( | const QList< SoundDevice * > & | devices | ) | [slot] |
Slot called when the parent preferences pane updates its list of sound devices, to update the item widget's list of devices to display.
Definition at line 62 of file dlgprefsounditem.cpp.


| void DlgPrefSoundItem::reload | ( | ) | [slot] |
Slot called to reload Item with previously saved settings.
Definition at line 202 of file dlgprefsounditem.cpp.
| void DlgPrefSoundItem::save | ( | ) | [slot] |
Slot called to tell the Item to save its selections for later use.
Definition at line 194 of file dlgprefsounditem.cpp.
| void DlgPrefSoundItem::settingChanged | ( | ) | [signal] |

| AudioPathType DlgPrefSoundItem::type | ( | ) | const [inline] |
Definition at line 38 of file dlgprefsounditem.h.
| void DlgPrefSoundItem::writePath | ( | SoundManagerConfig * | config | ) | const [slot] |
Slot called when the underlying DlgPrefSound wants this Item to record its respective path with the SoundManagerConfig instance at config.
Definition at line 165 of file dlgprefsounditem.cpp.
