phoneapp/phoneuiutils/src/tphonecmdparamcallheaderdata.cpp
changeset 21 92ab7f8d0eab
parent 0 5f000ab63145
child 22 6bb1b21d2484
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
    37     iNumberType( 0 ),
    37     iNumberType( 0 ),
    38     iCiphering( EFalse ),
    38     iCiphering( EFalse ),
    39     iCLIText( KNullDesC ),
    39     iCLIText( KNullDesC ),
    40     iCNAPText( KNullDesC ),
    40     iCNAPText( KNullDesC ),
    41     iPicture( KNullDesC ),
    41     iPicture( KNullDesC ),
    42     iCallFlag( CBubbleManager::ENormal ),
    42 // <-- QT PHONE START -->         
       
    43 //    iCallFlag( CBubbleManager::ENormal ),
       
    44 // <-- QT PHONE END -->         
    43     iLine2 ( EFalse ),
    45     iLine2 ( EFalse ),
    44     iThumbnail( NULL ),
    46     iThumbnail( NULL ),
    45     iCallerText( KNullDesC ),
    47     iCallerText( KNullDesC ),
    46     iParticipantListCLI( EPhoneParticipantCLIText ),
    48     iParticipantListCLI( EPhoneParticipantCLIText ),
    47     iCipheringIndicatorAllowed( ETrue ),
    49     iCipheringIndicatorAllowed( ETrue ),
    48     iContactLink( KNullDesC8 ),
    50     iContactLink( KNullDesC8 ),
    49     iRemotePhoneNumber( KNullDesC )
    51     iRemotePhoneNumber( KNullDesC )
       
    52 // <-- QT PHONE START -->         
       
    53     ,iDiverted( EFalse )
       
    54 // <-- QT PHONE END -->         
    50     {
    55     {
    51     iParamId = EPhoneParamIdCallHeaderData;
    56     iParamId = EPhoneParamIdCallHeaderData;
    52     }
    57     }
    53 
    58 
    54 // ---------------------------------------------------------
    59 // ---------------------------------------------------------
    57 // (other items were commented in a header).
    62 // (other items were commented in a header).
    58 // ---------------------------------------------------------
    63 // ---------------------------------------------------------
    59 //
    64 //
    60 EXPORT_C void TPhoneCmdParamCallHeaderData::SetLabelText( 
    65 EXPORT_C void TPhoneCmdParamCallHeaderData::SetLabelText( 
    61    const TDesC& aLabelText )
    66    const TDesC& aLabelText )
    62 	{
    67     {
    63 	iLabelText = aLabelText;
    68     iLabelText = aLabelText;
    64 	}
    69     }
    65 
    70 
    66 // ---------------------------------------------------------
    71 // ---------------------------------------------------------
    67 // TPhoneCmdParamCallHeaderData::SetShortLabelText
    72 // TPhoneCmdParamCallHeaderData::SetShortLabelText
    68 // Sets the call header short label text
    73 // Sets the call header short label text
    69 // (other items were commented in a header).
    74 // (other items were commented in a header).
    70 // ---------------------------------------------------------
    75 // ---------------------------------------------------------
    71 //
    76 //
    72 EXPORT_C void TPhoneCmdParamCallHeaderData::SetShortLabelText( 
    77 EXPORT_C void TPhoneCmdParamCallHeaderData::SetShortLabelText( 
    73    const TDesC& aShortLabelText )
    78    const TDesC& aShortLabelText )
    74     {
    79     {
    75 	iShortLabelText = aShortLabelText;
    80     iShortLabelText = aShortLabelText;
    76     }
    81     }
    77 
    82 
    78 // ---------------------------------------------------------
    83 // ---------------------------------------------------------
    79 // TPhoneCmdParamCallHeaderData::SetCallState
    84 // TPhoneCmdParamCallHeaderData::SetCallState
    80 // Sets the call header call state
    85 // Sets the call header call state
   126 // (other items were commented in a header).
   131 // (other items were commented in a header).
   127 // ---------------------------------------------------------
   132 // ---------------------------------------------------------
   128 //
   133 //
   129 EXPORT_C void TPhoneCmdParamCallHeaderData::SetCLIText( 
   134 EXPORT_C void TPhoneCmdParamCallHeaderData::SetCLIText( 
   130    const TDesC& aCLIText,
   135    const TDesC& aCLIText,
   131    CBubbleManager::TPhoneClippingDirection aDirection )
   136 // <-- QT PHONE START -->         
       
   137    TPhoneTextClippingDirection aDirection )
       
   138 // <-- QT PHONE END -->         
   132    {
   139    {
   133    iCLIText = aCLIText;
   140    iCLIText = aCLIText;
   134    iCLITextClippingDirection = aDirection; 
   141    iCLITextClippingDirection = aDirection; 
   135    }
   142    }
   136 
   143 
   140 // (other items were commented in a header).
   147 // (other items were commented in a header).
   141 // ---------------------------------------------------------
   148 // ---------------------------------------------------------
   142 //
   149 //
   143 EXPORT_C void TPhoneCmdParamCallHeaderData::SetCNAPText( 
   150 EXPORT_C void TPhoneCmdParamCallHeaderData::SetCNAPText( 
   144    const TDesC& aCNAPText,
   151    const TDesC& aCNAPText,
   145    CBubbleManager::TPhoneClippingDirection aDirection )
   152 // <-- QT PHONE START -->         
       
   153    TPhoneTextClippingDirection aDirection )
       
   154 // <-- QT PHONE END -->         
   146    {
   155    {
   147    iCNAPText = aCNAPText;
   156    iCNAPText = aCNAPText;
   148    iCNAPTextClippingDirection = aDirection; 
   157    iCNAPTextClippingDirection = aDirection; 
   149    }
   158    }
   150 
   159 
   164 // TPhoneCmdParamCallHeaderData::SetCallFlag
   173 // TPhoneCmdParamCallHeaderData::SetCallFlag
   165 // Sets the call flag
   174 // Sets the call flag
   166 // (other items were commented in a header).
   175 // (other items were commented in a header).
   167 // ---------------------------------------------------------
   176 // ---------------------------------------------------------
   168 //
   177 //
   169 EXPORT_C void TPhoneCmdParamCallHeaderData::SetCallFlag(
   178 // <-- QT PHONE START -->         
   170     const CBubbleManager::TPhoneCallTypeFlags aCallFlag )
   179 EXPORT_C void TPhoneCmdParamCallHeaderData::SetDiverted(
   171     {
   180     TBool aDiverted )
   172     iCallFlag = aCallFlag;        
   181     {
   173     }
   182     iDiverted = aDiverted;        
       
   183     }
       
   184 // <-- QT PHONE END -->         
   174 
   185 
   175 // ---------------------------------------------------------
   186 // ---------------------------------------------------------
   176 // TPhoneCmdParamCallHeaderData::AddCallFlag
   187 // TPhoneCmdParamCallHeaderData::AddCallFlag
   177 // Adds the call flag
   188 // Adds the call flag
   178 // (other items were commented in a header).
   189 // (other items were commented in a header).
   179 // ---------------------------------------------------------
   190 // ---------------------------------------------------------
   180 //
   191 //
   181 EXPORT_C void TPhoneCmdParamCallHeaderData::AddCallFlag(
   192 // <-- QT PHONE START -->
       
   193 /*EXPORT_C void TPhoneCmdParamCallHeaderData::AddCallFlag(
   182     const CBubbleManager::TPhoneCallTypeFlags aCallFlag )
   194     const CBubbleManager::TPhoneCallTypeFlags aCallFlag )
   183     {
   195     {
   184     iCallFlag |= aCallFlag;
   196     iCallFlag |= aCallFlag;
   185     }
   197     }*/
       
   198 // <-- QT PHONE END -->
   186 
   199 
   187 // ---------------------------------------------------------
   200 // ---------------------------------------------------------
   188 // TPhoneCmdParamCallHeaderData::SetLine2
   201 // TPhoneCmdParamCallHeaderData::SetLine2
   189 // ---------------------------------------------------------
   202 // ---------------------------------------------------------
   190 //	
   203 //  
   191 EXPORT_C void TPhoneCmdParamCallHeaderData::SetLine2(
   204 EXPORT_C void TPhoneCmdParamCallHeaderData::SetLine2(
   192     TBool aLine2 )
   205     TBool aLine2 )
   193    {
   206    {
   194    iLine2 = aLine2;
   207    iLine2 = aLine2;
   195    }
   208    }
   275 // TPhoneCmdParamCallHeaderData::CLITextClippingDirection
   288 // TPhoneCmdParamCallHeaderData::CLITextClippingDirection
   276 // Returns the clipping direction of the CLI text.
   289 // Returns the clipping direction of the CLI text.
   277 // (other items were commented in a header).
   290 // (other items were commented in a header).
   278 // ---------------------------------------------------------
   291 // ---------------------------------------------------------
   279 //
   292 //
   280 EXPORT_C CBubbleManager::TPhoneClippingDirection 
   293 // <-- QT PHONE START -->         
       
   294 EXPORT_C TPhoneCmdParamCallHeaderData::TPhoneTextClippingDirection 
       
   295 // <-- QT PHONE END -->         
   281 TPhoneCmdParamCallHeaderData::CLITextClippingDirection() const
   296 TPhoneCmdParamCallHeaderData::CLITextClippingDirection() const
   282     {
   297     {
   283     return iCLITextClippingDirection;
   298     return iCLITextClippingDirection;
   284     }
   299     }
   285 
   300 
   287 // TPhoneCmdParamCallHeaderData::CNAPTextClippingDirection
   302 // TPhoneCmdParamCallHeaderData::CNAPTextClippingDirection
   288 // Returns the clipping direction of the CNAP text.
   303 // Returns the clipping direction of the CNAP text.
   289 // (other items were commented in a header).
   304 // (other items were commented in a header).
   290 // ---------------------------------------------------------
   305 // ---------------------------------------------------------
   291 //
   306 //
   292 EXPORT_C CBubbleManager::TPhoneClippingDirection 
   307 // <-- QT PHONE START -->         
       
   308 EXPORT_C TPhoneCmdParamCallHeaderData::TPhoneTextClippingDirection 
       
   309 // <-- QT PHONE END -->         
   293 TPhoneCmdParamCallHeaderData::CNAPTextClippingDirection() const
   310 TPhoneCmdParamCallHeaderData::CNAPTextClippingDirection() const
   294     {
   311     {
   295     return iCNAPTextClippingDirection;
   312     return iCNAPTextClippingDirection;
   296     }
   313     }
   297 
   314 
   321 // TPhoneCmdParamCallHeaderData::CallFlag
   338 // TPhoneCmdParamCallHeaderData::CallFlag
   322 // Returns the call flag
   339 // Returns the call flag
   323 // (other items were commented in a header).
   340 // (other items were commented in a header).
   324 // ---------------------------------------------------------
   341 // ---------------------------------------------------------
   325 //
   342 //
   326 EXPORT_C TUint32
   343 // <-- QT PHONE START -->         
   327     TPhoneCmdParamCallHeaderData::CallFlag() const
   344 EXPORT_C TBool TPhoneCmdParamCallHeaderData::Diverted() const
   328     {
   345     {
   329     return iCallFlag;        
   346     return iDiverted;        
   330     }
   347     }
       
   348 // <-- QT PHONE END -->         
   331 
   349 
   332 // ---------------------------------------------------------
   350 // ---------------------------------------------------------
   333 // TPhoneCmdParamCallHeaderData::Line2
   351 // TPhoneCmdParamCallHeaderData::Line2
   334 // Returns the call header line2
   352 // Returns the call header line2
   335 // (other items were commented in a header).
   353 // (other items were commented in a header).