]> AND Private Git Repository - blast.git/blobdiff - BoxItem.h
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
add graph modif, progress on vhdl generation
[blast.git] / BoxItem.h
index 74eb36afbf1c8db2d3eeca8cb1d15fdd92ee37e6..c8a942e8590a9f8c6ad6566a0516706f28dce73a 100644 (file)
--- a/BoxItem.h
+++ b/BoxItem.h
@@ -5,6 +5,8 @@
 
 #include <QtCore>
 #include <QtGui>
 
 #include <QtCore>
 #include <QtGui>
+#include <QtXml>
+#include <QtXmlPatterns>
 
 
 #include "AbstractBoxItem.h"
 
 
 #include "AbstractBoxItem.h"
@@ -29,6 +31,7 @@ class BoxItem : public AbstractBoxItem {
 
 public:
   BoxItem(AbstractBlock *_refBlock, Dispatcher *_dispatcher, Parameters *_params, GroupItem* parent) throw(Exception);
 
 public:
   BoxItem(AbstractBlock *_refBlock, Dispatcher *_dispatcher, Parameters *_params, GroupItem* parent) throw(Exception);
+  BoxItem(Dispatcher *_dispatcher, Parameters *_params, GroupItem* parent) throw(Exception);
   ~BoxItem();
 
   void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);  
   ~BoxItem();
 
   void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);  
@@ -43,7 +46,9 @@ public:
   bool isBoxItem();
 
   // others
   bool isBoxItem();
 
   // others
+  void nameChanged();
   void moveTo(QPointF dest);
   void moveTo(QPointF dest);
+  void loadFunctional(QDomElement funcElement) throw(Exception);
   void save(QXmlStreamWriter& writer);
 
 protected:
   void save(QXmlStreamWriter& writer);
 
 protected:
@@ -72,9 +77,11 @@ private:
   friend QDataStream &operator<<(QDataStream &out, BoxItem &b);
   friend QDataStream &operator>>(QDataStream &in, BoxItem &b);
 
   friend QDataStream &operator<<(QDataStream &out, BoxItem &b);
   friend QDataStream &operator>>(QDataStream &in, BoxItem &b);
 
+/*
 signals:
   void itemMustBeDeleted(QGraphicsItem*);
 signals:
   void itemMustBeDeleted(QGraphicsItem*);
-
+*/
+  
 };
 
 QDataStream & operator <<(QDataStream &out, BoxItem &b);
 };
 
 QDataStream & operator <<(QDataStream &out, BoxItem &b);