smf/smfservermodule/smfclient/client/smfpostprovider.h
changeset 10 77a56c951f86
parent 7 be09cf1f39dd
child 14 a469c0e6e7fb
--- a/smf/smfservermodule/smfclient/client/smfpostprovider.h	Tue May 18 17:37:12 2010 +0530
+++ b/smf/smfservermodule/smfclient/client/smfpostprovider.h	Fri May 21 15:45:10 2010 +0100
@@ -30,7 +30,8 @@
 #include "smfcontact.h"
 #include "smflocation.h"
 #include "smfpost.h"
-#include "smfpostprovider_p.h"
+
+class SmfPostProviderPrivate;
 
 /**
  * @ingroup smf_client_group 
@@ -50,7 +51,7 @@
 	 * Constructs SmfPostProvider.
 	 * @param baseProvider The base provider info
 	 * Seeing as this is a plug-in implementation, these will realistically
-	 * be generated by SMF factory of some kind
+	 * be generated by SMF factory of some kind
 	 */
 	SmfPostProvider(SmfProvider* baseProvider);
 	~SmfPostProvider();
@@ -59,23 +60,23 @@
 public:
 	/**
 	 * returns maximum no of chars (unicode) that service provider can post without truncation
-	 * negative value means no limit
+	 * negative value means no limit
 	 */
 	qint32 maxCharsInPost() const;
 	/**
 	 * returns maximum no of items that can be returned in a single query to getPosts
-	 * negative value means feature not supported.
+	 * negative value means feature not supported.
 	 */
 	qint32 maxItems() const;
 
 	/**
 	 * returns all the formatting of posts that this service provider supports.
-	 * May return 0 items to mean only QString is supported.
+	 * May return 0 items to mean only QString is supported.
 	 */
 	QVector<QTextFormat> supportedFormats () const;
 	
 	/**
-	 * returns whether this SP supports Appearence @see SmfAppearenceInfo
+	 * returns whether this SP supports Appearence @see SmfAppearenceInfo
 	 */
 	bool supportsAppearence () const;
 
@@ -86,7 +87,7 @@
 	 * @param user user's contact in this SP, omit for self contact
 	 * @param pageNum Page number to download, SMF_FIRST_PAGE denotes fresh query.
      * @param perPage Item per page, default is SMF_ITEMS_PER_PAGE 
-	 * @see postsAvailable()
+	 * @see postsAvailable()
 	 */
 	void posts(SmfContact* user = 0,int pageNum=SMF_FIRST_PAGE,int perPage=SMF_ITEMS_PER_PAGE);
 	
@@ -110,7 +111,7 @@
 	 * updatePostFinished() signal.
 	 * @param postData data to be posted
 	 * @param contact contact to which the post is to be directed
-	 * @param location location data
+	 * @param location location data
 	 */
 	void postDirected(SmfPost& postData,SmfContact& contact,SmfLocation* location=0);
 	
@@ -118,7 +119,7 @@
 	 * Posts appearance info of the user.e.g. appear offline, busy, do-not-disturb
 	 * @param appearence user appearance
 	 * @see SmfPresenceInfo
-	 * @return False on Failure/Not supported 
+	 * @return False on Failure/Not supported 
 	 */
 	bool postAppearence(SmfAppearenceInfo appearence); 
 	/**
@@ -153,13 +154,13 @@
 	 * In that case this signal is emitted multiple times.
 	 * @param list list of posts
 	 * @param error error string
-	 * @param resultPage Page number info
+	 * @param resultPage Page number info
 	 */
 	void postsAvailable(SmfPostList* list, SmfError error, SmfResultPage resultPage);
 	
 	/**
 	 * Emitted when update post is finished.
-	 * @param success the success of the update
+	 * @param success the success of the update
 	 */
 	void postFinished(bool success);
 	/**