aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/die.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2019-02-12 23:59:24 +0100
committerRenaud G <renaud@rolisteam.org>2019-02-12 23:59:24 +0100
commitf2051fb35b1ad49c4d940e6fbba2acc98b216e13 (patch)
tree03117f493191d35104ac37eba72e916d41c849f2 /die.h
parent210a222b894caa3c8af38ccb6653db0fd8491f6e (diff)
downloadOneRoll-f2051fb35b1ad49c4d940e6fbba2acc98b216e13.tar.gz
OneRoll-f2051fb35b1ad49c4d940e6fbba2acc98b216e13.zip
clang format
Diffstat (limited to 'die.h')
-rw-r--r--die.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/die.h b/die.h
index 7eea0c3..9f50120 100644
--- a/die.h
+++ b/die.h
@@ -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;