app/inc/mpmtpinfolink.h
changeset 37 eb79a7c355bf
equal deleted inserted replaced
36:a0afa279b8fe 37:eb79a7c355bf
       
     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: Music Player MTP info link.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MPMTPINFOLINK_H
       
    20 #define MPMTPINFOLINK_H
       
    21 
       
    22 #include <hblabel.h>
       
    23 
       
    24 class QGraphicsSceneMouseEvent;
       
    25 
       
    26 class MpMtpInfoLink : public HbLabel
       
    27 {
       
    28     Q_OBJECT
       
    29 
       
    30 public:
       
    31     explicit MpMtpInfoLink();
       
    32     virtual ~MpMtpInfoLink();
       
    33 
       
    34 protected:
       
    35     void mousePressEvent( QGraphicsSceneMouseEvent *event );
       
    36     void mouseReleaseEvent( QGraphicsSceneMouseEvent *event );
       
    37 
       
    38 private:
       
    39     void setMtpInfoText();
       
    40 
       
    41 };
       
    42 
       
    43 #endif // MPMTPINFOLINK_H
       
    44