summaryrefslogtreecommitdiff
path: root/src/gui/widgets/radiobutton.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-21 19:45:48 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-21 19:45:48 +0300
commit60b40c0c68e9cffbc5f48d4f672d99009488f8b1 (patch)
tree7d2efefb965c0ae928eb80313f2f37fa34cf42b4 /src/gui/widgets/radiobutton.cpp
parent3ed0b5f6edce152fa2eca9c84d64cbeec8ac0173 (diff)
downloadplus-60b40c0c68e9cffbc5f48d4f672d99009488f8b1.tar.gz
plus-60b40c0c68e9cffbc5f48d4f672d99009488f8b1.tar.bz2
plus-60b40c0c68e9cffbc5f48d4f672d99009488f8b1.tar.xz
plus-60b40c0c68e9cffbc5f48d4f672d99009488f8b1.zip
Rename mouseEvent variables into event.
Diffstat (limited to 'src/gui/widgets/radiobutton.cpp')
-rw-r--r--src/gui/widgets/radiobutton.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/widgets/radiobutton.cpp b/src/gui/widgets/radiobutton.cpp
index e83e9229a..549e8823e 100644
--- a/src/gui/widgets/radiobutton.cpp
+++ b/src/gui/widgets/radiobutton.cpp
@@ -271,19 +271,19 @@ void RadioButton::setSelected(const bool selected)
mSelected = selected;
}
-void RadioButton::mouseClicked(MouseEvent& mouseEvent)
+void RadioButton::mouseClicked(MouseEvent& event)
{
- if (mouseEvent.getButton() == MouseEvent::LEFT)
+ if (event.getButton() == MouseEvent::LEFT)
{
setSelected(true);
- mouseEvent.consume();
+ event.consume();
distributeActionEvent();
}
}
-void RadioButton::mouseDragged(MouseEvent& mouseEvent)
+void RadioButton::mouseDragged(MouseEvent& event)
{
- mouseEvent.consume();
+ event.consume();
}
void RadioButton::setGroup(const std::string &group)