X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/abbc64cf04a35ab3549d5c516f44c7c5921baa63..e9f53048b4a0192d95382277e8f40e850998b256:/GroupItem.h?ds=sidebyside

diff --git a/GroupItem.h b/GroupItem.h
index 3882a60..8ab486a 100644
--- a/GroupItem.h
+++ b/GroupItem.h
@@ -5,6 +5,9 @@
 
 #include <QtCore>
 #include <QtGui>
+#include <QtXml>
+#include <QtXmlPatterns>
+
 
 #include "AbstractBoxItem.h"
 class AbstractBoxItem;
@@ -31,19 +34,23 @@ public:
 
    */
   GroupItem(BoxItem* _parentItem, AbstractBlock *_refBlock, Dispatcher *_dispatcher, Parameters *_params) throw(Exception);
+  GroupItem(Dispatcher *_dispatcher, Parameters *_params) throw(Exception); //! uses only when loading a project file
   ~GroupItem();
 
   // getters
   BoxItem* getParentItem();
 
   // setters
+  void setParentItem(BoxItem* _parentItem);
 
   // testers
   bool isGroupItem();
 
   // others  
+  void nameChanged();
   void updateShape();
   void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);  
+  void load(QDomElement groupElement) throw(Exception);
   void save(QXmlStreamWriter& writer);
 
 protected: