Change to (or add) 'standard' codec startup delay, fixing potential startup problems...
[kugel-rb.git] / rbutil / rbutilqt / configure.h
blob55f2838537e5bb1872504e9aa47f97978b46bd44
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2007 by Dominik Riebeling
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 CONFIGURE_H
21 #define CONFIGURE_H
23 #include "ui_configurefrm.h"
24 #include "browsedirtree.h"
25 #include "rbsettings.h"
26 #include <QtGui>
28 class Config : public QDialog
30 Q_OBJECT
31 public:
32 Config(QWidget *parent = 0,int index=0);
33 void setSettings(RbSettings* sett);
35 signals:
36 void settingsUpdated(void);
38 public slots:
39 void accept(void);
40 void abort(void);
42 private:
43 void setUserSettings();
44 void setDevices();
46 Ui::ConfigForm ui;
47 RbSettings* settings;
49 QStringList findLanguageFiles(void);
50 QString languageName(const QString&);
51 QMap<QString, QString> lang;
52 QString language;
53 QString programPath;
54 QUrl proxy;
55 void updateCacheInfo(QString);
57 BrowseDirtree *browser;
58 BrowseDirtree *cbrowser;
60 private slots:
61 void setNoProxy(bool);
62 void setSystemProxy(bool);
63 void updateLanguage(void);
64 void browseFolder(void);
65 void browseCache(void);
66 void autodetect(void);
67 void setMountpoint(QString);
68 void setCache(QString);
69 void cacheClear(void);
70 void configTts(void);
71 void configEnc(void);
72 void updateTtsState(int);
73 void updateEncState(int);
76 #endif