aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/occurencecountnode.h
diff options
context:
space:
mode:
authorRenaud Guezennec <renaud@rolisteam.org>2020-03-28 01:08:11 +0000
committerRenaud Guezennec <renaud@rolisteam.org>2020-03-28 01:08:11 +0000
commit944072519b4e7bc31e93024ece61b1079f7427a5 (patch)
tree522475f7c4d5dade1c0b3482ab35d3f625b99ebe /node/occurencecountnode.h
parent932d863c2a2c9b08d8ce1f4e1041e5795daedc6d (diff)
parent088b2fa45dc2c763187109ec7d77f9eb096e498e (diff)
downloadOneRoll-944072519b4e7bc31e93024ece61b1079f7427a5.tar.gz
OneRoll-944072519b4e7bc31e93024ece61b1079f7427a5.zip
Merge branch 'repeat2' into 'master'
All new features See merge request kde/rolisteam-diceparser!4
Diffstat (limited to 'node/occurencecountnode.h')
-rw-r--r--node/occurencecountnode.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/node/occurencecountnode.h b/node/occurencecountnode.h
index 492b295..aa5c2de 100644
--- a/node/occurencecountnode.h
+++ b/node/occurencecountnode.h
@@ -21,8 +21,8 @@
#define OCCURENCECOUNTNODE_H
#include "executionnode.h"
-#include "validator.h"
+class ValidatorList;
class StringResult;
class DiceResult;
class OccurenceCountNode : public ExecutionNode
@@ -42,8 +42,8 @@ public:
qint64 getHeight() const;
void setHeight(const qint64& height);
- Validator* getValidator() const;
- void setValidator(Validator* validator);
+ ValidatorList* getValidatorList() const;
+ void setValidatorList(ValidatorList* validator);
private:
void runForStringResult(const std::map<qint64, qint64>& mapOccurence, QVector<qint64>& vec);
@@ -52,7 +52,7 @@ private:
private:
qint64 m_width= 1;
qint64 m_height= 0;
- Validator* m_validator= nullptr;
+ ValidatorList* m_validatorList= nullptr;
StringResult* m_stringResult= nullptr;
DiceResult* m_diceResult= nullptr;
};