ZaStoGram_desktop/Telegram/SourceFiles/settings/sections/settings_chat.h
John Preston 0cf9b4c294 Remove unused settings section builders
Task: 2026/10/15/remove-unused-settings-section-builders
2026-10-15 15:38:26 +04:00

80 lines
2.1 KiB
C++

/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "settings/settings_common.h"
class QPainter;
class QBrush;
namespace Window {
class Controller;
class SessionController;
} // namespace Window
namespace Ui {
class VerticalLayout;
} // namespace Ui
namespace Settings {
[[nodiscard]] Type ChatId();
void SetupDefaultThemes(
not_null<Window::Controller*> window,
not_null<Ui::VerticalLayout*> container,
HighlightRegistry *highlights = nullptr);
void PaintRoundColorButton(
QPainter &p,
int size,
QBrush brush,
float64 selected);
void SetupThemeOptions(
not_null<Window::SessionController*> controller,
not_null<Ui::VerticalLayout*> container,
HighlightRegistry *highlights = nullptr);
void SetupThemeSettings(
not_null<Window::SessionController*> controller,
not_null<Ui::VerticalLayout*> container,
HighlightRegistry *highlights = nullptr);
void SetupCloudThemes(
not_null<Window::SessionController*> controller,
not_null<Ui::VerticalLayout*> container,
HighlightRegistry *highlights = nullptr);
void SetupChatBackground(
not_null<Window::SessionController*> controller,
not_null<Ui::VerticalLayout*> container,
HighlightRegistry *highlights = nullptr);
void SetupChatListQuickAction(
not_null<Window::SessionController*> controller,
not_null<Ui::VerticalLayout*> container,
HighlightRegistry *highlights = nullptr);
void SetupStickersEmoji(
not_null<Window::SessionController*> controller,
not_null<Ui::VerticalLayout*> container,
HighlightRegistry *highlights = nullptr);
void SetupMessages(
not_null<Window::SessionController*> controller,
not_null<Ui::VerticalLayout*> container,
HighlightRegistry *highlights = nullptr);
void SetupSensitiveContent(
not_null<Window::SessionController*> controller,
not_null<Ui::VerticalLayout*> container,
rpl::producer<> updateTrigger,
HighlightRegistry *highlights = nullptr);
} // namespace Settings