diff options
author | Marius Kintel <marius@kintel.net> | 2011-08-04 02:58:17 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-08-04 02:58:17 (GMT) |
commit | cf4821c589dc5a43895c7ea781f6a916c8b5821c (patch) | |
tree | 5d3cf7a69f39187d2cc9b639cacfb68a812ae467 /src/node.h | |
parent | e3e31c0f4f1049cb983906cc8fea83ef78611231 (diff) |
De-Qt-ified AbstractNode
Diffstat (limited to 'src/node.h')
-rw-r--r-- | src/node.h | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -1,8 +1,7 @@ #ifndef NODE_H_ #define NODE_H_ -#include <QCache> -#include <QVector> +#include <vector> #include "traverser.h" @@ -38,16 +37,15 @@ public: virtual std::string name() const; // FIXME: Make return value a reference - const std::list<AbstractNode*> getChildren() const { - return this->children.toList().toStdList(); + const std::vector<AbstractNode*> getChildren() const { + return this->children; } size_t index() const { return this->idx; } static void resetIndexCounter() { idx_counter = 1; } - // FIXME: Rewrite to STL container? // FIXME: Make protected - QVector<AbstractNode*> children; + std::vector<AbstractNode*> children; const ModuleInstantiation *modinst; // progress_mark is a running number used for progress indication |