47
|
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 stub.
|
|
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 |
void show();
|
|
42 |
void close();
|
|
43 |
|
|
44 |
public slots:
|
|
45 |
void presetSelected(int index);
|
|
46 |
void cancelSelected(bool checked);
|
|
47 |
void okSelected(bool checked);
|
|
48 |
|
|
49 |
private: // functions
|
|
50 |
QString getLocalizedString( QString name );
|
|
51 |
public:
|
|
52 |
int showEqualizerWidgetCount;
|
|
53 |
int closeEqualizerWidgetCount;
|
|
54 |
private:
|
|
55 |
|
|
56 |
MpEngine *mMpEngine; // Own
|
|
57 |
|
|
58 |
Q_DISABLE_COPY(MpEqualizerWidget)
|
|
59 |
|
|
60 |
};
|
|
61 |
|
|
62 |
#endif //MPEQUALIZERWIDGET_H
|
|
63 |
|
|
64 |
//End of File
|