smf/inc/common/smfpictures/smfpicture_p.h
changeset 5 edb9dc8273d9
parent 3 0446eb7b28aa
equal deleted inserted replaced
4:969092730d34 5:edb9dc8273d9
    32 {
    32 {
    33 public:
    33 public:
    34 	/**
    34 	/**
    35 	 * Constructor
    35 	 * Constructor
    36 	 */
    36 	 */
    37 	SmfPicturePrivate( ) { 
    37 	SmfPicturePrivate( );
    38 		m_photoId.clear();
       
    39 		m_owner.clear();
       
    40 		m_title.clear();
       
    41 		m_description.clear();
       
    42 		m_comments.clear();
       
    43 		m_tags.clear();
       
    44 		m_url.clear();
       
    45 		m_caption.clear();
       
    46 	}
       
    47 	/**
    38 	/**
    48 	 * Constructor
    39 	 * Constructor
    49 	 */
    40 	 */
    50 	SmfPicturePrivate( const QImage &aImage ) { 
    41 	SmfPicturePrivate( const QImage &aImage );
    51 		m_photoId.clear();
       
    52 		m_owner.clear();
       
    53 		m_title.clear();
       
    54 		m_description.clear();
       
    55 		m_comments.clear();
       
    56 		m_tags.clear();
       
    57 		m_url.clear();
       
    58 		m_picture = aImage;
       
    59 		m_caption.clear();
       
    60 	}
       
    61 	
    42 	
    62 	/**
    43 	/**
    63 	 * Copy Consturctor
    44 	 * Copy Consturctor
    64 	 * @param aOther The reference object to be copy constructed
    45 	 * @param aOther The reference object to be copy constructed
    65 	 */
    46 	 */
    66 	SmfPicturePrivate( const SmfPicturePrivate &aOther ) : 
    47 	SmfPicturePrivate( const SmfPicturePrivate &aOther ) ;
    67 		QSharedData ( aOther ), 
       
    68 		m_photoId ( aOther.m_photoId ),
       
    69 		m_owner ( aOther.m_owner ),
       
    70 		m_title ( aOther.m_title ),
       
    71 		m_description ( aOther.m_description ),
       
    72 		m_picVisibility ( aOther.m_picVisibility ),
       
    73 		m_postedOn ( aOther.m_postedOn ),
       
    74 		m_comments ( aOther.m_comments ),
       
    75 		m_tags ( aOther.m_tags ),
       
    76 		m_url ( aOther.m_url ),
       
    77 		m_picture ( aOther.m_picture ),
       
    78 		m_caption ( aOther.m_caption ) 	{ }
       
    79 	
       
    80 	/**
    48 	/**
    81 	 * Destructor
    49 	 * Destructor
    82 	 */
    50 	 */
    83 	~SmfPicturePrivate( );
    51 	~SmfPicturePrivate( );
    84   
    52