equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Handles title pane in mce's settings dialog |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __MCESETTINGSTITLEPANEHANDLERDIALOG_H__ |
|
22 #define __MCESETTINGSTITLEPANEHANDLERDIALOG_H__ |
|
23 |
|
24 // INCLUDES |
|
25 |
|
26 #include <AknDialog.h> |
|
27 #include <eiklbo.h> |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 */ |
|
33 class CMceSettingsTitlePaneHandlerDialog : |
|
34 public CAknDialog, |
|
35 public MEikListBoxObserver |
|
36 { |
|
37 public: |
|
38 |
|
39 /** |
|
40 * Constructor. |
|
41 */ |
|
42 CMceSettingsTitlePaneHandlerDialog(); |
|
43 |
|
44 /** |
|
45 * Destructor. |
|
46 */ |
|
47 virtual ~CMceSettingsTitlePaneHandlerDialog(); |
|
48 |
|
49 protected: |
|
50 |
|
51 /** |
|
52 * Stores current title pane text and replaces it with new one |
|
53 * @param aTitleText new title pane text |
|
54 */ |
|
55 void StoreTitleTextAndSetNewL( TInt aResourceId ); |
|
56 |
|
57 /** |
|
58 * Stores current title pane text and replaces it with new one |
|
59 * @param aTitleText new title pane text |
|
60 */ |
|
61 void StoreTitleTextAndSetNewL( const TDesC& aTitleText ); |
|
62 |
|
63 /** |
|
64 * Restores title pane text with the text stored in |
|
65 * StoreTitleTextAndSetNewL. |
|
66 */ |
|
67 void RestoreTitleTextL(); |
|
68 |
|
69 private: |
|
70 HBufC* iOldTitleText; |
|
71 }; |
|
72 |
|
73 #endif // __MCESETTINGSTITLEPANEHANDLERDIALOG_H__ |