The voicefile header has grown, we need to byteswap all members - should fix FS#7550
[Rockbox.git] / rbutil / rbutilqt / configure.h
blobf1e6837c4b781286c7f7da9b2740ffc43e728810
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*);
32 void setDevices(QSettings*);
34 signals:
35 void settingsUpdated(void);
37 public slots:
38 void accept(void);
39 void abort(void);
41 private:
42 Ui::ConfigForm ui;
43 QSettings *userSettings;
44 QSettings *devices;
45 QStringList findLanguageFiles(void);
46 QString languageName(const QString&);
47 QMap<QString, QString> lang;
48 QString language;
49 QString programPath;
50 QUrl proxy;
52 private slots:
53 void setNoProxy(bool);
54 void setSystemProxy(bool);
55 void updateLanguage(void);
56 void browseFolder(void);
57 void autodetect(void);
60 #endif