Logo Search packages:      
Sourcecode: ktechlab version File versions

junctionnode.h

//
// C++ Interface: junctionnode
//
// Description: 
//
//
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef JUNCTIONNODE_H
#define JUNCTIONNODE_H

#include <ecnode.h>

/**
 An ECNode class with type() == ec_junction
*/
00019 class JunctionNode : public ECNode
{
public:
      JunctionNode(ICNDocument* icnDocument, int dir, const QPoint& pos, QString* id = 0L);

      ~JunctionNode();

      /** Returns the node's type. This member will be removed one day */
00027       virtual node_type type() const { return Node::ec_junction; }

      /**
       *  draws the JunctionNode
       */
      virtual void drawShape( QPainter &p );

protected:
      virtual void initPoints();
      
};

#endif

Generated by  Doxygen 1.6.0   Back to index