|
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: VideoDetailsLabel class implementation |
|
15 * |
|
16 */ |
|
17 |
|
18 // Version : %version: % |
|
19 |
|
20 #include "videocollectiontrace.h" |
|
21 #include "videodetailslabel.h" |
|
22 |
|
23 // SYSTEM INCLUDES |
|
24 #include <HbLabel> |
|
25 #include <QGraphicsSceneMouseEvent> |
|
26 |
|
27 //--------------------------------------------------------------- |
|
28 // VideoDetailsLabel::VideoDetailsLabel |
|
29 // @see header |
|
30 //--------------------------------------------------------------- |
|
31 VideoDetailsLabel::VideoDetailsLabel(QGraphicsItem *parent) |
|
32 : HbLabel( parent ) |
|
33 { |
|
34 FUNC_LOG; |
|
35 } |
|
36 |
|
37 //--------------------------------------------------------------- |
|
38 // VideoDetailsLabel::~VideoDetailsLabel |
|
39 // @see header |
|
40 //--------------------------------------------------------------- |
|
41 VideoDetailsLabel::~VideoDetailsLabel() |
|
42 { |
|
43 FUNC_LOG; |
|
44 } |
|
45 |
|
46 //--------------------------------------------------------------- |
|
47 // VideoDetailsLabel::click |
|
48 // @see header |
|
49 //--------------------------------------------------------------- |
|
50 void VideoDetailsLabel::click() |
|
51 { |
|
52 FUNC_LOG; |
|
53 emit clicked(true); |
|
54 } |
|
55 |
|
56 //--------------------------------------------------------------- |
|
57 // VideoDetailsLabel::init |
|
58 // @see header |
|
59 //--------------------------------------------------------------- |
|
60 void VideoDetailsLabel::mousePressEvent(QGraphicsSceneMouseEvent *event) |
|
61 { |
|
62 FUNC_LOG; |
|
63 Q_UNUSED(event); |
|
64 emit clicked(true); |
|
65 } |
|
66 |
|
67 // EOF |