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

outputflownode.h

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

#include <fpnode.h>

/**
      a FlowNode which serves as Output for flowparts
*/
00018 class OutputFlowNode : public FPNode
{
      public:
            OutputFlowNode ( ICNDocument* _icnView, int dir, const QPoint& pos, QString* id = 0L );

            ~OutputFlowNode();

            /**
             * Returns true if the node can accept input connections. This will depend
             * on the node type and number of input / output connections.
             */
            virtual 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.
             */
            virtual bool acceptOutput() const;
            
            /**
             * Registers an input connector (i.e. this is the end node) as connected
             * to this node.
             */
            virtual void addInputConnector( Connector * const connector );          
            
      public slots:

            /**
             * Draw shape. Note that this has to remain public.
             */
            virtual void drawShape ( QPainter & p );
};

#endif

Generated by  Doxygen 1.6.0   Back to index