1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
9 * Copyright (C) 2007 by Dominik Riebeling
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
19 ****************************************************************************/
24 #include "ui_configurefrm.h"
29 class Config
: public QDialog
33 Config(QWidget
*parent
= 0,int index
=0);
36 void settingsUpdated(void);
43 void setUserSettings();
48 QStringList
findLanguageFiles(void);
49 QString
languageName(const QString
&);
50 QMap
<QString
, QString
> lang
;
55 void updateCacheInfo(QString
);
56 void changeEvent(QEvent
*event
);
59 void setNoProxy(bool);
60 void setSystemProxy(bool);
61 void updateLanguage(void);
62 void refreshMountpoint(void);
63 void browseCache(void);
64 void autodetect(void);
65 void setMountpoint(QString
);
66 void updateMountpoint(QString
);
67 void updateMountpoint(int);
68 void cacheClear(void);
71 void updateTtsState(int);
72 void updateEncState();
74 void showDisabled(bool);