protected:
/**
+ * @brief method that detects when friend icon is moved
+ *
+ * Disables m_clickEvent flag if press and release where not
+ * in same area.
+ *
+ * @param event detects the mouse move (or touch in Maemo)
+ */
+ void mouseMoveEvent(QGraphicsSceneMouseEvent *event);
+
+ /**
* @brief method that detects when friend icon is clicked
*
* @param event detects the mouse click (or touch in Maemo)
const QString m_userId; ///< Friends user ID. Can't be changed afterwards
QUrl m_profileImageUrl; ///< Friends Facebook profile image URL
QPoint m_mousePressPosition; ///< Mouse press position
+ bool m_clickEvent; ///< Flag to mark click event
};
#endif // FRIENDLOCATIONITEM_H