aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dicealias.h
diff options
context:
space:
mode:
Diffstat (limited to 'dicealias.h')
-rw-r--r--dicealias.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/dicealias.h b/dicealias.h
index 5acca46..05d9040 100644
--- a/dicealias.h
+++ b/dicealias.h
@@ -37,7 +37,7 @@ public:
* @param key
* @param isReplace
*/
- DiceAlias(QString cmd, QString key, bool isReplace = true);
+ DiceAlias(QString cmd, QString key, bool isReplace = true, bool isEnable = true);
/**
* @brief ~DiceAlias
*/
@@ -82,10 +82,22 @@ public:
* @brief setReplace
*/
void setReplace(bool);
+ /**
+ * @brief isEnable
+ * @return
+ */
+ bool isEnable() const;
+ /**
+ * @brief setEnable
+ * @param b
+ */
+ void setEnable(bool b);
+
private:
QString m_command;
QString m_value;
RESOLUTION_TYPE m_type;
+ bool m_isEnable;
};