Logo Search packages:      
Sourcecode: qasconfig version File versions  Download package

Public Types | Public Slots | Public Member Functions | Protected Member Functions | Private Attributes

Alsa_Config_Model Class Reference

Alsa_Config_Model. More...

#include <alsa_config_model.hpp>

Inheritance diagram for Alsa_Config_Model:
Inheritance graph
[legend]
Collaboration diagram for Alsa_Config_Model:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Static_Tree::Node Node
typedef Static_Tree::Index_Type Node_Index

Public Slots

void reload ()

Public Member Functions

int columnCount (const QModelIndex &parent=QModelIndex()) const
QVariant data (const QModelIndex &index_n, int role=Qt::DisplayRole) const
Qt::ItemFlags flags (const QModelIndex &index_n) const
const Nodeget_node (const QModelIndex &index_n) const
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
QModelIndex index (const Node *node_n) const
QModelIndex index (int row, int column=0, const QModelIndex &parent=QModelIndex()) const
QString index_address_str (const QModelIndex &index_n)
QModelIndex index_from_address (const QString &addr_n)
int num_columns () const
QModelIndex parent (const QModelIndex &index) const
int rowCount (const QModelIndex &parent=QModelIndex()) const
void set_num_columns (int num_n)

Protected Member Functions

int add_children_recursively (Node *node_n, snd_config_t *cfg_n)
snd_config_t * cfg_child (snd_config_t *cfg_n, unsigned int index_n) const
int cfg_count_children (snd_config_t *cfg_n) const
QString cfg_id_string (snd_config_t *cfg_n) const
snd_config_t * cfg_struct (const Node *node_n) const
snd_config_t * cfg_struct (const QModelIndex &index_n) const
QString cfg_value_string (snd_config_t *cfg_n) const
void clear_config ()
void load_config ()
Static_Treestree ()
const Static_Treestree () const

Private Attributes

snd_config_t * _snd_cfg_root

Detailed Description

Alsa_Config_Model.

Definition at line 22 of file alsa_config_model.hpp.


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

Generated by  Doxygen 1.6.0   Back to index