|
1 /* |
|
2 * Copyright (c) 2009 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: Cpp file for CGSConnSettingsSelectionDlg class. |
|
15 * |
|
16 */ |
|
17 |
|
18 // Includes |
|
19 #include "gsconnsettingsselectiondlg.h" |
|
20 #include <StringLoader.h> |
|
21 #include <eiklbo.h> |
|
22 #include <gulalign.h> |
|
23 |
|
24 #include <gsconnsettingspluginrsc.rsg> |
|
25 |
|
26 // Constants |
|
27 |
|
28 |
|
29 // ========================= MEMBER FUNCTIONS ================================ |
|
30 |
|
31 |
|
32 // --------------------------------------------------------------------------- |
|
33 // CGSConnSettingsSelectionDlg::NewL |
|
34 // --------------------------------------------------------------------------- |
|
35 // |
|
36 CGSConnSettingsSelectionDlg* CGSConnSettingsSelectionDlg::NewL( TInt aResourceID, |
|
37 TInt& aCurrentSelectionIndex, |
|
38 const MDesCArray* aItemArray ) |
|
39 { |
|
40 CGSConnSettingsSelectionDlg* self = new( ELeave ) CGSConnSettingsSelectionDlg( |
|
41 aResourceID, |
|
42 aCurrentSelectionIndex, |
|
43 aItemArray ); |
|
44 return self; |
|
45 } |
|
46 |
|
47 // --------------------------------------------------------------------------- |
|
48 // CGSConnSettingsSelectionDlg::CGSConnSettingsSelectionDlg |
|
49 // --------------------------------------------------------------------------- |
|
50 // |
|
51 CGSConnSettingsSelectionDlg::CGSConnSettingsSelectionDlg( |
|
52 TInt aResourceID, |
|
53 TInt& aCurrentSelectionIndex, |
|
54 const MDesCArray* aItemArray ) |
|
55 : CAknRadioButtonSettingPage( |
|
56 aResourceID, |
|
57 aCurrentSelectionIndex, |
|
58 aItemArray ) |
|
59 { |
|
60 |
|
61 } |
|
62 |
|
63 // --------------------------------------------------------------------------- |
|
64 // CGSConnSettingsSelectionDlg::~CGSConnSettingsSelectionDlg |
|
65 // --------------------------------------------------------------------------- |
|
66 // |
|
67 CGSConnSettingsSelectionDlg::~CGSConnSettingsSelectionDlg() |
|
68 { |
|
69 } |
|
70 |
|
71 // --------------------------------------------------------------------------- |
|
72 // CGSConnSettingsSelectionDlg::OfferKeyEventL |
|
73 // --------------------------------------------------------------------------- |
|
74 // |
|
75 TKeyResponse CGSConnSettingsSelectionDlg::OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType) |
|
76 { |
|
77 TKeyResponse response( EKeyWasNotConsumed ); |
|
78 response = CAknRadioButtonSettingPage::OfferKeyEventL( aKeyEvent, aType ); |
|
79 return response; |
|
80 } |
|
81 |
|
82 // --------------------------------------------------------------------------- |
|
83 // CGSConnSettingsSelectionDlg::HandleListBoxEventL |
|
84 // --------------------------------------------------------------------------- |
|
85 // |
|
86 void CGSConnSettingsSelectionDlg::HandleListBoxEventL( |
|
87 CEikListBox* aListBox, |
|
88 TListBoxEvent aEventType ) |
|
89 { |
|
90 CAknRadioButtonSettingPage::HandleListBoxEventL( aListBox, aEventType ); |
|
91 } |
|
92 |
|
93 // End of file |
|
94 |