2017-03-21 11:42:04 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
2018-01-03 10:23:14 +00:00
|
|
|
the official desktop application for the Telegram messaging service.
|
2017-03-21 11:42:04 +00:00
|
|
|
|
2018-01-03 10:23:14 +00:00
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
2017-03-21 11:42:04 +00:00
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
2017-04-06 14:38:10 +00:00
|
|
|
#include "boxes/abstract_box.h"
|
2017-03-21 11:42:04 +00:00
|
|
|
|
2019-07-24 14:00:30 +00:00
|
|
|
namespace Main {
|
|
|
|
class Session;
|
|
|
|
} // namespace Main
|
|
|
|
|
2019-09-18 11:19:05 +00:00
|
|
|
class ChangePhoneBox : public Ui::BoxContent {
|
2017-03-21 11:42:04 +00:00
|
|
|
public:
|
2019-07-24 14:00:30 +00:00
|
|
|
ChangePhoneBox(QWidget*, not_null<Main::Session*> session);
|
2017-03-21 11:42:04 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
void prepare() override;
|
|
|
|
|
|
|
|
void paintEvent(QPaintEvent *e) override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
class EnterPhone;
|
|
|
|
class EnterCode;
|
|
|
|
|
2019-07-24 14:00:30 +00:00
|
|
|
const not_null<Main::Session*> _session;
|
|
|
|
|
2017-03-21 11:42:04 +00:00
|
|
|
};
|
|
|
|
|