fpnode.h

00001 /***************************************************************************
00002  *   Copyright (C) 2003-2005 by David Saxton                               *
00003  *   david@bluehaze.org                                                    *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  ***************************************************************************/
00010 
00011 #ifndef FPNODE_H
00012 #define FPNODE_H
00013 
00014 #include "node.h"
00015 
00016 
00017 class FlowPart;
00018 typedef QValueList<FlowPart*> FlowPartList;
00019 
00026 class FPNode : public Node
00027 {
00028 Q_OBJECT
00029 public:
00030     FPNode( ICNDocument *_icnView, Node::node_type type, node_dir dir, const QPoint &pos, QString *id = 0 );
00031     ~FPNode();
00032         
00037         FlowPart *outputFlowPart() const;
00043         FlowPartList inputFlowParts() const;
00044 
00045 protected:
00046         virtual void drawShape( QPainter & p );
00047         
00048 private:
00049         bool m_isInput;
00050 };
00051 
00052 #endif
00053 

Generated on Tue May 8 17:05:30 2007 for KTechLab by  doxygen 1.5.1