Asap codec: put outputbuffer into iram. Improves performance.
[kugel-rb.git] / rbutil / rbutilqt / configure.h
blob9655952244dea272f39962d49f8572cb31ed0042
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2007 by Dominik Riebeling
10 * $Id$
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 ****************************************************************************/
22 #ifndef CONFIGURE_H
23 #define CONFIGURE_H
25 #include "ui_configurefrm.h"
26 #include "browsedirtree.h"
27 #include "rbsettings.h"
28 #include <QtGui>
30 class Config : public QDialog
32 Q_OBJECT
33 public:
34 Config(QWidget *parent = 0,int index=0);
35 void setSettings(RbSettings* sett);
37 signals:
38 void settingsUpdated(void);
40 public slots:
41 void accept(void);
42 void abort(void);
44 private:
45 void setUserSettings();
46 void setDevices();
48 Ui::ConfigForm ui;
49 RbSettings* settings;
51 QStringList findLanguageFiles(void);
52 QString languageName(const QString&);
53 QMap<QString, QString> lang;
54 QString language;
55 QString programPath;
56 QUrl proxy;
57 void updateCacheInfo(QString);
59 BrowseDirtree *browser;
60 BrowseDirtree *cbrowser;
62 private slots:
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);
72 void configTts(void);
73 void configEnc(void);
74 void updateTtsState(int);
75 void updateEncState();
78 #endif