summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/talkfile.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2007-08-28 23:10:42 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2007-08-28 23:10:42 +0000
commitc03102b34616f81f35cc2ea17af2942fd009d291 (patch)
treeb6a61535c9e63e9a982b9dc5493f0d27c86f2788 /rbutil/rbutilqt/talkfile.cpp
parentf2bf042edfef57e499b4d18694acca92d435d447 (diff)
downloadrockbox-c03102b34616f81f35cc2ea17af2942fd009d291.tar.gz
rockbox-c03102b34616f81f35cc2ea17af2942fd009d291.tar.bz2
rockbox-c03102b34616f81f35cc2ea17af2942fd009d291.zip
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
Diffstat (limited to 'rbutil/rbutilqt/talkfile.cpp')
-rw-r--r--rbutil/rbutilqt/talkfile.cpp26
1 files changed, 0 insertions, 26 deletions
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);
-}