cellular/psuinotes/inc/psuiutils.h
changeset 50 2313cb430f28
parent 32 1f002146abb4
child 53 25b8d29b7c59
equal deleted inserted replaced
45:61f927bc9441 50:2313cb430f28
     1 /*
     1 /*
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2  * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3  * All rights reserved.
     3  * All rights reserved.
     4  * This component and the accompanying materials are made available
     4  * This component and the accompanying materials are made available
     5  * under the terms of "Eclipse Public License v1.0"
     5  * under the terms of "Eclipse Public License v1.0"
     6  * which accompanies this distribution, and is available
     6  * which accompanies this distribution, and is available
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    33     \brief The static functionality.
    33     \brief The static functionality.
    34  */
    34  */
    35 class PSUINOTES_EXPORT PsUiUtils : public QObject
    35 class PSUINOTES_EXPORT PsUiUtils : public QObject
    36 {
    36 {
    37     Q_OBJECT
    37     Q_OBJECT
    38 
    38     
       
    39 public:
       
    40     enum BasicServiceGroups
       
    41     {
       
    42         Unknown = -1, //this is not part of GSM standard
       
    43         // Phone settings updates this automatically to ETelephony or to EAltTele,
       
    44         // depending on if ALS is supported, and which line is active.
       
    45         AllTeleAndBearer = 0,
       
    46         AllTele = 10,
       
    47         Telephony = 11,
       
    48         AllDataTele = 12,
       
    49         Fax = 13,
       
    50         Sms = 16,
       
    51         AllDataExSms = 18, //voice broadcast in gsm 02.30 v. 7.1.0
       
    52         AllTeleExcSms = 19,
       
    53      
       
    54         AllPlmnTele = 50,
       
    55         PlmnTele1 = 51,
       
    56         PlmnTele2 = 52,
       
    57         PlmnTele3 = 53,
       
    58         PlmnTele4 = 54,
       
    59         PlmnTele5 = 55,
       
    60         PlmnTele6 = 56,
       
    61         PlmnTele7 = 57,
       
    62         PlmnTele8 = 58,
       
    63         PlmnTele9 = 59,
       
    64         PlmnTeleA = 60,
       
    65         PlmnTeleB = 61,
       
    66         PlmnTeleC = 62,
       
    67         PlmnTeleD = 63,
       
    68         PlmnTeleE = 64,
       
    69         PlmnTeleF = 65,
       
    70      
       
    71         AllBearer = 20,
       
    72         AllAsync = 21,
       
    73         AllSync = 22,
       
    74         SyncData = 24,
       
    75         AsyncData = 25,
       
    76         PacketData = 26,
       
    77         PadAccess = 27,
       
    78         AllPlmnBearer = 70,
       
    79         PlmnBearerServ1 = 71,
       
    80         PlmnBearerServ2 = 72,
       
    81         PlmnBearerServ3 = 73,
       
    82         PlmnBearerServ4 = 74,
       
    83         PlmnBearerServ5 = 75,
       
    84         PlmnBearerServ6 = 76,
       
    85         PlmnBearerServ7 = 77,
       
    86         PlmnBearerServ8 = 78,
       
    87         PlmnBearerServ9 = 79,
       
    88         PlmnBearerServA = 80,
       
    89         PlmnBearerServB = 81,
       
    90         PlmnBearerServC = 82,
       
    91         PlmnBearerServD = 83,
       
    92         PlmnBearerServE = 84,
       
    93         PlmnBearerServF = 85,
       
    94      
       
    95         AltTele = 89
       
    96     // no ui note support
       
    97     };
       
    98     
    39 public:
    99 public:
    40     /*!
   100     /*!
    41       Error code text conversion
   101       Error code text conversion
    42       */
   102       */
    43     static bool errorCodeTextMapping(const int errorcode, QString &errorText);
   103     static bool errorCodeTextMapping(const int errorcode, QString &errorText);