2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Rename Window::Controller to Window::SessionController.

This commit is contained in:
John Preston
2019-06-06 13:21:40 +03:00
parent 263bbf1788
commit a547f80ae9
123 changed files with 445 additions and 415 deletions

View File

@@ -13,7 +13,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "storage/storage_media_prepare.h"
namespace Window {
class Controller;
class SessionController;
} // namespace Window
namespace ChatHelpers {
@@ -32,7 +32,7 @@ class EmojiButton;
} // namespace Ui
namespace Window {
class Controller;
class SessionController;
} // namespace Window
enum class SendFilesWay {
@@ -45,7 +45,7 @@ class SendFilesBox : public BoxContent {
public:
SendFilesBox(
QWidget*,
not_null<Window::Controller*> controller,
not_null<Window::SessionController*> controller,
Storage::PreparedList &&list,
const TextWithTags &caption,
CompressConfirm compressed);
@@ -107,7 +107,7 @@ private:
bool canAddUrls(const QList<QUrl> &urls) const;
bool addFiles(not_null<const QMimeData*> data);
not_null<Window::Controller*> _controller;
not_null<Window::SessionController*> _controller;
QString _titleText;
int _titleHeight = 0;