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:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue