summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/talkfile.h
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2007-10-19 21:49:07 +0000
committerDominik Wenger <domonoky@googlemail.com>2007-10-19 21:49:07 +0000
commit04f1eaf4f0828cb5018a005a58ba4bb675b15419 (patch)
treebffe234247a60705852d123281136477e9ee04b5 /rbutil/rbutilqt/talkfile.h
parent5d066590cc1285f4cbefef60267f0942e58a4cb0 (diff)
downloadrockbox-04f1eaf4f0828cb5018a005a58ba4bb675b15419.tar.gz
rockbox-04f1eaf4f0828cb5018a005a58ba4bb675b15419.tar.bz2
rockbox-04f1eaf4f0828cb5018a005a58ba4bb675b15419.zip
rbutil: try to fix all Bugs from FS#7982 in the talkfile creation. Additionally fix the positon of the _dirname.talk file and uninstallation of talkfiles.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15212 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/talkfile.h')
-rw-r--r--rbutil/rbutilqt/talkfile.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/rbutil/rbutilqt/talkfile.h b/rbutil/rbutilqt/talkfile.h
index 1b8d9ca2e2..54819c80f8 100644
--- a/rbutil/rbutilqt/talkfile.h
+++ b/rbutil/rbutilqt/talkfile.h
@@ -67,7 +67,7 @@ public:
void setEncOpts(QString opts) {m_EncOpts=opts;}
void setEncTemplate(QString t) { m_curEncTemplate = t; }
- void setDir(QString dir){m_dir = dir; }
+ void setDir(QDir dir){m_dir = dir; }
void setMountPoint(QString mountpoint) {m_mountpoint =mountpoint; }
void setOverwriteTalk(bool ov) {m_overwriteTalk = ov;}
@@ -83,14 +83,11 @@ private slots:
private:
TTSBase* m_tts;
- //bool initTTS();
- //bool stopTTS();
bool initEncoder();
bool encode(QString input,QString output);
- //bool voice(QString text,QString wavfile);
- QString m_dir;
+ QDir m_dir;
QString m_mountpoint;
QString m_curTTS;
QString m_TTSexec;