smf/inc/common/smfcomment/smfcomment_p.h
changeset 5 edb9dc8273d9
parent 3 0446eb7b28aa
--- a/smf/inc/common/smfcomment/smfcomment_p.h	Thu Apr 15 15:40:08 2010 +0530
+++ b/smf/inc/common/smfcomment/smfcomment_p.h	Thu Apr 22 15:18:37 2010 +0530
@@ -29,17 +29,13 @@
 	/**
 	 * Constructor
 	 */
-	SmfCommentPrivate( ) { m_text.clear(); m_commentId.clear(); }
+	SmfCommentPrivate( );
 	
 	/**
 	 * Copy Consturctor
 	 * @param aOther The reference object to be copy constructed
 	 */
-	SmfCommentPrivate( const SmfCommentPrivate &aOther ) : 
-		QSharedData ( aOther ), 
-		m_text ( aOther.m_text ), 
-		m_timeStamp ( aOther.m_timeStamp ),
-		m_commentId ( aOther.m_commentId ) 	{ }
+	SmfCommentPrivate( const SmfCommentPrivate &aOther );
 	
 	/**
 	 * Destructor
@@ -48,7 +44,8 @@
   
 	QString m_text;			// comment text
 	QDateTime m_timeStamp;	// comment time stamp
-	QString m_commentId;
+	QString m_commentId; //id of the comment
+	QString m_link; //url\permalink of the comment 
 	
 };