equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Equalizer dialog widget. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MPEQUALIZERWIDGET_H |
|
19 #define MPEQUALIZERWIDGET_H |
|
20 |
|
21 //includes |
|
22 #include <hbdialog.h> |
|
23 |
|
24 //forward declartions |
|
25 class HbRadioButtonList; |
|
26 class MpEngine; |
|
27 |
|
28 //class declaration |
|
29 class MpEqualizerWidget : public HbDialog |
|
30 { |
|
31 |
|
32 Q_OBJECT |
|
33 |
|
34 public: |
|
35 explicit MpEqualizerWidget(); |
|
36 virtual ~MpEqualizerWidget(); |
|
37 |
|
38 public: |
|
39 void initialize(); |
|
40 void prepareDialog(); |
|
41 |
|
42 public slots: |
|
43 void presetSelected(int index); |
|
44 void cancelSelected(bool checked); |
|
45 void okSelected(bool checked); |
|
46 |
|
47 private: // functions |
|
48 QString getLocalizedString( QString name ); |
|
49 |
|
50 private: |
|
51 |
|
52 MpEngine *mMpEngine; // Own |
|
53 HbRadioButtonList *mPresetsList; //owned |
|
54 int mOriginalPresetIndex; |
|
55 |
|
56 Q_DISABLE_COPY(MpEqualizerWidget) |
|
57 |
|
58 }; |
|
59 |
|
60 #endif //MPEQUALIZERWIDGET_H |
|
61 |
|
62 //End of File |