diff -r 48e74db5d516 -r bbb98528c666 videocollection/videofiledetailsview/src/videodetailslabel.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/videocollection/videofiledetailsview/src/videodetailslabel.cpp Thu Apr 01 23:22:15 2010 +0300 @@ -0,0 +1,60 @@ +/* +* 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 +* +*/ + +#include "videodetailslabel.h" + +// SYSTEM INCLUDES +#include +#include + +//--------------------------------------------------------------- +// VideoDetailsLabel::VideoDetailsLabel +// @see header +//--------------------------------------------------------------- +VideoDetailsLabel::VideoDetailsLabel(QGraphicsItem *parent) : + HbLabel(parent) +{ +} + +//--------------------------------------------------------------- +// VideoDetailsLabel::~VideoDetailsLabel +// @see header +//--------------------------------------------------------------- +VideoDetailsLabel::~VideoDetailsLabel() +{ +} + +//--------------------------------------------------------------- +// VideoDetailsLabel::click +// @see header +//--------------------------------------------------------------- +void VideoDetailsLabel::click() +{ + emit clicked(true); +} + +//--------------------------------------------------------------- +// VideoDetailsLabel::init +// @see header +//--------------------------------------------------------------- +void VideoDetailsLabel::mousePressEvent(QGraphicsSceneMouseEvent *event) +{ + Q_UNUSED(event); + emit clicked(true); +} + +// EOF