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:
parent
dfb70ed234
commit
a3fb19fe9c
20 changed files with 84 additions and 84 deletions
|
@ -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&)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue