Added FriendGroupItem and FriendItemsHandler classes
[situare] / src / map / friendlocationitem.h
index c4a6b15..67a0836 100644 (file)
@@ -55,6 +55,8 @@ public:
     */
     FriendLocationItem(const QPixmap &icon, const QPointF &friendsLocation, QObject *parent = 0);    
 
+    bool isPartOfGroup() const;
+
     /**
     * @brief getter for m_userId
     *
@@ -62,6 +64,8 @@ public:
     */
     QString userId() const;
 
+    void setPartOfGroup(bool value);
+
     /**
     * @brief sets name for friend.
     *
@@ -88,6 +92,7 @@ protected:
     void mousePressEvent(QGraphicsSceneMouseEvent *event);    
 
 private:
+    bool m_partOfGroup;
     QString m_userId; ///< Friends user ID
 };