diff options
| author | 2019-02-12 23:59:24 +0100 | |
|---|---|---|
| committer | 2019-02-12 23:59:24 +0100 | |
| commit | f2051fb35b1ad49c4d940e6fbba2acc98b216e13 (patch) | |
| tree | 03117f493191d35104ac37eba72e916d41c849f2 /die.h | |
| parent | 210a222b894caa3c8af38ccb6653db0fd8491f6e (diff) | |
| download | OneRoll-f2051fb35b1ad49c4d940e6fbba2acc98b216e13.tar.gz OneRoll-f2051fb35b1ad49c4d940e6fbba2acc98b216e13.zip | |
clang format
Diffstat (limited to 'die.h')
| -rw-r--r-- | die.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -31,7 +31,7 @@ */ class Die { - public: +public: /** * @brief The ArithmeticOperator enum */ @@ -92,7 +92,7 @@ class Die * @brief roll * @param adding */ - void roll(bool adding = false); + void roll(bool adding= false); /** * @brief replaceLastValue * @param value @@ -143,13 +143,13 @@ class Die Die::ArithmeticOperator getOp() const; void setOp(const Die::ArithmeticOperator& op); - private: - qint64 m_value = 0; +private: + qint64 m_value= 0; QList<qint64> m_rollResult; - bool m_selected = false; - bool m_hasValue = false; - bool m_displayStatus = false; - bool m_highlighted = true; + bool m_selected= false; + bool m_hasValue= false; + bool m_displayStatus= false; + bool m_highlighted= true; qint64 m_maxValue; qint64 m_base; QString m_color; |