Prevent an unwanted action which increases volume to be triggered at the same time...
[Rockbox.git] / rbutil / rbutilqt / installtalkwindow.h
blobf4fce5f61fefb3d1e1b3ec0cdd6503381e52fd14
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2007 by Dominik Wenger
10 * $Id$
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
20 #ifndef INSTALLTALKWINDOW_H
21 #define INSTALLTALKWINDOW_H
23 #include <QtGui>
25 #include <QSettings>
27 #include "ui_installtalkfrm.h"
28 #include "progressloggergui.h"
29 #include "talkfile.h"
31 class InstallTalkWindow : public QDialog
33 Q_OBJECT
34 public:
35 InstallTalkWindow(QWidget *parent = 0);
36 void setUserSettings(QSettings*);
37 void setDeviceSettings(QSettings*);
39 public slots:
40 void accept(void);
42 private slots:
43 void browseFolder(void);
44 void setTalkFolder(QString folder);
46 private:
47 TalkFileCreator* talkcreator;
48 Ui::InstallTalkFrm ui;
49 ProgressLoggerGui* logger;
50 QSettings *devices;
51 QSettings *userSettings;
55 #endif