ui/detailscustomwidget/detailsnamelabel/src/glxdetailsnamelabel.cpp
changeset 52 a3a4c0de738e
parent 50 a0f57508af73
child 54 0f0f3f26f787
--- a/ui/detailscustomwidget/detailsnamelabel/src/glxdetailsnamelabel.cpp	Sat Jul 10 00:59:39 2010 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-/*
-* 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:   ?Description
-*
-*/
-
-
-#include <hblabel.h>
-#include "glxdetailsnamelabel.h"
-#include <QEvent>
-#include <QDebug>
-
-//--------------------------------------------------------------------------------------------------------------------------------------------
-//mousePressEvent
-//--------------------------------------------------------------------------------------------------------------------------------------------
-void GlxDetailsNameLabel::mousePressEvent(QGraphicsSceneMouseEvent *event)
-{
-    Q_UNUSED(event)
-}
-
-//--------------------------------------------------------------------------------------------------------------------------------------------
-//mouseReleaseEvent
-//--------------------------------------------------------------------------------------------------------------------------------------------
-void GlxDetailsNameLabel::mouseReleaseEvent (QGraphicsSceneMouseEvent *event) 
-{
-    qDebug("GlxDetailsNameLabel::mouseReleaseEvent");
-    Q_UNUSED(event)  
-    emit labelPressed();
-}
-
-//--------------------------------------------------------------------------------------------------------------------------------------------
-//GlxDetailsNameLabel
-//--------------------------------------------------------------------------------------------------------------------------------------------
-GlxDetailsNameLabel::GlxDetailsNameLabel(QGraphicsItem *parent) : HbLabel( parent )
-{
-    qDebug("GlxDetailsNameLabel::GlxDetailsNameLabel");
-     setTextWrapping(Hb::TextWordWrap);
-     setAlignment(Qt::AlignHCenter);
-}
-
-//--------------------------------------------------------------------------------------------------------------------------------------------
-//~GlxDetailsCustomLabel
-//--------------------------------------------------------------------------------------------------------------------------------------------
-GlxDetailsNameLabel::~GlxDetailsNameLabel()
-{
-
-}
-
-//--------------------------------------------------------------------------------------------------------------------------------------------
-//setItemText
-//--------------------------------------------------------------------------------------------------------------------------------------------
-void GlxDetailsNameLabel::setItemText( const QString &text )
-{
-    qDebug("GlxDetailsNameLabel::setItemText");
-    setHtml(text);
-}