0
|
1 |
/*
|
|
2 |
* Copyright (c) 2007 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: This class is for accessing the user selected item texts from
|
|
15 |
settingpage.
|
|
16 |
*
|
|
17 |
*/
|
|
18 |
|
|
19 |
|
|
20 |
#ifndef ECMTGUISETTINGITEM_H
|
|
21 |
#define ECMTGUISETTINGITEM_H
|
|
22 |
|
|
23 |
#include <aknsettingitemlist.h>
|
|
24 |
#include "ecmtguisettinglist.h"
|
|
25 |
|
|
26 |
/**
|
|
27 |
* This class is for accessing the user selected item texts from
|
|
28 |
* settingpage.
|
|
29 |
*
|
|
30 |
* @since S60 v3.1
|
|
31 |
*/
|
|
32 |
class CEcmtGuiSettingItem : public CAknEnumeratedTextPopupSettingItem
|
|
33 |
{
|
|
34 |
|
|
35 |
public:
|
|
36 |
|
|
37 |
/**
|
|
38 |
* C++ default constructor.
|
|
39 |
*/
|
|
40 |
CEcmtGuiSettingItem( CEcmtGuiSettingList& aSettingList,
|
|
41 |
TInt aIdentifier, TInt& aValue );
|
|
42 |
|
|
43 |
/**
|
|
44 |
* Destructor.
|
|
45 |
*/
|
|
46 |
~CEcmtGuiSettingItem();
|
|
47 |
|
|
48 |
public: // from CAknSettingItem
|
|
49 |
|
|
50 |
/**
|
|
51 |
* From CAknSettingItem.
|
|
52 |
* Handles setting page events. From here it is possible to access
|
|
53 |
* to selected item texts after OK softkey pressing.
|
|
54 |
*
|
|
55 |
* @param aSettingPage The setting page.
|
|
56 |
* @param aEventType The event.
|
|
57 |
*/
|
|
58 |
void HandleSettingPageEventL( CAknSettingPage* aSettingPage,
|
|
59 |
TAknSettingPageEvent aEventType );
|
|
60 |
|
|
61 |
private: //Data
|
|
62 |
|
|
63 |
/**
|
|
64 |
* Reference to CEcmtGuiSettingList object. Needed from
|
|
65 |
* HandleSettingPageEventL
|
|
66 |
*/
|
|
67 |
CEcmtGuiSettingList& iSettingList;
|
|
68 |
|
|
69 |
};
|
|
70 |
|
|
71 |
#endif //ECMTGUISETTINGITEM_H
|