aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dicealias.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2016-01-17 01:57:18 +0100
committerRenaud G <renaud@rolisteam.org>2016-01-17 01:57:18 +0100
commit239051eff0ca6f28a4143c0f680c2600b2b0cb64 (patch)
treeb1a424fadfef70244eadbe07979f69c9ed2019e2 /dicealias.cpp
parentd3b925e690b56ef4dce68246661f5c55a93564cf (diff)
downloadOneRoll-239051eff0ca6f28a4143c0f680c2600b2b0cb64.tar.gz
OneRoll-239051eff0ca6f28a4143c0f680c2600b2b0cb64.zip
Add comments to dice alias
Diffstat (limited to 'dicealias.cpp')
-rw-r--r--dicealias.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/dicealias.cpp b/dicealias.cpp
index 59e8d69..08adb7a 100644
--- a/dicealias.cpp
+++ b/dicealias.cpp
@@ -112,3 +112,13 @@ void DiceAlias::setEnable(bool b)
{
m_isEnable = b;
}
+
+QString DiceAlias::getComment() const
+{
+ return m_comment;
+}
+
+void DiceAlias::setComment(const QString &comment)
+{
+ m_comment = comment;
+}