1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:57:45 +00:00

Use fooEvent() type names for the virtual event handlers.

This commit is contained in:
Andreas Kling 2018-10-13 22:51:50 +02:00
parent dfb70ed234
commit a3fb19fe9c
20 changed files with 84 additions and 84 deletions

View file

@ -27,7 +27,7 @@ void Object::event(Event& event)
{
switch (event.type()) {
case Event::Timer:
return onTimer(static_cast<TimerEvent&>(event));
return timerEvent(static_cast<TimerEvent&>(event));
case Event::Invalid:
ASSERT_NOT_REACHED();
break;
@ -51,7 +51,7 @@ void Object::removeChild(Object& object)
}
}
void Object::onTimer(TimerEvent&)
void Object::timerEvent(TimerEvent&)
{
}