summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setuptouchitem.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-17 20:38:57 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-17 20:38:57 +0300
commit22f12b5d47cf35cf4196156febc68d6eb78ef3f2 (patch)
tree55429423878e31b8a86b2bcf36547a93b7bc880f /src/gui/widgets/setuptouchitem.cpp
parentb52b013d0edc3be56566aa4fb21c5cde8a8997f5 (diff)
downloadmanaplus-22f12b5d47cf35cf4196156febc68d6eb78ef3f2.tar.gz
manaplus-22f12b5d47cf35cf4196156febc68d6eb78ef3f2.tar.bz2
manaplus-22f12b5d47cf35cf4196156febc68d6eb78ef3f2.tar.xz
manaplus-22f12b5d47cf35cf4196156febc68d6eb78ef3f2.zip
add restrict into setuptouchitem.
Diffstat (limited to 'src/gui/widgets/setuptouchitem.cpp')
-rw-r--r--src/gui/widgets/setuptouchitem.cpp30
1 files changed, 17 insertions, 13 deletions
diff --git a/src/gui/widgets/setuptouchitem.cpp b/src/gui/widgets/setuptouchitem.cpp
index d8d6eda9a..58a34de45 100644
--- a/src/gui/widgets/setuptouchitem.cpp
+++ b/src/gui/widgets/setuptouchitem.cpp
@@ -89,12 +89,14 @@ int TouchActionsModel::getSelectionFromAction(const int action) const
}
-SetupActionDropDown::SetupActionDropDown(const std::string &text,
- const std::string &description,
- const std::string &keyName,
- SetupTabScroll *const parent,
- const std::string &eventName,
- TouchActionsModel *const model,
+SetupActionDropDown::SetupActionDropDown(const std::string &restrict text,
+ const std::string &restrict
+ description,
+ const std::string &restrict keyName,
+ SetupTabScroll *restrict const parent,
+ const std::string &restrict eventName,
+ TouchActionsModel *restrict
+ const model,
const int width,
const bool mainConfig) :
SetupItem(text, description, keyName, parent, eventName, mainConfig),
@@ -108,14 +110,16 @@ SetupActionDropDown::SetupActionDropDown(const std::string &text,
createControls();
}
-SetupActionDropDown::SetupActionDropDown(const std::string &text,
- const std::string &description,
- const std::string &keyName,
- SetupTabScroll *const parent,
- const std::string &eventName,
- TouchActionsModel *const model,
+SetupActionDropDown::SetupActionDropDown(const std::string &restrict text,
+ const std::string &restrict
+ description,
+ const std::string &restrict keyName,
+ SetupTabScroll *restrict const parent,
+ const std::string &restrict eventName,
+ TouchActionsModel *restrict
+ const model,
const int width,
- const std::string &def,
+ const std::string &restrict def,
const bool mainConfig) :
SetupItem(text, description, keyName, parent, eventName, def, mainConfig),
mHorizont(nullptr),