summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setupitem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-09 13:12:18 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-09 13:12:18 +0300
commitb3ad7da111d1a21f14de39d84be97104a9666017 (patch)
tree72338ee95de5337acc4e00c6ff6ab8b2fc458d37 /src/gui/widgets/setupitem.h
parent2e47d5e2897ffd8bcf85b499fe68a20f9f694ebb (diff)
downloadmanaverse-b3ad7da111d1a21f14de39d84be97104a9666017.tar.gz
manaverse-b3ad7da111d1a21f14de39d84be97104a9666017.tar.bz2
manaverse-b3ad7da111d1a21f14de39d84be97104a9666017.tar.xz
manaverse-b3ad7da111d1a21f14de39d84be97104a9666017.zip
add mods tab in settings.
Diffstat (limited to 'src/gui/widgets/setupitem.h')
-rw-r--r--src/gui/widgets/setupitem.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/widgets/setupitem.h b/src/gui/widgets/setupitem.h
index 561265729..d56efca8e 100644
--- a/src/gui/widgets/setupitem.h
+++ b/src/gui/widgets/setupitem.h
@@ -96,6 +96,15 @@ class SetupItem : public gcn::ActionListener,
void rereadValue();
+ void setValue(const std::string str)
+ { mValue = str; }
+
+ std::string getValue() const
+ { return mValue; }
+
+ std::string getEventName() const
+ { return mEventName; }
+
protected:
SetupItem(const std::string &restrict text,
const std::string &restrict description,