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
This commit is contained in:
Dominik Riebeling 2007-08-28 23:10:42 +00:00
parent f2bf042edf
commit c03102b346
12 changed files with 408 additions and 382 deletions

View file

@ -32,7 +32,7 @@ class InstallTalkWindow : public QDialog
{
Q_OBJECT
public:
InstallTalkWindow(QWidget *parent = 0);
InstallTalkWindow(QWidget *parent = 0);
void setUserSettings(QSettings*);
void setDeviceSettings(QSettings*);
@ -40,21 +40,11 @@ class InstallTalkWindow : public QDialog
void accept(void);
private slots:
void browseFolder(void);
void browseTTS(void);
void browseEncoder(void);
void setTalkFolder(QString folder);
void setTTSExec(QString path);
void setEncoderExec(QString path);
void setEncoderOptions(int index);
void setTTSOptions(int index);
void setEncoderOptions(QString options);
void setTTSOptions(QString options);
void browseFolder(void);
void setTalkFolder(QString folder);
private:
TalkFileCreator* talkcreator;
TalkFileCreator* talkcreator;
Ui::InstallTalkFrm ui;
ProgressLoggerGui* logger;
QSettings *devices;
@ -62,5 +52,4 @@ class InstallTalkWindow : public QDialog
};
#endif