smf/inc/common/smfcontacts/smfpost_p.h
changeset 5 edb9dc8273d9
parent 3 0446eb7b28aa
--- a/smf/inc/common/smfcontacts/smfpost_p.h	Thu Apr 15 15:40:08 2010 +0530
+++ b/smf/inc/common/smfcontacts/smfpost_p.h	Thu Apr 22 15:18:37 2010 +0530
@@ -28,31 +28,18 @@
 	/**
 	 * Constructor
 	 */
-	SmfPostPrivate( ) { m_title.clear(); m_desc.clear(); m_url.clear(); m_postId.clear(); }
+	SmfPostPrivate( ) ;
 	
 	/**
 	 * Constructor
 	 */
-	SmfPostPrivate( QString aTitle, QString aDesc, QImage aImage, QUrl aUrl ) 
-		{
-		m_title = aTitle; 
-		m_desc = aDesc;
-		m_image = aImage;
-		m_url = aUrl;
-		m_postId.clear();
-		}
-	
+	SmfPostPrivate( QString aTitle, QString aDesc, QImage aImage, QUrl aUrl );
+
 	/**
 	 * Copy Consturctor
 	 * @param aOther The reference object to be copy constructed
 	 */
-	SmfPostPrivate( const SmfPostPrivate &aOther ) : 
-		QSharedData ( aOther ), 
-		m_title ( aOther.m_title ), 
-		m_desc ( aOther.m_desc ),
-		m_image ( aOther.m_image ),
-		m_url ( aOther.m_url ),
-		m_postId ( aOther.m_postId )	{ }
+	SmfPostPrivate( const SmfPostPrivate &aOther );
 	
 	/**
 	 * Destructor