diff options
Diffstat (limited to 'rbutil/rbutilqt/voicefile.h')
-rw-r--r-- | rbutil/rbutilqt/voicefile.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/rbutil/rbutilqt/voicefile.h b/rbutil/rbutilqt/voicefile.h index df4ebaccfd..39205db756 100644 --- a/rbutil/rbutilqt/voicefile.h +++ b/rbutil/rbutilqt/voicefile.h | |||
@@ -45,39 +45,40 @@ public: | |||
45 | 45 | ||
46 | // set infos | 46 | // set infos |
47 | void setSettings(RbSettings* sett) { settings = sett;} | 47 | void setSettings(RbSettings* sett) { settings = sett;} |
48 | 48 | ||
49 | void setMountPoint(QString mountpoint) {m_mountpoint =mountpoint; } | 49 | void setMountPoint(QString mountpoint) {m_mountpoint =mountpoint; } |
50 | void setTargetId(int id){m_targetid = id;} | 50 | void setTargetId(int id){m_targetid = id;} |
51 | void setLang(QString name){m_lang =name;} | 51 | void setLang(QString name){m_lang =name;} |
52 | void setWavtrimThreshold(int th){m_wavtrimThreshold = th;} | 52 | void setWavtrimThreshold(int th){m_wavtrimThreshold = th;} |
53 | 53 | ||
54 | signals: | 54 | signals: |
55 | void done(bool error); | 55 | void done(bool error); |
56 | 56 | ||
57 | private slots: | 57 | private slots: |
58 | void abort(); | 58 | void abort(); |
59 | void downloadDone(bool error); | 59 | void downloadDone(bool error); |
60 | void updateDataReadProgress(int read, int total); | 60 | void updateDataReadProgress(int read, int total); |
61 | 61 | ||
62 | private: | 62 | private: |
63 | 63 | ||
64 | // ptr to encoder, tts and settings | 64 | // ptr to encoder, tts and settings |
65 | TTSBase* m_tts; | 65 | TTSBase* m_tts; |
66 | EncBase* m_enc; | 66 | EncBase* m_enc; |
67 | RbSettings* settings; | 67 | RbSettings* settings; |
68 | HttpGet *getter; | 68 | HttpGet *getter; |
69 | 69 | ||
70 | QString filename; //the temporary file | 70 | QString filename; //the temporary file |
71 | 71 | ||
72 | QString m_mountpoint; //mountpoint of the device | 72 | QString m_mountpoint; //mountpoint of the device |
73 | QString m_path; //path where the wav and mp3 files are stored to | 73 | QString m_path; //path where the wav and mp3 files are stored to |
74 | int m_targetid; //the target id | 74 | int m_targetid; //the target id |
75 | QString m_lang; // the language which will be spoken | 75 | QString m_lang; // the language which will be spoken |
76 | int m_wavtrimThreshold; | 76 | int m_wavtrimThreshold; |
77 | 77 | ||
78 | ProgressloggerInterface* m_logger; | 78 | ProgressloggerInterface* m_logger; |
79 | 79 | ||
80 | bool m_abort; | 80 | bool m_abort; |
81 | }; | 81 | }; |
82 | 82 | ||
83 | #endif | 83 | #endif |
84 | |||