codec.link must be created with -DCODEC
[kugel-rb.git] / rbutil / rbutilqt / installtalkwindow.h
blobfb9a49f63f0c6c43571d6fdc2a88b41ff794fa1c
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2007 by Dominik Wenger
10 * $Id$
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.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
22 #ifndef INSTALLTALKWINDOW_H
23 #define INSTALLTALKWINDOW_H
25 #include <QtGui>
27 #include "ui_installtalkfrm.h"
28 #include "progressloggergui.h"
29 #include "talkfile.h"
30 #include "rbsettings.h"
32 class InstallTalkWindow : public QDialog
34 Q_OBJECT
35 public:
36 InstallTalkWindow(QWidget *parent = 0);
37 void setSettings(RbSettings* sett);
39 public slots:
40 void accept(void);
41 void change(void);
43 private slots:
44 void browseFolder(void);
45 void setTalkFolder(QString folder);
46 void updateSettings(void);
48 signals:
49 void settingsUpdated(void);
51 private:
52 TalkFileCreator* talkcreator;
53 Ui::InstallTalkFrm ui;
54 ProgressLoggerGui* logger;
55 RbSettings* settings;
59 #endif