phoneuis/bubblemanager2/bubblecore/src/bubbleparticipantlistitem.h
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 30 ebdbd102c78a
parent 46 bc5a64e5bc3c
--- a/phoneuis/bubblemanager2/bubblecore/src/bubbleparticipantlistitem.h	Tue Jun 15 14:14:38 2010 +0100
+++ b/phoneuis/bubblemanager2/bubblecore/src/bubbleparticipantlistitem.h	Thu Jul 22 16:33:21 2010 +0100
@@ -21,11 +21,8 @@
 #include <hbabstractviewitem.h>
 
 class QGraphicsItem;
-class HbPushButton;
+class HbGroupBox;
 class HbAction;
-class HbIconItem;
-class HbFrameItem;
-class HbTextItem;
 
 class BubbleParticipantListItem : public HbAbstractViewItem
 {
@@ -39,29 +36,23 @@
     HbAbstractViewItem* createItem();
 
     void updateChildItems();
-    void setExpanded(bool expanded);
     void addAction(HbAction* action);
     void clearActions();
 
 private:
     void polish(HbStyleParameters& params);
 
-    int type() const;
-
 private slots:
     void currentIndexChanged(const QModelIndex &current,
                              const QModelIndex &previous);
 
+    void setCollapsed();
+
+    void handleItemStateChange(bool collapsed);
+
 private:
-    HbTextItem* mText;
-    HbIconItem* mStatusIcon;
-    HbIconItem* mCipheringIcon;
-    HbIconItem* mExpandIcon;
-    HbPushButton* mButton1;
-    HbPushButton* mButton2;
+    HbGroupBox*      mGroupBox;
     QList<HbAction*> mActions;
-
-    bool mExpanded;
 };
 
 #endif // BUBBLEPARTICIPANTLISTITEM_H