equal
deleted
inserted
replaced
26 { |
26 { |
27 public: |
27 public: |
28 /** |
28 /** |
29 * Constructor |
29 * Constructor |
30 */ |
30 */ |
31 SmfPostPrivate( ) { m_title.clear(); m_desc.clear(); m_url.clear(); m_postId.clear(); } |
31 SmfPostPrivate( ) ; |
32 |
32 |
33 /** |
33 /** |
34 * Constructor |
34 * Constructor |
35 */ |
35 */ |
36 SmfPostPrivate( QString aTitle, QString aDesc, QImage aImage, QUrl aUrl ) |
36 SmfPostPrivate( QString aTitle, QString aDesc, QImage aImage, QUrl aUrl ); |
37 { |
37 |
38 m_title = aTitle; |
|
39 m_desc = aDesc; |
|
40 m_image = aImage; |
|
41 m_url = aUrl; |
|
42 m_postId.clear(); |
|
43 } |
|
44 |
|
45 /** |
38 /** |
46 * Copy Consturctor |
39 * Copy Consturctor |
47 * @param aOther The reference object to be copy constructed |
40 * @param aOther The reference object to be copy constructed |
48 */ |
41 */ |
49 SmfPostPrivate( const SmfPostPrivate &aOther ) : |
42 SmfPostPrivate( const SmfPostPrivate &aOther ); |
50 QSharedData ( aOther ), |
|
51 m_title ( aOther.m_title ), |
|
52 m_desc ( aOther.m_desc ), |
|
53 m_image ( aOther.m_image ), |
|
54 m_url ( aOther.m_url ), |
|
55 m_postId ( aOther.m_postId ) { } |
|
56 |
43 |
57 /** |
44 /** |
58 * Destructor |
45 * Destructor |
59 */ |
46 */ |
60 ~SmfPostPrivate( ); |
47 ~SmfPostPrivate( ); |