smf/inc/common/smfmusic/smfplaylist.h
changeset 5 edb9dc8273d9
parent 3 0446eb7b28aa
--- a/smf/inc/common/smfmusic/smfplaylist.h	Thu Apr 15 15:40:08 2010 +0530
+++ b/smf/inc/common/smfmusic/smfplaylist.h	Thu Apr 22 15:18:37 2010 +0530
@@ -31,15 +31,13 @@
  * @ingroup smf_common_group
  * The playlist class represents an instance of a playlist
  */
-class SMFCLIENT_EXPORT SmfPlaylist : public QObject
+class SMFCLIENT_EXPORT SmfPlaylist
 	{
-	Q_OBJECT
 public:
 	/**
 	 * Constructor with default argument
-	 * @param aParent The parent object
 	 */
-	SmfPlaylist( QObject *aParent = 0 );
+	SmfPlaylist();
 	
 	/**
 	 * Copy Constructor
@@ -48,6 +46,12 @@
 	SmfPlaylist( const SmfPlaylist &aOther );
 	
 	/**
+	 * Overloaded = operator
+	 * @param aOther The reference object
+	 */
+	SmfPlaylist& operator=( const SmfPlaylist &aOther );
+	
+	/**
 	 * Destructor
 	 */
 	~SmfPlaylist( );
@@ -94,6 +98,12 @@
 	 */
 	void setCreationDate( const QDateTime &aDate );
 	
+	/**
+	 * Method to set the id of the playlist
+	 * @param aId The ID value 
+	 */
+	void setId( const QString &aId);
+	
 private:
 	QSharedDataPointer<SmfPlaylistPrivate> d;
 	
@@ -126,6 +136,7 @@
 QDataStream &operator>>( QDataStream &aDataStream, 
 		SmfPlaylist &aPlaylist);
 
+
 // Make the class SmfPlaylist known to QMetaType, so that as to register it.
 Q_DECLARE_METATYPE(SmfPlaylist)