videoplayback/hbvideoplaybackview/tsrc/testprogressbar/stub/src/hblabel.cpp
changeset 36 8aed59de29f9
parent 35 3738fe97f027
child 37 4eb2df7f7cbe
equal deleted inserted replaced
35:3738fe97f027 36:8aed59de29f9
     1 /*
       
     2 * Copyright (c) 2010 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:  Implementation of HbLabel
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version:  1 %
       
    19 
       
    20 
       
    21 #include "hblabel.h"
       
    22 
       
    23 // -------------------------------------------------------------------------------------------------
       
    24 // HbPushButton::HbPushButton
       
    25 // -------------------------------------------------------------------------------------------------
       
    26 //
       
    27 HbLabel::HbLabel()
       
    28 {
       
    29 }
       
    30 
       
    31 // -------------------------------------------------------------------------------------------------
       
    32 // HbLabel::~HbLabel
       
    33 // -------------------------------------------------------------------------------------------------
       
    34 //
       
    35 HbLabel::~HbLabel()
       
    36 {
       
    37 }
       
    38 
       
    39 // -------------------------------------------------------------------------------------------------
       
    40 // HbLabel::setVisible
       
    41 // -------------------------------------------------------------------------------------------------
       
    42 //
       
    43 void HbLabel::setVisible( bool visible )
       
    44 {
       
    45     mVisible = visible;
       
    46 }
       
    47 
       
    48 // -------------------------------------------------------------------------------------------------
       
    49 // HbLabel::setPlainText
       
    50 // -------------------------------------------------------------------------------------------------
       
    51 //
       
    52 void HbLabel::setPlainText(const QString &text)
       
    53 {
       
    54     mTextSet = true;
       
    55     mLabelText = text;
       
    56 }
       
    57 
       
    58 // -------------------------------------------------------------------------------------------------
       
    59 // HbLabel::isVisible
       
    60 // -------------------------------------------------------------------------------------------------
       
    61 //
       
    62 bool HbLabel::isVisible()
       
    63 {
       
    64     return mVisible;
       
    65 }
       
    66 
       
    67 
       
    68 // End of file