2 * SomePlayer - An alternate music player for Maemo 5
3 * Copyright (C) 2010 Nikolay (somebody) Tischenko <niktischenko@gmail.com>
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef EQUALIZERDIALOG_H
21 #define EQUALIZERDIALOG_H
26 class EqualizerDialog;
29 class EqualizerDialog : public QDialog
33 explicit EqualizerDialog(QWidget *parent = 0);
36 void valueChanged(int, int);
37 void equalizerDisabled();
38 void equalizerEnabled();
41 void setValue(int, int);
42 void setEqualizerEnabled(bool);
48 void _value0_changed(int v) { emit valueChanged(0, v);}
49 void _value1_changed(int v) { emit valueChanged(1, v);}
50 void _value2_changed(int v) { emit valueChanged(2, v);}
51 void _value3_changed(int v) { emit valueChanged(3, v);}
52 void _value4_changed(int v) { emit valueChanged(4, v);}
53 void _value5_changed(int v) { emit valueChanged(5, v);}
54 void _value6_changed(int v) { emit valueChanged(6, v);}
55 void _value7_changed(int v) { emit valueChanged(7, v);}
56 void _value8_changed(int v) { emit valueChanged(8, v);}
57 void _value9_changed(int v) { emit valueChanged(9, v);}
58 void _value_master_changed(int v);
59 void _state_changed();
61 void _load_preset(QString);
64 Ui::EqualizerDialog *ui;
67 #endif // EQUALIZERDIALOG_H