summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/installtalkwindow.cpp
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2007-12-14 19:49:11 +0000
committerDominik Wenger <domonoky@googlemail.com>2007-12-14 19:49:11 +0000
commitf5c695b43fcf4a4f82984878ceab0a23e87bacfc (patch)
tree0c713c391dd5660c5d4fc984b83aee326232c04c /rbutil/rbutilqt/installtalkwindow.cpp
parent815504b44919ac73923359e12aa29fb409cefda2 (diff)
downloadrockbox-f5c695b43fcf4a4f82984878ceab0a23e87bacfc.tar.gz
rockbox-f5c695b43fcf4a4f82984878ceab0a23e87bacfc.tar.bz2
rockbox-f5c695b43fcf4a4f82984878ceab0a23e87bacfc.zip
rbutil: added a button into talkfile dialog, to directly jump to config of tts and enc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15926 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/installtalkwindow.cpp')
-rw-r--r--rbutil/rbutilqt/installtalkwindow.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/installtalkwindow.cpp b/rbutil/rbutilqt/installtalkwindow.cpp
index 9b8b5d943a..caceb03176 100644
--- a/rbutil/rbutilqt/installtalkwindow.cpp
+++ b/rbutil/rbutilqt/installtalkwindow.cpp
@@ -21,6 +21,7 @@
#include "ui_installtalkfrm.h"
#include "browsedirtree.h"
+#include "configure.h"
InstallTalkWindow::InstallTalkWindow(QWidget *parent) : QDialog(parent)
{
@@ -28,6 +29,7 @@ InstallTalkWindow::InstallTalkWindow(QWidget *parent) : QDialog(parent)
talkcreator = new TalkFileCreator(this);
connect(ui.buttonBrowse, SIGNAL(clicked()), this, SLOT(browseFolder()));
+ connect(ui.change,SIGNAL(clicked()),this,SLOT(change()));
ui.OverwriteWav->setChecked(true);
ui.RemoveWav->setChecked(true);
@@ -61,6 +63,14 @@ void InstallTalkWindow::setTalkFolder(QString folder)
ui.lineTalkFolder->setText(folder);
}
+void InstallTalkWindow::change()
+{
+ Config *cw = new Config(this,4);
+ cw->setUserSettings(userSettings);
+ cw->setDevices(devices);
+ cw->show();
+ connect(cw, SIGNAL(settingsUpdated()), this, SIGNAL(settingsUpdated()));
+}
void InstallTalkWindow::accept()
{