Redo my previous segfault fix in a better way.
[Rockbox.git] / rbutil / rbutilqt / installtalkwindow.h
blob7ac9e45fc0309db8c37035d3151e7d074e62ded6
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 "ui_installtalkfrm.h"
26 #include "progressloggergui.h"
27 #include "talkfile.h"
28 #include "rbsettings.h"
30 class InstallTalkWindow : public QDialog
32 Q_OBJECT
33 public:
34 InstallTalkWindow(QWidget *parent = 0);
35 void setSettings(RbSettings* sett);
37 signals:
38 void settingsUpdated(void);
40 public slots:
41 void accept(void);
42 void change(void);
44 private slots:
45 void browseFolder(void);
46 void setTalkFolder(QString folder);
48 private:
49 TalkFileCreator* talkcreator;
50 Ui::InstallTalkFrm ui;
51 ProgressLoggerGui* logger;
52 RbSettings* settings;
56 #endif