Changed fetchMessages to send request to Situare server instead of local DB.
[situare] / src / situareservice / situareservice.h
index e7fb4a7..7fee903 100644 (file)
@@ -56,7 +56,8 @@ private:
     enum RequestName { RequestUnknown,
                        RequestGetLocations,
                        RequestUpdateLocation,
-                       RequestReverseGeo};
+                       RequestReverseGeo,
+                       RequestGetMessages};
 
 public:
 
@@ -251,9 +252,9 @@ private:
     /**
     * @brief Parses messages data from JSON string
     *
-    * @param jsonReply JSON string
+    * @param messagesData messages data QVariant tree
     */
-    void parseMessagesData(const QByteArray &jsonReply);
+    void parseMessagesData(const QVariant &messagesData);
 
     /**
     * @brief Parses popular tags data from JSON string