COPASI API  4.16.103
CQRDFTreeViewItem.h
Go to the documentation of this file.
1 // Copyright (C) 2010 - 2013 by Pedro Mendes, Virginia Tech Intellectual
2 // Properties, Inc., University of Heidelberg, and The University
3 // of Manchester.
4 // All rights reserved.
5 
6 // Copyright (C) 2009 by Pedro Mendes, Virginia Tech Intellectual
7 // Properties, Inc., EML Research, gGmbH, University of Heidelberg,
8 // and The University of Manchester.
9 // All rights reserved.
10 
11 #ifndef COPASI_CQRDFTreeViewItem
12 #define COPASI_CQRDFTreeViewItem
13 
14 #include <QtGui/QTreeWidgetItem>
15 
17 
18 class CQRDFTreeView;
19 class CRDFNode;
20 class CRDFEdge;
21 
22 class CQRDFTreeViewItem: public QTreeWidgetItem
23 {
24  // Operations
25 public:
26  /**
27  * Default Constructor
28  * @param QTreeWidget * pParent
29  * @param CQRDFTreeViewItem * pAfter (default: NULL)
30  */
31  CQRDFTreeViewItem(QTreeWidget * pParent, CQRDFTreeViewItem * pAfter = NULL);
32 
33  /**
34  * Specific Constructor
35  * @param CQRDFTreeViewItem * pParent
36  * @param CQRDFTreeViewItem * pAfter (default: NULL)
37  */
38  CQRDFTreeViewItem(CQRDFTreeViewItem * pParent, CQRDFTreeViewItem * pAfter = NULL);
39 
40  /**
41  * Destructor
42  */
43  virtual ~CQRDFTreeViewItem();
44 
45  /**
46  * Set the RDF triplet represented by this item
47  * @param const CRDFTriplet & triplet
48  */
49  void setTriplet(const CRDFTriplet & triplet);
50 
51  // Attributes
52 private:
53  /**
54  * The triplet represneted by this item.
55  */
57 };
58 
59 #endif // COPASI_CQRDFTreeViewItem
CQRDFTreeViewItem(QTreeWidget *pParent, CQRDFTreeViewItem *pAfter=NULL)
void setTriplet(const CRDFTriplet &triplet)