smf/inc/common/smfcontacts/smfgroup.h
changeset 5 edb9dc8273d9
parent 3 0446eb7b28aa
--- a/smf/inc/common/smfcontacts/smfgroup.h	Thu Apr 15 15:40:08 2010 +0530
+++ b/smf/inc/common/smfcontacts/smfgroup.h	Thu Apr 22 15:18:37 2010 +0530
@@ -2,7 +2,7 @@
  * Copyright (c) 2010 Sasken Communication Technologies Ltd.
  * All rights reserved.
  * This component and the accompanying materials are made available
- * under the terms of the "Eclipse Public License v1.0" 
+ * under the terms of the "Eclipse Public License v1.0"
  * which accompanies  this distribution, and is available
  * at the URL "http://www.eclipse.org/legal/epl-v10.html"
  *
@@ -11,7 +11,7 @@
  *
  * Contributors:
  * Manasij Roy, Nalina Hariharan
- * 
+ *
  * Description:
  * The group class represents an instance of a group as per SN site terminolgy
  *
@@ -32,76 +32,76 @@
  * @ingroup smf_common_group
  * The group class represents an instance of a group as per SN site terminolgy
  */
-class SMFCLIENT_EXPORT SmfGroup : public QObject
+class SMFCLIENT_EXPORT SmfGroup
 	{
-	Q_OBJECT
+
 public:
 	/**
 	 * Constructor with default argument
 	 * @param list The list of members in the group
 	 */
 	SmfGroup( QList<SmfContact>* list = 0 );
-	
+
 	/**
 	 * Copy Constructor
 	 * @param aOther The reference object
 	 */
 	SmfGroup( const SmfGroup &aOther );
-	
+
 	/**
 	 * Destructor
 	 */
 	~SmfGroup( );
-	
-public slots:
+
+public:
 	/**
 	 * Method to get the list of members in the group
 	 * @return The list of members in the group
 	 */
 	QList<SmfContact> members( ) const;
-	
+
 	/**
 	 * Method to get the name of the group
 	 * @return The name of the group
 	 */
 	QString name( ) const;
-	
+
 	/**
 	 * Method to get the id of the group
-	 * @return The ID value 
+	 * @return The ID value
 	 */
 	QString id( ) const;
-	
+
 private:
 	QSharedDataPointer<SmfGroupPrivate> d;
-	
-	friend QDataStream &operator<<( QDataStream &aDataStream, 
+
+	friend QDataStream &operator<<( QDataStream &aDataStream,
 			const SmfGroup &aGroup );
 
-	friend QDataStream &operator>>( QDataStream &aDataStream, 
+	friend QDataStream &operator>>( QDataStream &aDataStream,
 			SmfGroup &aGroup );
-	
+
 	};
 
 
 /**
- * Method for Externalization. Writes the SmfGroup object to 
+ * Method for Externalization. Writes the SmfGroup object to
  * the stream and returns a reference to the stream.
  * @param aDataStream Stream to be written
  * @param aGroup The SmfGroup object to be externalized
  * @return reference to the written stream
  */
-QDataStream &operator<<( QDataStream &aDataStream, 
+QDataStream &operator<<( QDataStream &aDataStream,
 		const SmfGroup &aGroup );
 
 /**
- * Method for Internalization. Reads a SmfGroup object from 
+ * Method for Internalization. Reads a SmfGroup object from
  * the stream and returns a reference to the stream.
  * @param aDataStream Stream to be read
  * @param aGroup The SmfGroup object to be internalized
  * @return reference to the stream
  */
-QDataStream &operator>>( QDataStream &aDataStream, 
+QDataStream &operator>>( QDataStream &aDataStream,
 		SmfGroup &aGroup);
 
 // Make the class SmfGroup known to QMetaType, so that as to register it.