Logo Search packages:      
Sourcecode: ktechlab version File versions  Download package

junctionflownode.h

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

#include <fpnode.h>

/**
      A FlowNode which serves as a junction between connectors
*/
00018 class JunctionFlowNode : public FPNode
{
      public:
            JunctionFlowNode ( ICNDocument* _icnView, int dir, const QPoint& pos, QString* id = 0L );

            ~JunctionFlowNode();

            /**
             * Returns true if the node can accept input connections. This will depend
             * on the node type and number of input / output connections.
             */
            bool acceptInput() const;
            /**
             * Returns true if the node can accept output connections. This will depend
             * on the node type and number of input / output connections.
             */
            bool acceptOutput() const;
      public slots:
            /**
             * what is this?
             */
            virtual void checkForRemoval( Connector *connector );
            /**
             * Draw shape. Note that this has to remain public.
             */
            virtual void drawShape ( QPainter & p );
      protected:
            virtual void initPoints();

};

#endif

Generated by  Doxygen 1.6.0   Back to index