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"
27 class Config
: public QDialog
31 Config(QWidget
*parent
= 0);
32 void setUserSettings(QSettings
*);
33 void setDevices(QSettings
*);
36 void settingsUpdated(void);
44 QSettings
*userSettings
;
46 QStringList
findLanguageFiles(void);
47 QString
languageName(const QString
&);
48 QMap
<QString
, QString
> lang
;
52 void updateCacheInfo(QString
);
54 BrowseDirtree
*browser
;
55 BrowseDirtree
*cbrowser
;
58 void setNoProxy(bool);
59 void setSystemProxy(bool);
60 void updateLanguage(void);
61 void browseFolder(void);
62 void browseCache(void);
63 void autodetect(void);
64 void setMountpoint(QString
);
65 void setCache(QString
);
66 void cacheClear(void);
69 void updateTtsOpts(int);
70 void updateEncOpts(int);