videoplayback/videoplaybackview/tsrc/testprogressbar/stub/src/hbglobal.cpp
changeset 49 824471cb468a
equal deleted inserted replaced
44:518105d52e45 49:824471cb468a
       
     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:  class for HbGlobal
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version:  1 %
       
    19 
       
    20 
       
    21 
       
    22 #include "hbglobal.h"
       
    23 #include <qstring>
       
    24 
       
    25 
       
    26 QString hbTrId( QString string, int n )
       
    27 {
       
    28     Q_UNUSED( n );
       
    29 
       
    30     QString loc = "";
       
    31 
       
    32 
       
    33     if ( string == "txt_videos_slidervalue_l1l2l3_2" )
       
    34     {
       
    35         loc = "%L1:%L2:%L3";
       
    36     }
       
    37     else if ( string == "txt_videos_slidervalue_l1l2" )
       
    38     {
       
    39         loc = "%L1:%L2";
       
    40     }
       
    41     return loc;
       
    42 }
       
    43 
       
    44 //End of file