examples/multimedia/audiodevices/audiodevices.h
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    47 #include "ui_audiodevicesbase.h"
    47 #include "ui_audiodevicesbase.h"
    48 
    48 
    49 class AudioDevicesBase : public QMainWindow, public Ui::AudioDevicesBase
    49 class AudioDevicesBase : public QMainWindow, public Ui::AudioDevicesBase
    50 {
    50 {
    51 public:
    51 public:
    52     AudioDevicesBase( QMainWindow *parent = 0, Qt::WFlags f = 0 );
    52     AudioDevicesBase(QWidget *parent = 0, Qt::WFlags f = 0);
    53     virtual ~AudioDevicesBase();
    53     virtual ~AudioDevicesBase();
    54 };
    54 };
    55 
    55 
    56 class AudioTest : public AudioDevicesBase
    56 class AudioTest : public AudioDevicesBase
    57 {
    57 {
    58     Q_OBJECT
    58     Q_OBJECT
    59 public:
    59 public:
    60     AudioTest( QMainWindow *parent = 0, Qt::WFlags f = 0 );
    60     AudioTest(QWidget *parent = 0, Qt::WFlags f = 0);
    61     virtual ~AudioTest();
    61     virtual ~AudioTest();
    62 
    62 
    63     QAudioDeviceInfo  deviceInfo;
    63     QAudioDeviceInfo deviceInfo;
    64     QAudioFormat settings;
    64     QAudioFormat settings;
    65     QAudio::Mode mode;
    65     QAudio::Mode mode;
    66 
    66 
    67 private slots:
    67 private slots:
    68     void modeChanged(int idx);
    68     void modeChanged(int idx);