From 22f12b5d47cf35cf4196156febc68d6eb78ef3f2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Dec 2013 20:38:57 +0300 Subject: add restrict into setuptouchitem. --- src/gui/widgets/setuptouchitem.cpp | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) (limited to 'src/gui/widgets/setuptouchitem.cpp') 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), -- cgit v1.2.3-60-g2f50