X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=xlinkitem.h;fp=xlinkitem.h;h=0000000000000000000000000000000000000000;hb=d483bd8e6523c23c6f1d8908a2e0611c2bc9ff4f;hp=4e9ce0af77bbe0f112791d118e5fbecffb6d1d20;hpb=7dfa3fe589d1722d49681f42cdb0bf1e6efb5223;p=sven%2Fvym.git diff --git a/xlinkitem.h b/xlinkitem.h deleted file mode 100644 index 4e9ce0a..0000000 --- a/xlinkitem.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef XLINKITEM_H -#define XLINKITEM_H - -class BranchItem; -class QGraphicsScene; -class XLinkObj; - -#include "mapitem.h" -#include "xlink.h" - -/*! \brief xlinks are used to draw arbitrary connections between branches (BranchObj) in the map. */ - -///////////////////////////////////////////////////////////////////////////// - -class XLinkItem:public MapItem { -public: - enum XLinkState {undefinedXLink,initXLink,activeXLink,deleteXLink}; - - XLinkItem (const QList &data, TreeItem *parent=NULL); - ~XLinkItem (); - void init (); - void clear (); - void setLink (Link*); - Link* getLink (); - void updateXLink(); - MapObj* getMO(); - void setSelection(); - BranchItem* getPartnerBranch (); - - -private: - Link *link; -}; - -#endif