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

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -36,12 +36,12 @@ CoverWizardPage::CoverWizardPage()
m_body_label->set_text_alignment(Gfx::TextAlignment::TopLeft);
}
void CoverWizardPage::set_header_text(const String& text)
void CoverWizardPage::set_header_text(String const& text)
{
m_header_label->set_text(text);
}
void CoverWizardPage::set_body_text(const String& text)
void CoverWizardPage::set_body_text(String const& text)
{
m_body_label->set_text(text);
}

View file

@ -18,8 +18,8 @@ class CoverWizardPage : public AbstractWizardPage {
ImageWidget& banner_image_widget() { return *m_banner_image_widget; }
void set_header_text(const String& text);
void set_body_text(const String& text);
void set_header_text(String const& text);
void set_body_text(String const& text);
private:
explicit CoverWizardPage();

View file

@ -14,7 +14,7 @@
namespace GUI {
WizardPage::WizardPage(const String& title_text, const String& subtitle_text)
WizardPage::WizardPage(String const& title_text, String const& subtitle_text)
: AbstractWizardPage()
{
set_layout<VerticalBoxLayout>();
@ -44,12 +44,12 @@ WizardPage::WizardPage(const String& title_text, const String& subtitle_text)
m_body_widget->layout()->set_margins(20);
}
void WizardPage::set_page_title(const String& text)
void WizardPage::set_page_title(String const& text)
{
m_title_label->set_text(text);
}
void WizardPage::set_page_subtitle(const String& text)
void WizardPage::set_page_subtitle(String const& text)
{
m_subtitle_label->set_text(text);
}

View file

@ -18,11 +18,11 @@ class WizardPage : public AbstractWizardPage {
Widget& body_widget() { return *m_body_widget; };
void set_page_title(const String& text);
void set_page_subtitle(const String& text);
void set_page_title(String const& text);
void set_page_subtitle(String const& text);
private:
explicit WizardPage(const String& title_text, const String& subtitle_text);
explicit WizardPage(String const& title_text, String const& subtitle_text);
RefPtr<Widget> m_body_widget;