******************************************************************************/
public slots:
/**
+ * @brief Populates popular tags list
+ *
+ * @param popularTags list of popular tags
+ */
+ void populatePopularTags(QHash<QString, QString> &popularTags);
+
+ /**
+ * @brief show / hide user information
+ *
+ * @param show true if userinfo should be shown
+ */
+ void showUserInfo(bool show);
+
+ /**
* @brief Slot to capture returning user data from situareService
*
* @param user
*/
void userDataReceived(User *user);
+private slots:
+ /**
+ * @brief Sets user's image.
+ *
+ * @param id image ID
+ * @param image image pixmap
+ */
+ void setImage(const QString &id, const QPixmap &image);
+
+ void showTagsDialog();
+
+
/*******************************************************************************
* SIGNALS
******************************************************************************/
signals:
/**
- * @brief Signal for finding user.
- *
- * @param coordinates user geo coordinates
- */
- void findUser(const GeoCoordinate &coordinates);
+ * @brief Signal for adding tags.
+ *
+ * @param tags tags to add
+ */
+ void addTags(const QStringList &tags);
/**
* @brief Signal for collapse user info
void collapse();
/**
+ * @brief Signal for finding user.
+ *
+ * @param coordinates user geo coordinates
+ */
+ void findUser(const GeoCoordinate &coordinates);
+
+ /**
* @brief Signal that used to inform user that his message/location update tp Situare server
* was failed.
* This signal is originally sended from UserInfo
void refreshUserData();
/**
+ * @brief Signal for removing tags.
+ *
+ * @param tags tags to add
+ */
+ void removeTags(const QStringList &tags);
+
+ /**
+ * @brief Signal for requesting popular tags
+ */
+ void requestPopularTags();
+
+ /**
* @brief Signal for requesting reverseGeo from SituareEngine
*/
void requestReverseGeo();
*/
void clearUpdateLocationDialogData();
-private slots:
- void showTagsDialog();
/*******************************************************************************
* DATA MEMBERS