From c35ae0246f09432d4ab54d6216fcab2167318967 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sat, 1 Aug 2020 14:05:12 +0200 Subject: Group Operator can display complex output --- node/groupnode.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'node/groupnode.h') diff --git a/node/groupnode.h b/node/groupnode.h index afef8c0..84ff2bb 100644 --- a/node/groupnode.h +++ b/node/groupnode.h @@ -24,7 +24,7 @@ #include "node/executionnode.h" #include "result/scalarresult.h" -// typedef QList DieGroup; +#include "result/stringresult.h" #include class DieGroup : public QList @@ -47,7 +47,7 @@ private: class GroupNode : public ExecutionNode { public: - GroupNode(); + GroupNode(bool complexOutput= false); void run(ExecutionNode* previous); virtual QString toString(bool withLabel) const; virtual qint64 getPriority() const; @@ -63,8 +63,10 @@ protected: private: ScalarResult* m_scalarResult; + StringResult* m_stringResult; qint64 m_groupValue; QList m_groupsList; + bool m_complexOutput= false; }; #endif // GROUPNODE_H -- cgit v1.2.3-70-g09d2