--- a/qtmobility/examples/audiorecorder/audiorecorder.h Fri Jun 11 14:26:25 2010 +0300
+++ b/qtmobility/examples/audiorecorder/audiorecorder.h Wed Jun 23 19:08:38 2010 +0300
@@ -67,6 +67,7 @@
void updateSamplerates(int idx);
void updateChannelCount(int idx);
void updateQuality(int idx);
+ static inline void swap(QString& a, QString& b){qSwap(a,b);}
private slots:
void deviceChanged(int idx);
@@ -75,6 +76,7 @@
void qualityChanged(int idx);
void sampleRateChanged(int idx);
void channelCountChanged(int idx);
+ void encmodeChanged(int idx);
void selectOutputFile();
void togglePause();
void toggleRecord();
@@ -92,6 +94,7 @@
QComboBox* qualityBox;
QComboBox* sampleRateBox;
QComboBox* channelBox;
+ QComboBox* encModeBox;
QLabel* recTime;
QLabel* statusLabel;
QPushButton* button;