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:
parent
eba5fd3f46
commit
a23dddc56f
7 changed files with 138 additions and 24 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue