Implement rebuffering for seeking outside of buffered data boudaries
[Rockbox.git] / rbutil / rbutilqt / configure.h
bloba0e5977706ed120e13b7ffcc5e037c5b0276179c
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 "browsedirtree.h"
25 #include <QtGui>
27 class Config : public QDialog
29 Q_OBJECT
30 public:
31 Config(QWidget *parent = 0);
32 void setUserSettings(QSettings*);
33 void setDevices(QSettings*);
35 signals:
36 void settingsUpdated(void);
38 public slots:
39 void accept(void);
40 void abort(void);
42 private:
43 Ui::ConfigForm ui;
44 QSettings *userSettings;
45 QSettings *devices;
46 QStringList findLanguageFiles(void);
47 QString languageName(const QString&);
48 QMap<QString, QString> lang;
49 QString language;
50 QString programPath;
51 QUrl proxy;
52 void updateCacheInfo(QString);
54 BrowseDirtree *browser;
55 BrowseDirtree *cbrowser;
57 private slots:
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);
67 void browseTts(void);
68 void browseEnc(void);
69 void updateTtsOpts(int);
70 void updateEncOpts(int);
73 #endif