1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:18:13 +00:00

Userland: Rename Core::Object to Core::EventReceiver

This is a more precise description of what this class actually does.
This commit is contained in:
Andreas Kling 2023-08-06 18:09:39 +02:00 committed by Jelle Raaijmakers
parent bdf696e488
commit ddbe6bd7b4
128 changed files with 399 additions and 401 deletions

View file

@ -84,8 +84,8 @@ static Gfx::Bitmap& move_icon()
return *s_icon;
}
Window::Window(Core::Object& parent, WindowType type)
: Core::Object(&parent)
Window::Window(Core::EventReceiver& parent, WindowType type)
: Core::EventReceiver(&parent)
, m_type(type)
, m_icon(default_window_icon())
, m_frame(*this)
@ -95,7 +95,7 @@ Window::Window(Core::Object& parent, WindowType type)
}
Window::Window(ConnectionFromClient& client, WindowType window_type, WindowMode window_mode, int window_id, bool minimizable, bool closeable, bool frameless, bool resizable, bool fullscreen, Window* parent_window)
: Core::Object(&client)
: Core::EventReceiver(&client)
, m_client(&client)
, m_type(window_type)
, m_mode(window_mode)