2020-02-04 23:50:29 +00:00
|
|
|
/*
|
|
|
|
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
|
|
|
|
|
|
|
|
#ifndef TDESKTOP_DISABLE_SPELLCHECK
|
|
|
|
|
2023-11-15 00:52:41 +00:00
|
|
|
#include "ui/layers/box_content.h"
|
2020-02-04 23:50:29 +00:00
|
|
|
|
2022-03-03 08:35:21 +00:00
|
|
|
namespace Main {
|
|
|
|
class Session;
|
|
|
|
} // namespace Main
|
2020-02-04 23:50:29 +00:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
|
|
|
|
class ManageDictionariesBox : public Ui::BoxContent {
|
|
|
|
public:
|
2022-03-03 08:35:21 +00:00
|
|
|
ManageDictionariesBox(QWidget*, not_null<Main::Session*> session);
|
2020-02-04 23:50:29 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
void prepare() override;
|
2020-02-08 23:22:39 +00:00
|
|
|
void setInnerFocus() override;
|
2020-02-04 23:50:29 +00:00
|
|
|
|
|
|
|
private:
|
2022-03-03 08:35:21 +00:00
|
|
|
const not_null<Main::Session*> _session;
|
2020-02-08 23:22:39 +00:00
|
|
|
Fn<void()> _setInnerFocus;
|
2020-02-04 23:50:29 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
#endif // !TDESKTOP_DISABLE_SPELLCHECK
|