Diffstat (limited to 'noncore/multimedia/opierec/qtrec.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opierec/qtrec.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/noncore/multimedia/opierec/qtrec.h b/noncore/multimedia/opierec/qtrec.h index ada3270..93b9b5f 100644 --- a/noncore/multimedia/opierec/qtrec.h +++ b/noncore/multimedia/opierec/qtrec.h | |||
@@ -1,13 +1,13 @@ | |||
1 | /**************************************************************************** | 1 | /**************************************************************************** |
2 | ** Created: Thu Jan 17 11:19:45 2002 | 2 | ** Created: Thu Jan 17 11:19:45 2002 |
3 | copyright 2002 by L.J. Potter ljp@llornkcor.com | 3 | copyright 2002 by L.J. Potter ljp@llornkcor.com |
4 | ****************************************************************************/ | 4 | ****************************************************************************/ |
5 | #ifndef QTREC_H | 5 | #ifndef QTREC_H |
6 | #define QTREC_H | 6 | #define QTREC_H |
7 | #define VERSION 1.0 | 7 | #define VERSION 20030920 |
8 | 8 | ||
9 | #include <qpe/ir.h> | 9 | #include <qpe/ir.h> |
10 | 10 | ||
11 | #include <qfile.h> | 11 | #include <qfile.h> |
12 | #include <qimage.h> | 12 | #include <qimage.h> |
13 | #include <qlineedit.h> | 13 | #include <qlineedit.h> |
@@ -52,13 +52,13 @@ class QLineEdit; | |||
52 | 52 | ||
53 | class QtRec : public QWidget | 53 | class QtRec : public QWidget |
54 | { | 54 | { |
55 | Q_OBJECT | 55 | Q_OBJECT |
56 | 56 | ||
57 | public: | 57 | public: |
58 | static QString appName() { return QString::fromLatin1("opierec"); } | 58 | static QString appName() { return QString::fromLatin1("opierec"); } |
59 | QtRec( QWidget* parent=0, const char* name=0, WFlags fl=0 ); | 59 | QtRec( QWidget* parent=0, const char* name=0, WFlags fl=0 ); |
60 | ~QtRec(); | 60 | ~QtRec(); |
61 | QSlider *OutputSlider,*InputSlider; | 61 | QSlider *OutputSlider,*InputSlider; |
62 | 62 | ||
63 | public slots: | 63 | public slots: |
64 | private: | 64 | private: |
@@ -69,13 +69,13 @@ private: | |||
69 | 69 | ||
70 | QLineEdit *renameBox; | 70 | QLineEdit *renameBox; |
71 | QGroupBox* GroupBox1; | 71 | QGroupBox* GroupBox1; |
72 | QString currentFile; | 72 | QString currentFile; |
73 | QString date, currentFileName, tmpFileName; | 73 | QString date, currentFileName, tmpFileName; |
74 | QTimer *t_timer; | 74 | QTimer *t_timer; |
75 | bool needsStereoOut, paused, playing; | 75 | bool needsStereoOut, paused; |
76 | bool useTmpFile, autoMute; | 76 | bool useTmpFile, autoMute; |
77 | 77 | ||
78 | bool eventFilter( QObject * , QEvent * ); | 78 | bool eventFilter( QObject * , QEvent * ); |
79 | void okRename(); | 79 | void okRename(); |
80 | void cancelRename(); | 80 | void cancelRename(); |
81 | QString getStorage(const QString &); | 81 | QString getStorage(const QString &); |
@@ -95,19 +95,20 @@ private: | |||
95 | void start(); | 95 | void start(); |
96 | void stop(); | 96 | void stop(); |
97 | void timerEvent( QTimerEvent *e ); | 97 | void timerEvent( QTimerEvent *e ); |
98 | 98 | ||
99 | private slots: | 99 | private slots: |
100 | 100 | ||
101 | |||
102 | void FastforwardPressed(); | 101 | void FastforwardPressed(); |
103 | void FastforwardReleased(); | 102 | void FastforwardReleased(); |
104 | void changeDirCombo(int); | 103 | void changeDirCombo(int); |
105 | void changeSizeLimitCombo(int); | 104 | void changeSizeLimitCombo(int); |
106 | void changeTimeSlider(int); | 105 | void changeTimeSlider(int); |
107 | void changebitrateCombo(int); | 106 | void changebitrateCombo(int); |
107 | void changeStereoCheck( bool); | ||
108 | |||
108 | void changedInVolume(); | 109 | void changedInVolume(); |
109 | void changedOutVolume(); | 110 | void changedOutVolume(); |
110 | void changesamplerateCombo(int); | 111 | void changesamplerateCombo(int); |
111 | void cleanUp(); | 112 | void cleanUp(); |
112 | void compressionSelected(bool); | 113 | void compressionSelected(bool); |
113 | void deleteSound(); | 114 | void deleteSound(); |
@@ -131,17 +132,15 @@ private slots: | |||
131 | void timerBreak(); | 132 | void timerBreak(); |
132 | /* void changedOutVolume(int); */ | 133 | /* void changedOutVolume(int); */ |
133 | /* void changedInVolume(int); */ | 134 | /* void changedInVolume(int); */ |
134 | 135 | ||
135 | protected: | 136 | protected: |
136 | 137 | ||
137 | Device *soundDevice; | ||
138 | WavFile *wavFile; | 138 | WavFile *wavFile; |
139 | |||
140 | QButtonGroup *ButtonGroup1; | 139 | QButtonGroup *ButtonGroup1; |
141 | QCheckBox *outMuteCheckBox, *inMuteCheckBox, *compressionCheckBox, *autoMuteCheckBox; | 140 | QCheckBox *outMuteCheckBox, *inMuteCheckBox, *compressionCheckBox, *autoMuteCheckBox, *stereoCheckBox; |
142 | QComboBox* sampleRateComboBox, * bitRateComboBox, *directoryComboBox, *sizeLimitCombo; | 141 | QComboBox* sampleRateComboBox, * bitRateComboBox, *directoryComboBox, *sizeLimitCombo; |
143 | QHBoxLayout* Layout12; | 142 | QHBoxLayout* Layout12; |
144 | QHBoxLayout* Layout13; | 143 | QHBoxLayout* Layout13; |
145 | QHBoxLayout* Layout14; | 144 | QHBoxLayout* Layout14; |
146 | QHBoxLayout* Layout16; | 145 | QHBoxLayout* Layout16; |
147 | QHBoxLayout* Layout17; | 146 | QHBoxLayout* Layout17; |
@@ -175,11 +174,11 @@ protected: | |||
175 | void fileBeamFinished( Ir *ir); | 174 | void fileBeamFinished( Ir *ir); |
176 | void initIconView(); | 175 | void initIconView(); |
177 | void keyPressEvent( QKeyEvent *e); | 176 | void keyPressEvent( QKeyEvent *e); |
178 | void keyReleaseEvent( QKeyEvent *e); | 177 | void keyReleaseEvent( QKeyEvent *e); |
179 | void receive( const QCString &, const QByteArray & ); | 178 | void receive( const QCString &, const QByteArray & ); |
180 | void showListMenu(QListViewItem * ); | 179 | void showListMenu(QListViewItem * ); |
181 | // void quickRec(); | 180 | // void quickRec(); |
182 | 181 | ||
183 | }; | 182 | }; |
184 | 183 | ||
185 | #endif // QTREC_H | 184 | #endif // QTREC_H |