equal
deleted
inserted
replaced
1 /** |
|
2 * Copyright (c) 2010 Sasken Communication Technologies Ltd. |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the "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 * Chandradeep Gandhi, Sasken Communication Technologies Ltd - Initial contribution |
|
11 * |
|
12 * Contributors: |
|
13 * Manasij Roy, Nalina Hariharan |
|
14 * |
|
15 * Description: |
|
16 * Private class implemented for implicit sharing of SmfGroup class |
|
17 * |
|
18 */ |
|
19 |
|
20 #ifndef SMFGROUP_P_H_ |
|
21 #define SMFGROUP_P_H_ |
|
22 |
|
23 #include <smfcontact.h> |
|
24 #include <QSharedData> |
|
25 |
|
26 class SmfGroupPrivate : public QSharedData |
|
27 { |
|
28 public: |
|
29 /** |
|
30 * Constructor |
|
31 */ |
|
32 SmfGroupPrivate( ) { m_members = NULL; m_groupName.clear(); m_groupId.clear(); } |
|
33 |
|
34 /** |
|
35 * Copy Consturctor |
|
36 * @param aOther The reference object to be copy constructed |
|
37 */ |
|
38 SmfGroupPrivate( const SmfGroupPrivate &aOther ) : |
|
39 QSharedData ( aOther ), |
|
40 m_members ( aOther.m_members ), |
|
41 m_groupName ( aOther.m_groupName ), |
|
42 m_groupId ( aOther.m_groupId ) { } |
|
43 |
|
44 /** |
|
45 * Destructor |
|
46 */ |
|
47 ~SmfGroupPrivate( ); |
|
48 |
|
49 QList<SmfContact> *m_members; // members in the group |
|
50 QString m_groupName; |
|
51 QString m_groupId; |
|
52 // Other details to be added |
|
53 }; |
|
54 |
|
55 |
|
56 #endif /* SMFGROUP_P_H_ */ |
|