1 /* |
1 /* |
2 * Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2002-2007 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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
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.symbianfoundation.org/legal/licencesv10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
8 * |
8 * |
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
20 #ifndef AKNMESSAGEQUERYCONTROL_H |
20 #ifndef AKNMESSAGEQUERYCONTROL_H |
21 #define AKNMESSAGEQUERYCONTROL_H |
21 #define AKNMESSAGEQUERYCONTROL_H |
22 |
22 |
23 // INCLUDES |
23 // INCLUDES |
24 |
24 |
25 #include <akncontrol.h> |
25 #include <AknControl.h> |
26 #include <aknutils.h> |
26 #include <AknUtils.h> |
27 |
27 |
28 // FORWARD DECLARATIONS |
28 // FORWARD DECLARATIONS |
29 |
29 |
30 class CEikEdwin; |
30 class CEikEdwin; |
31 class CEikScrollBarFrame; |
31 class CEikScrollBarFrame; |
222 * Dehighlights the old link and highlights the new one, if any is selected. |
222 * Dehighlights the old link and highlights the new one, if any is selected. |
223 * Checks for the valid range. |
223 * Checks for the valid range. |
224 * @return EFalse if out of range, the position was not changed. ETrue |
224 * @return EFalse if out of range, the position was not changed. ETrue |
225 * if the position was changed successfully. |
225 * if the position was changed successfully. |
226 */ |
226 */ |
227 TBool SetCurPos( TInt aCurPos ); |
227 TBool SetCurPosL( TInt aCurPos ); |
228 |
228 |
229 /** |
229 /** |
230 * Truncates the text that doesn't fit to the maximum lines number allowed for the |
230 * Truncates the text that doesn't fit to the maximum lines number allowed for the |
231 * list query layout (=3). The truncated text is expanded with the ellipsis character. |
231 * list query layout (=3). The truncated text is expanded with the ellipsis character. |
232 * |
232 * |
233 * If the message query doesn't use the list query layout (iListQLayout == EFalse), |
233 * If the message query doesn't use the list query layout (iListQLayout == EFalse), |
234 * this function returns immediately. |
234 * this function returns immediately. |
235 */ |
235 */ |
236 void TruncateTextForListQLayout( TDes& aMessage ); |
236 void TruncateTextForListQLayout( TDes& aMessage ); |
|
237 |
|
238 void DoSizeChangedL(); |
|
239 |
237 |
240 |
238 private: |
241 private: |
239 /* |
242 /* |
240 * changed editor from CEikEdwin to CEikRichTextEditor |
243 * changed editor from CEikEdwin to CEikRichTextEditor |
241 * @since 2.8 |
244 * @since 2.8 |