1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:17:44 +00:00

IRCClient: Rename IRCSubWindow => IRCClientWindow.

This commit is contained in:
Andreas Kling 2019-03-15 13:20:46 +01:00
parent f004db19d0
commit eba5fd3f46
7 changed files with 26 additions and 26 deletions

View file

@ -1,5 +1,5 @@
#include "IRCAppWindow.h"
#include "IRCSubWindow.h"
#include "IRCClientWindow.h"
#include <LibGUI/GListBox.h>
#include <LibGUI/GBoxLayout.h>
@ -51,11 +51,11 @@ void IRCAppWindow::setup_widgets()
m_subwindow_container->set_layout(make<GBoxLayout>(Orientation::Vertical));
m_subwindow_container->set_size_policy(SizePolicy::Fill, SizePolicy::Fill);
create_subwindow(IRCSubWindow::Server, "Server");
create_subwindow(IRCClientWindow::Server, "Server");
}
void IRCAppWindow::create_subwindow(IRCSubWindow::Type type, const String& name)
void IRCAppWindow::create_subwindow(IRCClientWindow::Type type, const String& name)
{
auto* subwindow = new IRCSubWindow(m_client, type, name, m_subwindow_container);
auto* subwindow = new IRCClientWindow(m_client, type, name, m_subwindow_container);
m_subwindows.append(subwindow);
}