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 SmfPicture class |
|
17 * |
|
18 */ |
|
19 |
|
20 #ifndef SMFPICTURE_P_H_ |
|
21 #define SMFPICTURE_P_H_ |
|
22 |
|
23 |
|
24 #include <QDateTime> |
|
25 #include <QStringList> |
|
26 #include <QUrl> |
|
27 #include <QSharedData> |
|
28 #include <smfclientglobal.h> |
|
29 #include <smfpicture.h> |
|
30 |
|
31 class SmfPicturePrivate : public QSharedData |
|
32 { |
|
33 public: |
|
34 /** |
|
35 * Constructor |
|
36 */ |
|
37 SmfPicturePrivate( ); |
|
38 /** |
|
39 * Constructor |
|
40 */ |
|
41 SmfPicturePrivate( const QImage &aImage ); |
|
42 |
|
43 /** |
|
44 * Copy Consturctor |
|
45 * @param aOther The reference object to be copy constructed |
|
46 */ |
|
47 SmfPicturePrivate( const SmfPicturePrivate &aOther ) ; |
|
48 /** |
|
49 * Destructor |
|
50 */ |
|
51 ~SmfPicturePrivate( ); |
|
52 |
|
53 QString m_photoId; // unique ID of the picture, service provider specific |
|
54 QString m_owner; // owner of the picture |
|
55 QString m_title; // picture title |
|
56 QString m_description;// description |
|
57 SmfPictureVisibility m_picVisibility; // picture visibility |
|
58 QDateTime m_postedOn;// date posted |
|
59 QStringList m_comments;// comments |
|
60 QStringList m_tags; // tags |
|
61 QUrl m_url; // url |
|
62 QImage m_picture; // picture data as bytearray |
|
63 QString m_caption; // caption |
|
64 |
|
65 }; |
|
66 |
|
67 #endif /* SMFPICTURE_P_H_ */ |
|