X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/3bcfe4df6fdde086eb1b59f7a0173358170174a1..8fb3c55ee009a11db5e1c08a4cfb286979412745:/AbstractBoxItem.h diff --git a/AbstractBoxItem.h b/AbstractBoxItem.h index e490088..d0965cf 100644 --- a/AbstractBoxItem.h +++ b/AbstractBoxItem.h @@ -17,7 +17,7 @@ class ConnectedInterface; #define ABI_TO_BI(ptr) ((BoxItem*)ptr) #define ABI_TO_GI(ptr) ((GroupItem*)ptr) -#define ABI_TO_SI(ptr) ((SourceItem*)ptr) +#define ABI_TO_SI(ptr) ((StimuliItem*)ptr) class AbstractBoxItem : public QGraphicsItem { @@ -76,7 +76,7 @@ public: // testers virtual bool isBoxItem(); virtual bool isGroupItem(); - virtual bool isSourceItem(); + virtual bool isStimuliItem(); inline bool isSelected() { return selected; } inline bool isRstClkVisible(){ return rstClkVisible;} inline bool isWishboneVisible(){ return wishboneVisible;}