aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dicealias.h
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.h
parentd3b925e690b56ef4dce68246661f5c55a93564cf (diff)
downloadOneRoll-239051eff0ca6f28a4143c0f680c2600b2b0cb64.tar.gz
OneRoll-239051eff0ca6f28a4143c0f680c2600b2b0cb64.zip
Add comments to dice alias
Diffstat (limited to 'dicealias.h')
-rw-r--r--dicealias.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/dicealias.h b/dicealias.h
index 189b0f9..51ee5d3 100644
--- a/dicealias.h
+++ b/dicealias.h
@@ -93,9 +93,21 @@ public:
* @param b
*/
void setEnable(bool b);
+ /**
+ * @brief getComment
+ * @return
+ */
+ QString getComment() const;
+ /**
+ * @brief setComment
+ * @param comment
+ */
+ void setComment(const QString &comment);
+
private:
QString m_command;
QString m_value;
+ QString m_comment;
RESOLUTION_TYPE m_type;
bool m_isEnable;