61 // </qmail> |
61 // </qmail> |
62 /** |
62 /** |
63 * Two-phased constructor. |
63 * Two-phased constructor. |
64 * |
64 * |
65 */ |
65 */ |
66 IMPORT_C static CFSMailAddress* NewLC(); |
66 IMPORT_C static CFSMailAddress* NewLC(); |
67 |
67 |
68 /** |
68 /** |
69 * destructor |
69 * destructor |
70 */ |
70 */ |
71 IMPORT_C ~CFSMailAddress(); |
71 IMPORT_C ~CFSMailAddress(); |
72 |
72 |
73 /** |
73 /** |
74 * email address accessor |
74 * email address accessor |
75 * |
75 * |
76 * @return email address owned by class |
76 * @return email address owned by class |
77 */ |
77 */ |
78 IMPORT_C TDesC& GetEmailAddress() const; |
78 IMPORT_C TDesC& GetEmailAddress() const; |
79 |
79 |
80 /** |
80 /** |
81 * email address mutator |
81 * email address mutator |
82 * |
82 * |
83 * @param aAddress email address to be stored |
83 * @param aAddress email address to be stored |
84 */ |
84 */ |
85 IMPORT_C void SetEmailAddress( const TDesC& aAddress ); |
85 IMPORT_C void SetEmailAddress(const TDesC& aAddress); |
86 |
86 |
87 /** |
87 /** |
88 * display name accessor |
88 * display name accessor |
89 * |
89 * |
90 * @return stored display name owned by class |
90 * @return stored display name owned by class |
91 */ |
91 */ |
92 IMPORT_C TDesC& GetDisplayName() const; |
92 IMPORT_C TDesC& GetDisplayName() const; |
93 |
93 |
94 /** |
94 /** |
95 * display name mutator |
95 * display name mutator |
96 * |
96 * |
97 * @param aDisplayName display name to be stored |
97 * @param aDisplayName display name to be stored |
98 */ |
98 */ |
99 IMPORT_C void SetDisplayName( const TDesC& aDisplayName ); |
99 IMPORT_C void SetDisplayName(const TDesC& aDisplayName); |
100 |
100 |
101 /** |
101 /** |
102 * returns the NmAddress object |
102 * returns the NmAddress object |
103 * |
103 * |
104 * @return NmAddress |
104 * @return NmAddress |
113 * constructor |
113 * constructor |
114 */ |
114 */ |
115 CFSMailAddress(); |
115 CFSMailAddress(); |
116 // </qmail> |
116 // </qmail> |
117 |
117 |
118 /** |
118 |
|
119 /** |
119 * Two-phased constructor |
120 * Two-phased constructor |
120 */ |
121 */ |
121 void ConstructL(); |
122 void ConstructL(); |
122 |
123 |
123 /** |
124 /** |
124 * Two-phased constructor |
125 * Two-phased constructor |
125 */ |
126 */ |
126 // <qmail> |
127 // <qmail> |
127 void ConstructL( const NmAddress& aNmAddress ); |
128 void ConstructL( const NmAddress& aNmAddress ); |
128 // </qmail> |
129 // </qmail> |
129 |
130 |
130 private: // data |
131 private: // data |
131 |
132 |
132 /** |
133 // <qmail> |
|
134 /** |
133 * email address - pointer descriptor to access QString object |
135 * email address - pointer descriptor to access QString object |
134 */ |
136 */ |
135 mutable TPtrC iEmailAddressPtr; |
137 mutable TPtrC iEmailAddressPtr; |
136 |
138 |
137 /** |
139 /** |
138 * display name - pointer descriptor to access QString object |
140 * display name - pointer descriptor to access QString object |
139 */ |
141 */ |
140 mutable TPtrC iDisplayNamePtr; |
142 mutable TPtrC iDisplayNamePtr; |
141 |
143 |
142 /** |
144 /** |
143 * Reference to QT side of the address data object. |
145 * Reference to QT side of the address data object. |
144 */ |
146 */ |
145 // <qmail> |
|
146 QExplicitlySharedDataPointer<NmAddressPrivate> iNmPrivateAddress; |
147 QExplicitlySharedDataPointer<NmAddressPrivate> iNmPrivateAddress; |
147 // </qmail> |
148 // </qmail> |
148 }; |
149 }; |
149 |
150 |
150 #endif |
151 #endif |