#define USERINFO_H
#include <QWidget>
+
+#include "coordinates/geocoordinate.h"
#include "updatelocation/updatelocationdialog.h"
class ImageButton;
*
* @param coordinates Reference to users current coordinates
*/
- void setCoordinates(const QPointF &coordinates);
+ void setCoordinates(const GeoCoordinate &coordinates);
/**
* @brief Sets the user picture
* @brief Slot function to forward messageUpdate launch signal
*
*/
- void messageUpdate();
+ void messageUpdate();
/**
* @brief Slot function to get indication when dialog is finished
*
* @param coordinates user geo coordinates
*/
- void findUser(const QPointF &coordinates);
+ void findUser(const GeoCoordinate &coordinates);
/**
* @brief Signal that used to inform user that his message/location update tp Situare server
******************************************************************************/
private:
bool m_backupFacebookPublishPolicity; ///< Backup of publish on Facebook checkbox value
- bool m_expanded; ///< Item expanded state
+ bool m_expanded; ///< Item expanded state
QLabel *m_locationLabel; ///< Location label
QLabel *m_nameLabel; ///< Name label
QLabel *m_statusTextLabel; ///< Status text label
QPixmap m_backgroundMiddleImage; ///< Middle background image
QPixmap m_backgroundTopImage; ///< Top background image
QPoint m_mousePosition; ///< Current mouse press position
- QPointF m_coordinates; ///< User current coordinates
+ GeoCoordinate m_coordinates; ///< User current coordinates
QString m_address; ///< Address from where the new message was sent
QString m_backupMessage; ///< Backup of users message
QString m_expandedMessageText; ///< Expanded message text
QString m_messageText; ///< User's message
QString m_time; ///< Time when the new message was sent
QString m_userName; ///< User's name
- ImageButton *m_findButton; ///< User find button
+ ImageButton *m_findButton; ///< User find button
UpdateLocationDialog *m_updateLocation; ///< Update location dialog
};