Diffstat (limited to 'noncore/multimedia/opierec/qtrec.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opierec/qtrec.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/multimedia/opierec/qtrec.h b/noncore/multimedia/opierec/qtrec.h index 6e81af6..b463597 100644 --- a/noncore/multimedia/opierec/qtrec.h +++ b/noncore/multimedia/opierec/qtrec.h | |||
@@ -53,100 +53,101 @@ class QLineEdit; | |||
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 | signals: | 63 | signals: |
64 | void stopRecording(); | 64 | void stopRecording(); |
65 | void startRecording(); | 65 | void startRecording(); |
66 | void stopPlaying(); | 66 | void stopPlaying(); |
67 | void startPlaying(); | 67 | void startPlaying(); |
68 | 68 | ||
69 | public slots: | 69 | public slots: |
70 | 70 | ||
71 | private: | 71 | private: |
72 | // int fragment; | 72 | // int fragment; |
73 | int fd1; | 73 | int fd1; |
74 | int secCount; | 74 | int secCount; |
75 | QString timeString; | 75 | QString timeString; |
76 | 76 | ||
77 | QLineEdit *renameBox; | 77 | QLineEdit *renameBox; |
78 | QGroupBox* GroupBox1; | 78 | QGroupBox* GroupBox1; |
79 | QString currentFile; | 79 | QString currentFile; |
80 | QString date, currentFileName, tmpFileName; | 80 | QString date, currentFileName, tmpFileName; |
81 | QTimer *t_timer; | 81 | QTimer *t_timer; |
82 | bool needsStereoOut, paused; | 82 | bool needsStereoOut, paused; |
83 | bool useTmpFile, autoMute; | 83 | bool useTmpFile, autoMute; |
84 | 84 | ||
85 | bool eventFilter( QObject * , QEvent * ); | 85 | bool eventFilter( QObject * , QEvent * ); |
86 | void okRename(); | 86 | void okRename(); |
87 | void cancelRename(); | 87 | void cancelRename(); |
88 | QString getStorage(const QString &); | 88 | QString getStorage(const QString &); |
89 | bool rec(); | 89 | bool rec(); |
90 | int getCurrentSizeLimit(); | 90 | int getCurrentSizeLimit(); |
91 | long checkDiskSpace(const QString &); | 91 | long checkDiskSpace(const QString &); |
92 | void doMute(bool); | 92 | void doMute(bool); |
93 | void errorStop(); | 93 | void errorStop(); |
94 | void fillDirectoryCombo(); | 94 | void fillDirectoryCombo(); |
95 | void getInVol(); | 95 | void getInVol(); |
96 | void getOutVol(); | 96 | void getOutVol(); |
97 | void init(); | 97 | void init(); |
98 | void initConfig(); | 98 | void initConfig(); |
99 | void initConnections(); | 99 | void initConnections(); |
100 | void selectItemByName(const QString &); | 100 | void selectItemByName(const QString &); |
101 | void setRecordButton(bool); | ||
102 | void start(); | 101 | void start(); |
103 | void stop(); | 102 | void stop(); |
104 | void timerEvent( QTimerEvent *e ); | 103 | void timerEvent( QTimerEvent *e ); |
104 | void setButtons(); | ||
105 | void QtRec::fileSize(unsigned long size, QString &str); | ||
105 | 106 | ||
106 | private slots: | 107 | private slots: |
107 | void endPlaying(); | 108 | void endPlaying(); |
108 | void endRecording(); | 109 | void endRecording(); |
109 | 110 | ||
110 | void FastforwardPressed(); | 111 | void FastforwardPressed(); |
111 | void FastforwardReleased(); | 112 | void FastforwardReleased(); |
112 | 113 | ||
113 | void changeDirCombo(int); | 114 | void changeDirCombo(int); |
114 | void changeSizeLimitCombo(int); | 115 | void changeSizeLimitCombo(int); |
115 | void changeTimeSlider(int); | 116 | void changeTimeSlider(int); |
116 | void changebitrateCombo(int); | 117 | void changebitrateCombo(int); |
117 | void changeStereoCheck( bool); | 118 | void changeStereoCheck( bool); |
118 | 119 | ||
119 | void changedInVolume(); | 120 | void changedInVolume(); |
120 | void changedOutVolume(); | 121 | void changedOutVolume(); |
121 | void changesamplerateCombo(int); | 122 | void changesamplerateCombo(int); |
122 | 123 | ||
123 | void cleanUp(); | 124 | void cleanUp(); |
124 | void compressionSelected(bool); | 125 | void compressionSelected(bool); |
125 | void deleteSound(); | 126 | void deleteSound(); |
126 | void doBeam(); | 127 | void doBeam(); |
127 | void doMenuPlay(); | 128 | void doMenuPlay(); |
128 | void doMicMuting(bool); | 129 | void doMicMuting(bool); |
129 | void doPlayBtn(); | 130 | void doPlayBtn(); |
130 | void doRename(); | 131 | void doRename(); |
131 | void doVolMuting(bool); | 132 | void doVolMuting(bool); |
132 | void forwardTimerTimeout(); | 133 | void forwardTimerTimeout(); |
133 | void itClick(QListViewItem *item); | 134 | void itClick(QListViewItem *item); |
134 | void listPressed(int, QListViewItem *, const QPoint&, int); | 135 | void listPressed(int, QListViewItem *, const QPoint&, int); |
135 | void newSound(); | 136 | void newSound(); |
136 | void rewindPressed(); | 137 | void rewindPressed(); |
137 | void rewindReleased(); | 138 | void rewindReleased(); |
138 | void rewindTimerTimeout(); | 139 | void rewindTimerTimeout(); |
139 | void slotAutoMute(bool); | 140 | void slotAutoMute(bool); |
140 | void thisTab(QWidget*); | 141 | void thisTab(QWidget*); |
141 | void timeSliderPressed(); | 142 | void timeSliderPressed(); |
142 | void timeSliderReleased(); | 143 | void timeSliderReleased(); |
143 | void timerBreak(); | 144 | void timerBreak(); |
144 | void initIconView(); | 145 | void initIconView(); |
145 | /* void changedOutVolume(int); */ | 146 | /* void changedOutVolume(int); */ |
146 | /* void changedInVolume(int); */ | 147 | /* void changedInVolume(int); */ |
147 | 148 | ||
148 | protected: | 149 | protected: |
149 | 150 | ||
150 | WavFile *wavFile; | 151 | WavFile *wavFile; |
151 | QButtonGroup *ButtonGroup1; | 152 | QButtonGroup *ButtonGroup1; |
152 | QCheckBox *outMuteCheckBox, *inMuteCheckBox, *compressionCheckBox, *autoMuteCheckBox, *stereoCheckBox; | 153 | QCheckBox *outMuteCheckBox, *inMuteCheckBox, *compressionCheckBox, *autoMuteCheckBox, *stereoCheckBox; |