smf/inc/common/smfcomment/smfcomment_p.h
changeset 5 edb9dc8273d9
parent 3 0446eb7b28aa
equal deleted inserted replaced
4:969092730d34 5:edb9dc8273d9
    27 {
    27 {
    28 public:
    28 public:
    29 	/**
    29 	/**
    30 	 * Constructor
    30 	 * Constructor
    31 	 */
    31 	 */
    32 	SmfCommentPrivate( ) { m_text.clear(); m_commentId.clear(); }
    32 	SmfCommentPrivate( );
    33 	
    33 	
    34 	/**
    34 	/**
    35 	 * Copy Consturctor
    35 	 * Copy Consturctor
    36 	 * @param aOther The reference object to be copy constructed
    36 	 * @param aOther The reference object to be copy constructed
    37 	 */
    37 	 */
    38 	SmfCommentPrivate( const SmfCommentPrivate &aOther ) : 
    38 	SmfCommentPrivate( const SmfCommentPrivate &aOther );
    39 		QSharedData ( aOther ), 
       
    40 		m_text ( aOther.m_text ), 
       
    41 		m_timeStamp ( aOther.m_timeStamp ),
       
    42 		m_commentId ( aOther.m_commentId ) 	{ }
       
    43 	
    39 	
    44 	/**
    40 	/**
    45 	 * Destructor
    41 	 * Destructor
    46 	 */
    42 	 */
    47 	~SmfCommentPrivate( );
    43 	~SmfCommentPrivate( );
    48   
    44   
    49 	QString m_text;			// comment text
    45 	QString m_text;			// comment text
    50 	QDateTime m_timeStamp;	// comment time stamp
    46 	QDateTime m_timeStamp;	// comment time stamp
    51 	QString m_commentId;
    47 	QString m_commentId; //id of the comment
       
    48 	QString m_link; //url\permalink of the comment 
    52 	
    49 	
    53 };
    50 };
    54 
    51 
    55 #endif /* SMFCOMMENT_P_H_ */
    52 #endif /* SMFCOMMENT_P_H_ */