--- a/smf/smfservermodule/smfclient/common/smfpost_p.h Mon Jun 07 11:43:45 2010 +0100
+++ b/smf/smfservermodule/smfclient/common/smfpost_p.h Wed Jun 23 19:51:49 2010 +0530
@@ -21,7 +21,7 @@
#define SMFPOST_P_H_
#include <QSharedData>
-
+#include "smfcontact.h"
class SmfPostPrivate : public QSharedData
{
public:
@@ -33,8 +33,9 @@
/**
* Constructor
*/
- SmfPostPrivate( QString aTitle, QString aDesc, QImage aImage, QUrl aUrl )
+ SmfPostPrivate(SmfContact aOwner, QString aTitle, QString aDesc, QImage aImage, QUrl aUrl )
{
+ m_owner = aOwner;
m_title = aTitle;
m_desc = aDesc;
m_image = aImage;
@@ -60,7 +61,7 @@
~SmfPostPrivate( )
{
}
-
+ SmfContact m_owner; //owner of the post(who posted this message)
QString m_title; // title
QString m_desc; // description
QImage m_image; // image