CMsgInfoMessageInfoDialog Class Reference
class CMsgInfoMessageInfoDialog : public CBase |
Class which displays a message info dialog for particular message types
Inherits from
- CMsgInfoMessageInfoDialog
Private Member Functions |
---|
| CMsgInfoMessageInfoDialog() |
void | AddToqueryDialogBuf(HBufC *, const TDesC &, const TDesC &, TBool) |
void | ConstructL() |
HBufC * | ConstructLabelStrAndCalculateNeededSpaceLC(TInt, const TPtrC &, TInt &, const CEikonEnv *) |
void | DoNumberConversion(HBufC *, TPtrC &) |
void | GetFormattedTimeAndDateStringsL(TTime &, TDes &, TDes &, const CEikonEnv *) |
HBufC * | GroupPhoneNumberAndDoLangSpecificNumberConversionL(const TDesC &) |
void | SetInfoArrayL(TMsgInfoMessageInfoData &) |
void | SetStringToPointerDescriptor(HBufC *, TPtrC &) |
Constructor & Destructor Documentation
CMsgInfoMessageInfoDialog()
CMsgInfoMessageInfoDialog | ( | ) | [private] |
~CMsgInfoMessageInfoDialog()
~CMsgInfoMessageInfoDialog | ( | ) | |
Member Functions Documentation
AddToqueryDialogBuf(HBufC *, const TDesC &, const TDesC &, TBool)
void | AddToqueryDialogBuf | ( | HBufC * | aQueryDialogBuf, |
| const TDesC & | aLabelText, |
| const TDesC & | aFieldText, |
| TBool | aFirstItem |
| ) | const [private] |
Add label string and fiels string to buffer string aQueryDialogBuf. This buffer string is shown in query dialog after all label and filed strings are inserted to buffer string.
ConstructL()
void | ConstructL | ( | ) | [private] |
ConstructLabelStrAndCalculateNeededSpaceLC(TInt, const TPtrC &, TInt &, const CEikonEnv *)
HBufC * | ConstructLabelStrAndCalculateNeededSpaceLC | ( | TInt | aLabelResourceId, |
| const TPtrC & | aFieldText, |
| TInt & | aNeededSpace, |
| const CEikonEnv * | aEikonEnv |
| ) | const [private] |
Construct label string and calculate how much space label string and field string and extra marks need and add this needed space to "aNeededSpace" parameter.
DoNumberConversion(HBufC *, TPtrC &)
void | DoNumberConversion | ( | HBufC * | aFieldString, |
| TPtrC & | aFieldData |
| ) | const [private] |
Convert between arabic-indic digits and european digits based on existing language setting. So it'll convert any digit from the string to use either european digits or arabic-indic digits based on current settings.
ExecuteLD(TMsgInfoMessageInfoData &, TMessageInfoType)
Show the message info dialog.
GetFormattedTimeAndDateStringsL(TTime &, TDes &, TDes &, const CEikonEnv *)
void | GetFormattedTimeAndDateStringsL | ( | TTime & | aUTCtime, |
| TDes & | aDateBuf, |
| TDes & | aTimeBuf, |
| const CEikonEnv * | aEikonEnv |
| ) | const [private] |
Creates formatted date and time strings and return these strings in parameters aDateBuf and aTimeBuf. Function get UTC time in parameter aUTCtime and constructs date and time strings with this UTC time value.
GroupPhoneNumberAndDoLangSpecificNumberConversionL(const TDesC &)
HBufC * | GroupPhoneNumberAndDoLangSpecificNumberConversionL | ( | const TDesC & | aFieldString | ) | [private] |
Message info may get phone names and numbers in string which is in form: Timo33 Paajanen44<0505877430>;Simo55 Paajanen66<0505866430> and so on... It must be possible to show this string so that only phone numbers get language spesific number conversion and number groupping. Name parts is displayed as they are in string. So in this example Timo33 Paajanen44 and Simo55 Paajanen66 is shown without lanquage spesific number conversion. Phone numbers 0505877430 and 0505866430 are number grouped and displayed after lanquage spesific number conversion. This method handles parameter string aFieldString this vay and return heap descriptor which contain handled string.
Parameters
const TDesC & aFieldString | |
SetInfoArrayL(TMsgInfoMessageInfoData &)
Construct the array of labels and text fields and add it to the listbox model.
SetStringToPointerDescriptor(HBufC *, TPtrC &)
void | SetStringToPointerDescriptor | ( | HBufC * | aFieldString, |
| TPtrC & | aFieldData |
| ) | const [private] |
Set HBufC string to pointer descriptor
Member Enumerations Documentation
Enum TMessageInfoType
Enumerators
EEmailEditor | |
EEmailViewer | |
ESmsEditor | |
ESmsViewer | |
EBiosEditor | |
EBiosViewer | |
EMmsEditor | |
EMmsViewer | |
Member Data Documentation
TMessageInfoType
iMessageType
TBool
iPriorityFeatureSupported
TBool
| iPriorityFeatureSupported | [private] |
RConeResourceLoader iResources
RConeResourceLoader | iResources | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.