added save functions to various classes
Each class is responsible for its own saving and loading from the XML data in order to reduce the complexity of the save code.
This commit is contained in:
+2
-2
@@ -58,12 +58,12 @@ public:
|
||||
/**
|
||||
* @brief Retrieve a complete list of the nodes belonging to this graph
|
||||
*/
|
||||
const QList<Node*>& nodes();
|
||||
const QList<Node*>& nodes() const;
|
||||
|
||||
/**
|
||||
* @brief Returns whether a certain Node is in the graph or not
|
||||
*/
|
||||
bool ContainsNode(Node* n);
|
||||
bool ContainsNode(Node* n) const;
|
||||
|
||||
signals:
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user