1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
9 * Copyright (C) 2007 by Dominik Riebeling
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 ****************************************************************************/
25 #include "ui_configurefrm.h"
26 #include "browsedirtree.h"
27 #include "rbsettings.h"
30 class Config
: public QDialog
34 Config(QWidget
*parent
= 0,int index
=0);
35 void setSettings(RbSettings
* sett
);
38 void settingsUpdated(void);
45 void setUserSettings();
51 QStringList
findLanguageFiles(void);
52 QString
languageName(const QString
&);
53 QMap
<QString
, QString
> lang
;
57 void updateCacheInfo(QString
);
59 BrowseDirtree
*browser
;
60 BrowseDirtree
*cbrowser
;
63 void setNoProxy(bool);
64 void setSystemProxy(bool);
65 void updateLanguage(void);
66 void browseFolder(void);
67 void browseCache(void);
68 void autodetect(void);
69 void setMountpoint(QString
);
70 void setCache(QString
);
71 void cacheClear(void);
74 void updateTtsState(int);
75 void updateEncState();