qtmobility/examples/audiorecorder/audiorecorder.h
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 5 453da2cfceef
equal deleted inserted replaced
1:2b40d63a9c3d 4:90517678cc4f
    72     void qualityChanged(int idx);
    72     void qualityChanged(int idx);
    73     void selectOutputFile();
    73     void selectOutputFile();
    74     void toggleRecord();
    74     void toggleRecord();
    75     void stateChanged(QMediaRecorder::State);
    75     void stateChanged(QMediaRecorder::State);
    76     void updateProgress(qint64 pos);
    76     void updateProgress(qint64 pos);
       
    77     void errorChanged(QMediaRecorder::Error);
    77 
    78 
    78 private:
    79 private:
    79     QAudioCaptureSource* audiosource;
    80     QAudioCaptureSource* audiosource;
    80     QMediaRecorder* capture;
    81     QMediaRecorder* capture;
    81 
    82 
    82     QComboBox*     deviceBox;
    83     QComboBox*     deviceBox;
    83     QComboBox*     containersBox;
    84     QComboBox*     containersBox;
    84     QComboBox*     codecsBox;
    85     QComboBox*     codecsBox;
    85     QComboBox*     qualityBox;
    86     QComboBox*     qualityBox;
    86     QLabel*        recTime;
    87     QLabel*        recTime;
       
    88     QLabel*        statusLabel;
    87     QPushButton*   button;
    89     QPushButton*   button;
    88     QPushButton*   fileButton;
    90     QPushButton*   fileButton;
    89     bool           active;
    91     bool           active;
    90     int            currentTime;
    92     int            currentTime;
    91     QUrl           destination;
    93     QUrl           destination;