diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-05-25 23:01:45 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-05-27 22:57:17 +0200 |
commit | 112b80b0c2f0ea27f16c23699867554f66c31938 (patch) | |
tree | 6eed521372191133fc1fb696a081448a6ac1b2e3 /rbutil/rbutilqt/base/voicefile.h | |
parent | ad3ecfcf8cb6b37f48a2aeaf24c408907c927bb4 (diff) | |
download | rockbox-112b80b0c2f0ea27f16c23699867554f66c31938.tar.gz rockbox-112b80b0c2f0ea27f16c23699867554f66c31938.zip |
VoiceCreator: Factor out creation to separate function.
Change-Id: I83d1a08745acc88aa673d07e469a0a854ef97050
Diffstat (limited to 'rbutil/rbutilqt/base/voicefile.h')
-rw-r--r-- | rbutil/rbutilqt/base/voicefile.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/base/voicefile.h b/rbutil/rbutilqt/base/voicefile.h index 82698bfbde..f3f6c7a930 100644 --- a/rbutil/rbutilqt/base/voicefile.h +++ b/rbutil/rbutilqt/base/voicefile.h | |||
@@ -41,10 +41,10 @@ public: | |||
41 | void setMountPoint(QString mountpoint) {m_mountpoint =mountpoint; } | 41 | void setMountPoint(QString mountpoint) {m_mountpoint =mountpoint; } |
42 | void setLang(QString name) { m_lang = name; } | 42 | void setLang(QString name) { m_lang = name; } |
43 | void setWavtrimThreshold(int th){m_wavtrimThreshold = th;} | 43 | void setWavtrimThreshold(int th){m_wavtrimThreshold = th;} |
44 | 44 | ||
45 | public slots: | 45 | public slots: |
46 | void abort(); | 46 | void abort(); |
47 | 47 | ||
48 | signals: | 48 | signals: |
49 | void done(bool); | 49 | void done(bool); |
50 | void aborted(); | 50 | void aborted(); |
@@ -56,10 +56,11 @@ private slots: | |||
56 | 56 | ||
57 | private: | 57 | private: |
58 | 58 | ||
59 | void create(void); | ||
59 | void cleanup(); | 60 | void cleanup(); |
60 | 61 | ||
61 | HttpGet *getter; | 62 | HttpGet *getter; |
62 | QString filename; //the temporary file | 63 | QString m_filename; //the temporary file |
63 | QString m_mountpoint; //mountpoint of the device | 64 | QString m_mountpoint; //mountpoint of the device |
64 | QString m_path; //path where the wav and mp3 files are stored to | 65 | QString m_path; //path where the wav and mp3 files are stored to |
65 | int m_targetid; //the target id | 66 | int m_targetid; //the target id |