Changed fetchPopularTags to send request to Situare server instead of local DB
[situare] / src / situareservice / situareservice.h
index 90d22ad..8923cb8 100644 (file)
@@ -60,7 +60,8 @@ private:
                        RequestGetMessages,
                        RequestRemoveMessage,
                        RequestSendMessage,
-                       RequestGetPeopleWithSimilarInterest};
+                       RequestGetPeopleWithSimilarInterest,
+                       RequestGetPopularTags};
 
 public:
 
@@ -260,9 +261,9 @@ private:
     /**
     * @brief Parses popular tags data from JSON string
     *
-    * @param jsonReply JSON string
+    * @param popularTagsData popular tags data QVariant tree
     */
-    void parsePopularTagsData(const QByteArray &jsonReply);
+    void parsePopularTagsData(const QVariant &popularTagsData);
 
     /**
     * @brief Parses reply from JSON string