Dominik Wenger | e70f7f4 | 2007-08-05 16:17:35 +0000 | [diff] [blame] | 1 | /*************************************************************************** |
| 2 | * __________ __ ___. |
| 3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
| 4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / |
| 5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < |
| 6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ |
| 7 | * \/ \/ \/ \/ \/ |
| 8 | * |
| 9 | * Copyright (C) 2007 by Dominik Wenger |
Dominik Riebeling | 1dc307a | 2007-08-23 22:11:50 +0000 | [diff] [blame] | 10 | * $Id$ |
Dominik Wenger | e70f7f4 | 2007-08-05 16:17:35 +0000 | [diff] [blame] | 11 | * |
Daniel Stenberg | 2acc0ac | 2008-06-28 18:10:04 +0000 | [diff] [blame^] | 12 | * This program is free software; you can redistribute it and/or |
| 13 | * modify it under the terms of the GNU General Public License |
| 14 | * as published by the Free Software Foundation; either version 2 |
| 15 | * of the License, or (at your option) any later version. |
Dominik Wenger | e70f7f4 | 2007-08-05 16:17:35 +0000 | [diff] [blame] | 16 | * |
| 17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY |
| 18 | * KIND, either express or implied. |
| 19 | * |
| 20 | ****************************************************************************/ |
| 21 | |
| 22 | #ifndef INSTALLTALKWINDOW_H |
| 23 | #define INSTALLTALKWINDOW_H |
| 24 | |
| 25 | #include <QtGui> |
| 26 | |
Dominik Wenger | e70f7f4 | 2007-08-05 16:17:35 +0000 | [diff] [blame] | 27 | #include "ui_installtalkfrm.h" |
| 28 | #include "progressloggergui.h" |
| 29 | #include "talkfile.h" |
Dominik Wenger | 3a54c9b | 2008-01-25 00:12:25 +0000 | [diff] [blame] | 30 | #include "rbsettings.h" |
Dominik Wenger | e70f7f4 | 2007-08-05 16:17:35 +0000 | [diff] [blame] | 31 | |
| 32 | class InstallTalkWindow : public QDialog |
| 33 | { |
| 34 | Q_OBJECT |
| 35 | public: |
Dominik Riebeling | c03102b | 2007-08-28 23:10:42 +0000 | [diff] [blame] | 36 | InstallTalkWindow(QWidget *parent = 0); |
Dominik Wenger | 3a54c9b | 2008-01-25 00:12:25 +0000 | [diff] [blame] | 37 | void setSettings(RbSettings* sett); |
Dominik Wenger | e70f7f4 | 2007-08-05 16:17:35 +0000 | [diff] [blame] | 38 | |
| 39 | public slots: |
| 40 | void accept(void); |
Dominik Wenger | f5c695b | 2007-12-14 19:49:11 +0000 | [diff] [blame] | 41 | void change(void); |
Dominik Wenger | e70f7f4 | 2007-08-05 16:17:35 +0000 | [diff] [blame] | 42 | |
| 43 | private slots: |
Dominik Riebeling | c03102b | 2007-08-28 23:10:42 +0000 | [diff] [blame] | 44 | void browseFolder(void); |
| 45 | void setTalkFolder(QString folder); |
Dominik Riebeling | 77e036a | 2008-03-14 18:27:39 +0000 | [diff] [blame] | 46 | void updateSettings(void); |
| 47 | |
| 48 | signals: |
Dominik Riebeling | 05f24a1 | 2008-03-01 13:42:14 +0000 | [diff] [blame] | 49 | void settingsUpdated(void); |
Dominik Riebeling | c03102b | 2007-08-28 23:10:42 +0000 | [diff] [blame] | 50 | |
Dominik Wenger | e70f7f4 | 2007-08-05 16:17:35 +0000 | [diff] [blame] | 51 | private: |
Dominik Riebeling | c03102b | 2007-08-28 23:10:42 +0000 | [diff] [blame] | 52 | TalkFileCreator* talkcreator; |
Dominik Wenger | e70f7f4 | 2007-08-05 16:17:35 +0000 | [diff] [blame] | 53 | Ui::InstallTalkFrm ui; |
| 54 | ProgressLoggerGui* logger; |
Dominik Wenger | 3a54c9b | 2008-01-25 00:12:25 +0000 | [diff] [blame] | 55 | RbSettings* settings; |
Dominik Wenger | e70f7f4 | 2007-08-05 16:17:35 +0000 | [diff] [blame] | 56 | |
| 57 | }; |
| 58 | |
Dominik Wenger | e70f7f4 | 2007-08-05 16:17:35 +0000 | [diff] [blame] | 59 | #endif |