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 widget stub for Music Player playback view.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
// System includes
|
|
19 |
#include <QStringList>
|
|
20 |
#include <EqualizerConstants.h>
|
|
21 |
|
|
22 |
// User includes
|
|
23 |
#include "..\inc\mpequalizerwidget.h"
|
|
24 |
#include "..\inc\mpenginefactory.h"
|
|
25 |
#include "..\inc\mpengine.h"
|
|
26 |
#include "mptrace.h"
|
|
27 |
|
|
28 |
|
|
29 |
/*!
|
|
30 |
Constructs the Equalizer widget.
|
|
31 |
*/
|
|
32 |
MpEqualizerWidget::MpEqualizerWidget() :
|
|
33 |
mMpEngine(0)
|
|
34 |
{
|
|
35 |
TX_ENTRY
|
|
36 |
initialize();
|
|
37 |
TX_EXIT
|
|
38 |
}
|
|
39 |
|
|
40 |
/*!
|
|
41 |
Destructs the widget.
|
|
42 |
*/
|
|
43 |
MpEqualizerWidget::~MpEqualizerWidget()
|
|
44 |
{
|
|
45 |
TX_LOG
|
|
46 |
}
|
|
47 |
|
|
48 |
/*!
|
|
49 |
Stub
|
|
50 |
*/
|
|
51 |
void MpEqualizerWidget::initialize()
|
|
52 |
{
|
|
53 |
mMpEngine = MpEngineFactory::sharedEngine();
|
|
54 |
}
|
|
55 |
|
|
56 |
/*!
|
|
57 |
Stub
|
|
58 |
*/
|
|
59 |
void MpEqualizerWidget::prepareDialog()
|
|
60 |
{
|
|
61 |
}
|
|
62 |
|
|
63 |
/*!
|
|
64 |
Stub
|
|
65 |
*/
|
|
66 |
void MpEqualizerWidget::presetSelected(int index)
|
|
67 |
{
|
|
68 |
Q_UNUSED(index)
|
|
69 |
}
|
|
70 |
|
|
71 |
/*!
|
|
72 |
Stub
|
|
73 |
*/
|
|
74 |
void MpEqualizerWidget::cancelSelected(bool checked)
|
|
75 |
{
|
|
76 |
TX_ENTRY
|
|
77 |
Q_UNUSED(checked);
|
|
78 |
}
|
|
79 |
|
|
80 |
/*!
|
|
81 |
Stub
|
|
82 |
*/
|
|
83 |
void MpEqualizerWidget::okSelected(bool checked)
|
|
84 |
{
|
|
85 |
Q_UNUSED(checked);
|
|
86 |
}
|
|
87 |
|
|
88 |
/*!
|
|
89 |
Stub
|
|
90 |
*/
|
|
91 |
void MpEqualizerWidget::show()
|
|
92 |
{
|
|
93 |
showEqualizerWidgetCount++;
|
|
94 |
}
|
|
95 |
|
|
96 |
/*!
|
|
97 |
Stub
|
|
98 |
*/
|
|
99 |
void MpEqualizerWidget::close()
|
|
100 |
{
|
|
101 |
closeEqualizerWidgetCount++;
|
|
102 |
}
|
|
103 |
|
|
104 |
/*!
|
|
105 |
Return the localized string base on preset name.
|
|
106 |
*/
|
|
107 |
QString MpEqualizerWidget::getLocalizedString( QString name )
|
|
108 |
{
|
|
109 |
Q_UNUSED(name)
|
|
110 |
return QString();
|
|
111 |
}
|
|
112 |
|
|
113 |
//End of File
|