imx233: correctly send the LCD_EVENT_ACTIVATION on enable
[maemo-rb.git] / rbutil / rbutilqt / configure.h
blob0a1dd99ec25430a11450d5f2dc3659ae847e825b
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2007 by Dominik Riebeling
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
19 ****************************************************************************/
21 #ifndef CONFIGURE_H
22 #define CONFIGURE_H
24 #include "ui_configurefrm.h"
25 #include <QtGui>
27 class Config : public QDialog
29 Q_OBJECT
30 public:
31 Config(QWidget *parent = 0,int index=0);
33 signals:
34 void settingsUpdated(void);
36 public slots:
37 void accept(void);
38 void abort(void);
40 private:
41 void setUserSettings();
42 void setDevices();
44 Ui::ConfigForm ui;
46 QStringList findLanguageFiles(void);
47 QString languageName(const QString&);
48 QMap<QString, QString> lang;
49 QString language;
50 QString programPath;
51 QUrl proxy;
52 QString mountpoint;
53 void updateCacheInfo(QString);
54 void changeEvent(QEvent *event);
56 private slots:
57 void setNoProxy(bool);
58 void setSystemProxy(bool);
59 void updateLanguage(void);
60 void refreshMountpoint(void);
61 void browseCache(void);
62 void autodetect(void);
63 void setMountpoint(QString);
64 void updateMountpoint(QString);
65 void updateMountpoint(int);
66 void cacheClear(void);
67 void configTts(void);
68 void configEnc(void);
69 void updateTtsState(int);
70 void updateEncState();
71 void testTts();
72 void showDisabled(bool);
75 #endif