(Maybe the first) correction of the order the album art images are searched. Also...
[maemo-rb.git] / rbutil / rbutilqt / configure.h
blob15e2d1b31c6f4e18254dcc486292cf11ceaf3cb4
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 <QtGui>
29 class Config : public QDialog
31 Q_OBJECT
32 public:
33 Config(QWidget *parent = 0,int index=0);
35 signals:
36 void settingsUpdated(void);
38 public slots:
39 void accept(void);
40 void abort(void);
42 private:
43 void setUserSettings();
44 void setDevices();
46 Ui::ConfigForm ui;
48 QStringList findLanguageFiles(void);
49 QString languageName(const QString&);
50 QMap<QString, QString> lang;
51 QString language;
52 QString programPath;
53 QUrl proxy;
54 void updateCacheInfo(QString);
56 BrowseDirtree *browser;
57 BrowseDirtree *cbrowser;
59 private slots:
60 void setNoProxy(bool);
61 void setSystemProxy(bool);
62 void updateLanguage(void);
63 void browseFolder(void);
64 void browseCache(void);
65 void autodetect(void);
66 void setMountpoint(QString);
67 void setCache(QString);
68 void cacheClear(void);
69 void configTts(void);
70 void configEnc(void);
71 void updateTtsState(int);
72 void updateEncState();
75 #endif