linux: respect http_proxy value for "system" proxy settings.
[Rockbox.git] / rbutil / rbutilqt / configure.h
blob20ae4092bfb0bdf2f2fdfc16eb0eabf90308e6f7
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 <QtGui>
26 class Config : public QDialog
28 Q_OBJECT
29 public:
30 Config(QWidget *parent = 0);
31 void setUserSettings(QSettings*);
33 signals:
34 void settingsUpdated(void);
36 public slots:
37 void accept(void);
38 void abort(void);
40 private:
41 Ui::ConfigForm ui;
42 QSettings *userSettings;
43 QStringList findLanguageFiles(void);
44 QString languageName(const QString&);
45 QMap<QString, QString> lang;
46 QString language;
47 QString programPath;
48 QUrl proxy;
50 private slots:
51 void setNoProxy(bool);
52 void setSystemProxy(bool);
53 void updateLanguage(void);
56 #endif