|
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 * Contains private implementation of the smfactions |
|
17 */ |
|
18 |
|
19 #ifndef SMFACTIONS_P_H_ |
|
20 #define SMFACTIONS_P_H_ |
|
21 |
|
22 #include <QDateTime> |
|
23 #include <QSharedData> |
|
24 #include <QVariant> |
|
25 #include <QImage> |
|
26 #include <QDateTime> |
|
27 #include <QStringList> |
|
28 #include <QUrl> |
|
29 #include <qdatastream.h> |
|
30 #include <QSharedData> |
|
31 #include <QMetaType> |
|
32 |
|
33 #include "smfactions.h" |
|
34 #include "smfpost.h" |
|
35 #include "smfcontact.h" |
|
36 |
|
37 class SmfActivityObjectPrivate: public QSharedData |
|
38 { |
|
39 public: |
|
40 SmfActivityObjectPrivate( ) { |
|
41 m_id.clear(); |
|
42 m_caption.clear(); |
|
43 m_link.clear(); |
|
44 m_content.clear(); |
|
45 } |
|
46 |
|
47 SmfActivityObjectPrivate( const SmfActivityObjectPrivate& aOther ) : |
|
48 QSharedData (aOther), |
|
49 m_id (aOther.m_id), |
|
50 m_thumbnail (aOther.m_thumbnail), |
|
51 m_caption (aOther.m_caption), |
|
52 m_type (aOther.m_type), |
|
53 m_objData (aOther.m_objData), |
|
54 m_link (aOther.m_link), |
|
55 m_time (aOther.m_time), |
|
56 m_content (aOther.m_content) { } |
|
57 |
|
58 ~SmfActivityObjectPrivate( ) {} |
|
59 |
|
60 /** |
|
61 * Data members |
|
62 */ |
|
63 QString m_id; |
|
64 QImage m_thumbnail; |
|
65 QString m_caption; |
|
66 SmfActivityObjectType m_type; |
|
67 QVariant m_objData; |
|
68 QString m_link; |
|
69 QDateTime m_time; |
|
70 QString m_content; |
|
71 }; |
|
72 |
|
73 |
|
74 |
|
75 #endif /* SMFACTIONS_P_H_ */ |