78
|
1 |
/** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
* All rights reserved.
|
|
3 |
* This component and the accompanying materials are made available
|
|
4 |
* under the terms of the License "Eclipse Public License v1.0"
|
|
5 |
* which accompanies this distribution, and is available
|
|
6 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
*
|
|
8 |
* Initial Contributors:
|
|
9 |
* Nokia Corporation - initial contribution.
|
|
10 |
*
|
|
11 |
* Contributors:
|
|
12 |
*
|
|
13 |
* Description:
|
|
14 |
*
|
|
15 |
*/
|
|
16 |
#include <QDebug>
|
|
17 |
#include <smcmockclassincludes.h>
|
|
18 |
#include "hbvolumesliderpopup.h"
|
|
19 |
|
|
20 |
// ============================ MEMBER FUNCTIONS ===============================
|
|
21 |
|
|
22 |
// -----------------------------------------------------------------------------
|
|
23 |
// HbVolumeSliderPopup::HbVolumeSliderPopup
|
|
24 |
// -----------------------------------------------------------------------------
|
|
25 |
//
|
|
26 |
HbVolumeSliderPopup::HbVolumeSliderPopup( )
|
|
27 |
: HbSliderPopup()
|
|
28 |
{
|
|
29 |
|
|
30 |
}
|
|
31 |
|
|
32 |
|
|
33 |
// -----------------------------------------------------------------------------
|
|
34 |
// HbVolumeSliderPopup::~HbVolumeSliderPopup
|
|
35 |
// -----------------------------------------------------------------------------
|
|
36 |
//
|
|
37 |
HbVolumeSliderPopup::~HbVolumeSliderPopup( )
|
|
38 |
{
|
|
39 |
|
|
40 |
}
|
|
41 |
|
|
42 |
// -----------------------------------------------------------------------------
|
|
43 |
// HbVolumeSliderPopup::setCurrentValueVisible
|
|
44 |
// -----------------------------------------------------------------------------
|
|
45 |
//
|
|
46 |
void HbVolumeSliderPopup::setCurrentValueVisible(
|
|
47 |
bool visible )
|
|
48 |
{
|
|
49 |
SMC_MOCK_METHOD1( void, bool, visible )
|
|
50 |
}
|
|
51 |
|
|
52 |
|
|
53 |
// -----------------------------------------------------------------------------
|
|
54 |
// HbVolumeSliderPopup::isCurrentValueVisible
|
|
55 |
// -----------------------------------------------------------------------------
|
|
56 |
//
|
|
57 |
bool HbVolumeSliderPopup::isCurrentValueVisible( ) const
|
|
58 |
{
|
|
59 |
SMC_MOCK_METHOD0( bool )
|
|
60 |
}
|
|
61 |
|
|
62 |
|
|
63 |
// -----------------------------------------------------------------------------
|
|
64 |
// HbVolumeSliderPopup::iconToggled
|
|
65 |
// -----------------------------------------------------------------------------
|
|
66 |
//
|
|
67 |
void HbVolumeSliderPopup::iconToggled(
|
|
68 |
bool checked )
|
|
69 |
{
|
|
70 |
SMC_MOCK_METHOD1( void, bool, checked )
|
|
71 |
}
|
|
72 |
|
|
73 |
|
|
74 |
// -----------------------------------------------------------------------------
|
|
75 |
// HbVolumeSliderPopup::HbVolumeSliderPopup
|
|
76 |
// -----------------------------------------------------------------------------
|
|
77 |
//
|
|
78 |
HbVolumeSliderPopup::HbVolumeSliderPopup(
|
|
79 |
HbVolumeSliderPopupPrivate & dd,
|
|
80 |
QGraphicsItem * parent )
|
|
81 |
//:
|
|
82 |
//HbSliderPopup( /*dd, parent*/ )
|
|
83 |
{
|
|
84 |
|
|
85 |
}
|
|
86 |
|
|
87 |
|
|
88 |
// -----------------------------------------------------------------------------
|
|
89 |
// HbVolumeSliderPopup::keyPressEvent
|
|
90 |
// -----------------------------------------------------------------------------
|
|
91 |
//
|
|
92 |
void HbVolumeSliderPopup::keyPressEvent(
|
|
93 |
QKeyEvent * event )
|
|
94 |
{
|
|
95 |
SMC_MOCK_METHOD1( void, QKeyEvent *, event )
|
|
96 |
}
|
|
97 |
|
|
98 |
|
|
99 |
// -----------------------------------------------------------------------------
|
|
100 |
// HbVolumeSliderPopup::keyReleaseEvent
|
|
101 |
// -----------------------------------------------------------------------------
|
|
102 |
//
|
|
103 |
void HbVolumeSliderPopup::keyReleaseEvent(
|
|
104 |
QKeyEvent * event )
|
|
105 |
{
|
|
106 |
SMC_MOCK_METHOD1( void, QKeyEvent *, event )
|
|
107 |
}
|
|
108 |
|
|
109 |
|