--- a/smf/inc/common/smfmusic/smfmusicprofile.h Thu Apr 15 15:40:08 2010 +0530
+++ b/smf/inc/common/smfmusic/smfmusicprofile.h Thu Apr 22 15:18:37 2010 +0530
@@ -32,15 +32,13 @@
* @ingroup smf_common_group
* The music profile class represents a user's profile in music site
*/
-class SMFCLIENT_EXPORT SmfMusicProfile : public QObject
+class SMFCLIENT_EXPORT SmfMusicProfile
{
- Q_OBJECT
public:
/**
* Constructor with default argument
- * @param aParent The parent object
*/
- SmfMusicProfile( QObject *aParent = 0 );
+ SmfMusicProfile( );
/**
* Copy Constructor
@@ -49,6 +47,12 @@
SmfMusicProfile( const SmfMusicProfile &aOther );
/**
+ * Overloaded = operator
+ * @param aOther The reference object
+ */
+ SmfMusicProfile& operator=( const SmfMusicProfile &aOther );
+
+ /**
* Destructor
*/
~SmfMusicProfile( );
@@ -89,6 +93,18 @@
*/
void setInterestInfo( const QList<SmfTrackInfo>& aInterest );
+ /**
+ * Method to set the user events as list of SmfEvents
+ * @param aList The list of events
+ */
+ void setUserEvents( const QList<SmfEvent> &aList );
+
+ /**
+ * Method to set the id of the music profile
+ * @param aId The ID value
+ */
+ void setId( const QString &aId );
+
private:
QSharedDataPointer<SmfMusicProfilePrivate> d;
@@ -121,6 +137,7 @@
QDataStream &operator>>( QDataStream &aDataStream,
SmfMusicProfile &aProfile);
+
// Make the class SmfMusicProfile known to QMetaType, so that as to register it.
Q_DECLARE_METATYPE(SmfMusicProfile)