Diffstat (limited to 'noncore/multimedia/opierec/qtrec.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opierec/qtrec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/multimedia/opierec/qtrec.h b/noncore/multimedia/opierec/qtrec.h index 7965c74..5d6ed62 100644 --- a/noncore/multimedia/opierec/qtrec.h +++ b/noncore/multimedia/opierec/qtrec.h | |||
@@ -35,48 +35,49 @@ class QListView; | |||
35 | class QListViewItem; | 35 | class QListViewItem; |
36 | class QPushButton; | 36 | class QPushButton; |
37 | class QSlider; | 37 | class QSlider; |
38 | class QTabWidget; | 38 | class QTabWidget; |
39 | class QTimer; | 39 | class QTimer; |
40 | class QVBoxLayout; | 40 | class QVBoxLayout; |
41 | class QLineEdit; | 41 | class QLineEdit; |
42 | 42 | ||
43 | #define MAX_TRACKS 2 | 43 | #define MAX_TRACKS 2 |
44 | //#define BUFSIZE 4096 | 44 | //#define BUFSIZE 4096 |
45 | // #define BUFSIZE 8182 //Z default buffer size | 45 | // #define BUFSIZE 8182 //Z default buffer size |
46 | #define BUFSIZE 1024 | 46 | #define BUFSIZE 1024 |
47 | //#define BUFSIZE 2048 | 47 | //#define BUFSIZE 2048 |
48 | #define FRAGSIZE 0x7fff000A; | 48 | #define FRAGSIZE 0x7fff000A; |
49 | 49 | ||
50 | #define WAVE_FORMAT_DVI_ADPCM (0x0011) | 50 | #define WAVE_FORMAT_DVI_ADPCM (0x0011) |
51 | #define WAVE_FORMAT_PCM (0x0001) | 51 | #define WAVE_FORMAT_PCM (0x0001) |
52 | //AFMT_IMA_ADPCM | 52 | //AFMT_IMA_ADPCM |
53 | 53 | ||
54 | class QtRec : public QWidget | 54 | class QtRec : public QWidget |
55 | { | 55 | { |
56 | Q_OBJECT | 56 | Q_OBJECT |
57 | 57 | ||
58 | public: | 58 | public: |
59 | static QString appName() { return QString::fromLatin1("opierec"); } | ||
59 | QtRec( QWidget* parent=0, const char* name=0, WFlags fl=0 ); | 60 | QtRec( QWidget* parent=0, const char* name=0, WFlags fl=0 ); |
60 | ~QtRec(); | 61 | ~QtRec(); |
61 | QSlider *OutputSlider,*InputSlider; | 62 | QSlider *OutputSlider,*InputSlider; |
62 | 63 | ||
63 | public slots: | 64 | public slots: |
64 | private: | 65 | private: |
65 | // int fragment; | 66 | // int fragment; |
66 | int fd1; | 67 | int fd1; |
67 | int secCount; | 68 | int secCount; |
68 | QString timeString; | 69 | QString timeString; |
69 | 70 | ||
70 | QLineEdit *renameBox; | 71 | QLineEdit *renameBox; |
71 | QGroupBox* GroupBox1; | 72 | QGroupBox* GroupBox1; |
72 | QString currentFile; | 73 | QString currentFile; |
73 | QString date, currentFileName, tmpFileName; | 74 | QString date, currentFileName, tmpFileName; |
74 | QTimer *t_timer; | 75 | QTimer *t_timer; |
75 | bool needsStereoOut, paused, playing; | 76 | bool needsStereoOut, paused, playing; |
76 | bool useTmpFile, autoMute; | 77 | bool useTmpFile, autoMute; |
77 | 78 | ||
78 | bool eventFilter( QObject * , QEvent * ); | 79 | bool eventFilter( QObject * , QEvent * ); |
79 | void okRename(); | 80 | void okRename(); |
80 | void cancelRename(); | 81 | void cancelRename(); |
81 | QString getStorage(const QString &); | 82 | QString getStorage(const QString &); |
82 | bool rec(); | 83 | bool rec(); |