1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
9 * Copyright (C) 2007 by Dominik Riebeling
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 ****************************************************************************/
23 #include "ui_configurefrm.h"
24 #include "browsedirtree.h"
25 #include "rbsettings.h"
28 class Config
: public QDialog
32 Config(QWidget
*parent
= 0,int index
=0);
33 void setSettings(RbSettings
* sett
);
36 void settingsUpdated(void);
43 void setUserSettings();
49 QStringList
findLanguageFiles(void);
50 QString
languageName(const QString
&);
51 QMap
<QString
, QString
> lang
;
55 void updateCacheInfo(QString
);
57 BrowseDirtree
*browser
;
58 BrowseDirtree
*cbrowser
;
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);
72 void updateTtsState(int);
73 void updateEncState(int);