equal
deleted
inserted
replaced
29 #include <smfclientglobal.h> |
29 #include <smfclientglobal.h> |
30 #include <QMetaType> |
30 #include <QMetaType> |
31 #include <smfcomment.h> |
31 #include <smfcomment.h> |
32 |
32 |
33 class SmfPicturePrivate; |
33 class SmfPicturePrivate; |
34 |
34 /** |
|
35 * Max size for one SmfPicture |
|
36 */ |
|
37 const int MaxSmfPictureSize = 1000; |
35 /** |
38 /** |
36 * SmfPictureVisibility enumeration |
39 * SmfPictureVisibility enumeration |
37 */ |
40 */ |
38 enum SmfPictureVisibility |
41 enum SmfPictureVisibility |
39 { |
42 { |
50 */ |
53 */ |
51 class SMFCLIENT_EXPORT SmfPicture |
54 class SMFCLIENT_EXPORT SmfPicture |
52 { |
55 { |
53 public: |
56 public: |
54 /** |
57 /** |
55 * Constructor with default argument |
58 * Constructor with default argument. |
56 */ |
59 * @param aDownloaded This flag is to know whether the content is downloaded |
57 SmfPicture( ); |
60 * in the device(if true). If false it signifies that SmfPicture contains |
|
61 * a link/url to the location of the content |
|
62 */ |
|
63 SmfPicture(/*bool aDownloaded = false*/ ); |
58 |
64 |
59 /** |
65 /** |
60 * Copy Constructor |
66 * Copy Constructor |
61 * @param aOther The reference object |
67 * @param aOther The reference object |
62 */ |
68 */ |
137 /** |
143 /** |
138 * Method to get the id of the picture |
144 * Method to get the id of the picture |
139 * @return The ID value |
145 * @return The ID value |
140 */ |
146 */ |
141 QString id( ) const; |
147 QString id( ) const; |
142 |
148 |
|
149 /** |
|
150 * Gets download flag. This flag is to know whether the content is downloaded |
|
151 * in the device(if true). If false it signifies that SmfPicture contains |
|
152 * a link/url to the location of the content |
|
153 */ |
|
154 bool downloadFlag(); |
|
155 |
143 /** |
156 /** |
144 * Method to set a picture owner |
157 * Method to set a picture owner |
145 * @param aOwner The owner of the picture |
158 * @param aOwner The owner of the picture |
146 */ |
159 */ |
147 void setOwner( const QString &aOwner ); |
160 void setOwner( const QString &aOwner ); |