From 8f388a9ec72c7af6832a65ec3cfdd80fa7413492 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Thu, 24 Dec 2015 11:25:16 +0100 Subject: Adding new status "isHomogeneous" for diceresult. --- result/diceresult.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'result/diceresult.h') diff --git a/result/diceresult.h b/result/diceresult.h index 84a4621..fe24277 100644 --- a/result/diceresult.h +++ b/result/diceresult.h @@ -66,11 +66,20 @@ public: * @return */ virtual QString toString(bool wl); + /** + * @brief isHomogeneous + */ + bool isHomogeneous() const; + /** + * @brief setHomogeneous + */ + void setHomogeneous(bool); private: qreal getScalarResult(); private: QList m_diceValues; + bool m_homogeneous; }; #endif // DICERESULT_H -- cgit v1.2.3-70-g09d2