|
1 /* |
|
2 * Copyright (c) 2002 - 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: test AknPopupField.h |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDES |
|
20 #include <coecobs.h> |
|
21 #include <aknpopupheadingpane.h> |
|
22 #include <barsread.h> |
|
23 #include <coemain.h> |
|
24 #include <testsdkpopups.rsg> |
|
25 |
|
26 #include "testsdkpopupscpf.h" |
|
27 // ============================ MEMBER FUNCTIONS =============================== |
|
28 // ----------------------------------------------------------------------------- |
|
29 // CTestSDKPopupsCPF::HandleControlEventL |
|
30 // ----------------------------------------------------------------------------- |
|
31 void CTestSDKPopupsCPF::HandleControlEventL( CCoeControl* aControl,TCoeEvent aEvent ) |
|
32 { |
|
33 CAknPopupField::HandleControlEventL( aControl, aEvent ); |
|
34 } |
|
35 |
|
36 // ----------------------------------------------------------------------------- |
|
37 // CTestSDKPopupsCPF::CTestSDKPopupsCPF |
|
38 // ----------------------------------------------------------------------------- |
|
39 CTestSDKPopupsCPF::CTestSDKPopupsCPF():CAknPopupField() |
|
40 { |
|
41 |
|
42 } |
|
43 |
|
44 // ----------------------------------------------------------------------------- |
|
45 // CTestSDKPopupsCPF::~CTestSDKPopupsCPF |
|
46 // ----------------------------------------------------------------------------- |
|
47 CTestSDKPopupsCPF::~CTestSDKPopupsCPF() |
|
48 { |
|
49 |
|
50 } |
|
51 |
|
52 // ----------------------------------------------------------------------------- |
|
53 // CTestSDKPopupsCPF::ProcessCommandL |
|
54 // ----------------------------------------------------------------------------- |
|
55 void CTestSDKPopupsCPF::ProcessCommandL( TInt aCommandId ) |
|
56 { |
|
57 CAknPopupField::ProcessCommandL( aCommandId ); |
|
58 } |
|
59 |
|
60 // ----------------------------------------------------------------------------- |
|
61 // CTestSDKPopupsCPF::HandleListBoxEventL |
|
62 // ----------------------------------------------------------------------------- |
|
63 void CTestSDKPopupsCPF::HandleListBoxEventL( CEikListBox* aListBox, TListBoxEvent aEventType ) |
|
64 { |
|
65 CAknPopupField::HandleListBoxEventL( aListBox, aEventType ); |
|
66 } |
|
67 |
|
68 // ----------------------------------------------------------------------------- |
|
69 // CTestSDKPopupsCPF::CountComponentControls |
|
70 // ----------------------------------------------------------------------------- |
|
71 TInt CTestSDKPopupsCPF::CountComponentControls() const |
|
72 { |
|
73 return CAknPopupField::CountComponentControls(); |
|
74 } |
|
75 |
|
76 // ----------------------------------------------------------------------------- |
|
77 // CTestSDKPopupsCPF::ComponentControl |
|
78 // ----------------------------------------------------------------------------- |
|
79 CCoeControl* CTestSDKPopupsCPF::ComponentControl(TInt aIndex) const |
|
80 { |
|
81 return CAknPopupField::ComponentControl( aIndex ); |
|
82 } |
|
83 |
|
84 // ----------------------------------------------------------------------------- |
|
85 // CTestSDKPopupsCPF::SizeChanged |
|
86 // ----------------------------------------------------------------------------- |
|
87 void CTestSDKPopupsCPF::SizeChanged() |
|
88 { |
|
89 CAknPopupField::SizeChanged(); |
|
90 } |
|
91 |
|
92 // ----------------------------------------------------------------------------- |
|
93 // CTestSDKPopupsCPF::FocusChanged |
|
94 // ----------------------------------------------------------------------------- |
|
95 void CTestSDKPopupsCPF::FocusChanged( TDrawNow aDrawNow ) |
|
96 { |
|
97 CAknPopupField::FocusChanged( aDrawNow ); |
|
98 } |
|
99 |
|
100 // ----------------------------------------------------------------------------- |
|
101 // CTestSDKPopupsCPF::Draw |
|
102 // ----------------------------------------------------------------------------- |
|
103 void CTestSDKPopupsCPF::Draw(const TRect& aRect) const |
|
104 { |
|
105 CAknPopupField::Draw( aRect ); |
|
106 } |
|
107 |
|
108 // ----------------------------------------------------------------------------- |
|
109 // CTestSDKPopupsCPF::MopSupplyObject |
|
110 // ----------------------------------------------------------------------------- |
|
111 TTypeUid::Ptr CTestSDKPopupsCPF::MopSupplyObject( TTypeUid aId ) |
|
112 { |
|
113 return CAknPopupField::MopSupplyObject( aId ); |
|
114 } |