From c03102b34616f81f35cc2ea17af2942fd009d291 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Tue, 28 Aug 2007 23:10:42 +0000 Subject: Completely rework the talk files window: move settings to configuration dialog and add configuration presets. Remove some old cruft from talkfile handling and rely on values from rbutil.ini. Autodetection of executables is missing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14495 a1c6a512-1295-4272-9138-f99709370657 --- rbutil/rbutilqt/talkfile.cpp | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'rbutil/rbutilqt/talkfile.cpp') diff --git a/rbutil/rbutilqt/talkfile.cpp b/rbutil/rbutilqt/talkfile.cpp index ee65dc27af..77f5c3fd3f 100644 --- a/rbutil/rbutilqt/talkfile.cpp +++ b/rbutil/rbutilqt/talkfile.cpp @@ -24,19 +24,6 @@ TalkFileCreator::TalkFileCreator(QObject* parent): QObject(parent) } -void TalkFileCreator::setTTsType(QString tts) -{ - m_curTTS = tts; - int index = m_supportedTTS.indexOf(m_curTTS); - m_curTTSTemplate = m_supportedTTSTemplates.at(index); -} - -void TalkFileCreator::setEncType(QString enc) -{ - m_curEnc = enc; - int index = m_supportedEnc.indexOf(m_curEnc); - m_curEncTemplate = m_supportedEncTemplates.at(index); -} bool TalkFileCreator::initEncoder() { @@ -203,17 +190,4 @@ bool TalkFileCreator::encode(QString input,QString output) } -QString TalkFileCreator::getTTsOpts(QString ttsname) -{ - int index = m_supportedTTS.indexOf(ttsname); - - return m_supportedTTSOpts.at(index); -} - -QString TalkFileCreator::getEncOpts(QString encname) -{ - int index = m_supportedEnc.indexOf(encname); - - return m_supportedEncOpts.at(index); -} -- cgit v1.2.3