equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008 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: Custom listbox component for the contact list |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef _CVIMPSTUISINGLESTYLELISTBOX_H |
|
20 #define _CVIMPSTUISINGLESTYLELISTBOX_H |
|
21 |
|
22 |
|
23 #include <aknlists.h> |
|
24 |
|
25 // FORWARD DECLARATIONS |
|
26 class MVIMPSTProcessArray; |
|
27 class CVIMPSTUiListBoxModel; |
|
28 |
|
29 //CLASS DECLARATION |
|
30 /** |
|
31 * single style /1 line Custom listbox component for the contact list |
|
32 * |
|
33 * Allows to change the model for the listbox. |
|
34 * This is done because we have to customize the behaviour of the find pane, |
|
35 * so that filtered list shows also the contact lists where the searched |
|
36 * contacts exist. |
|
37 * |
|
38 * @lib vimpstui.dll |
|
39 * @since S60 v5.0 |
|
40 */ |
|
41 class CVIMPSTUiSingleStyleListBox : public CAknSingleGraphicStyleListBox |
|
42 |
|
43 { |
|
44 |
|
45 public://CAknColumnListBox |
|
46 |
|
47 /** |
|
48 * Creates the model |
|
49 * @see CAknColumnListBox |
|
50 */ |
|
51 void CreateModelL(); |
|
52 |
|
53 |
|
54 public: // New functions |
|
55 |
|
56 /** |
|
57 * Give listbox a direct access to contact list model. |
|
58 * @param aContactListModel Model of this listbox |
|
59 */ |
|
60 void SetContactListModelL(MVIMPSTProcessArray& aItemModel ); |
|
61 |
|
62 |
|
63 }; |
|
64 |
|
65 |
|
66 #endif // _CVIMPSTUISINGLESTYLELISTBOX_H |