1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:27:35 +00:00

IRCClient: Use a model for the window list.

This commit is contained in:
Andreas Kling 2019-03-15 14:01:04 +01:00
parent eba5fd3f46
commit a23dddc56f
7 changed files with 138 additions and 24 deletions

View file

@ -14,10 +14,10 @@ private:
void setup_client();
void setup_widgets();
void create_subwindow(IRCClientWindow::Type, const String& name);
IRCClientWindow& create_subwindow(IRCClientWindow::Type, const String& name);
IRCClientWindow& ensure_window(IRCClientWindow::Type, const String& name);
IRCClient m_client;
GWidget* m_subwindow_container { nullptr };
Vector<IRCClientWindow*> m_subwindows;
};