diff -r 315810614048 -r 839377eedc2b videocollection/videofiledetailsview/src/videodetailslabel.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/videocollection/videofiledetailsview/src/videodetailslabel.cpp Tue Aug 31 15:15:55 2010 +0300 @@ -0,0 +1,67 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: VideoDetailsLabel class implementation +* +*/ + +// Version : %version: % + +#include "videocollectiontrace.h" +#include "videodetailslabel.h" + +// SYSTEM INCLUDES +#include +#include + +//--------------------------------------------------------------- +// VideoDetailsLabel::VideoDetailsLabel +// @see header +//--------------------------------------------------------------- +VideoDetailsLabel::VideoDetailsLabel(QGraphicsItem *parent) + : HbLabel( parent ) +{ + FUNC_LOG; +} + +//--------------------------------------------------------------- +// VideoDetailsLabel::~VideoDetailsLabel +// @see header +//--------------------------------------------------------------- +VideoDetailsLabel::~VideoDetailsLabel() +{ + FUNC_LOG; +} + +//--------------------------------------------------------------- +// VideoDetailsLabel::click +// @see header +//--------------------------------------------------------------- +void VideoDetailsLabel::click() +{ + FUNC_LOG; + emit clicked(true); +} + +//--------------------------------------------------------------- +// VideoDetailsLabel::init +// @see header +//--------------------------------------------------------------- +void VideoDetailsLabel::mousePressEvent(QGraphicsSceneMouseEvent *event) +{ + FUNC_LOG; + Q_UNUSED(event); + emit clicked(true); +} + +// EOF