mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
IRCClient: Start using GStackWidget for the subwindows.
This commit is contained in:
parent
497300c492
commit
1089cd1378
5 changed files with 22 additions and 20 deletions
|
@ -1,8 +1,10 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibGUI/GTableModel.h>
|
||||
#include <AK/Function.h>
|
||||
|
||||
class IRCClient;
|
||||
class IRCClientWindow;
|
||||
|
||||
class IRCClientWindowListModel final : public GTableModel {
|
||||
public:
|
||||
|
@ -21,6 +23,8 @@ public:
|
|||
virtual void update() override;
|
||||
virtual void activate(const GModelIndex&) override;
|
||||
|
||||
Function<void(IRCClientWindow&)> on_activation;
|
||||
|
||||
private:
|
||||
IRCClient& m_client;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue