From 112b80b0c2f0ea27f16c23699867554f66c31938 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Fri, 25 May 2012 23:01:45 +0200 Subject: VoiceCreator: Factor out creation to separate function. Change-Id: I83d1a08745acc88aa673d07e469a0a854ef97050 --- rbutil/rbutilqt/base/voicefile.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'rbutil/rbutilqt/base/voicefile.h') 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: void setMountPoint(QString mountpoint) {m_mountpoint =mountpoint; } void setLang(QString name) { m_lang = name; } void setWavtrimThreshold(int th){m_wavtrimThreshold = th;} - + public slots: void abort(); - + signals: void done(bool); void aborted(); @@ -56,10 +56,11 @@ private slots: private: + void create(void); void cleanup(); HttpGet *getter; - QString filename; //the temporary file + QString m_filename; //the temporary file QString m_mountpoint; //mountpoint of the device QString m_path; //path where the wav and mp3 files are stored to int m_targetid; //the target id -- cgit v1.2.3