2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-24 19:27:17 +00:00
tdesktop/Telegram/SourceFiles/boxes/change_phone_box.h

33 lines
633 B
C
Raw Normal View History

/*
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
2017-04-06 17:38:10 +03:00
#include "boxes/abstract_box.h"
2019-07-24 16:00:30 +02:00
namespace Main {
class Session;
} // namespace Main
2019-09-18 14:19:05 +03:00
class ChangePhoneBox : public Ui::BoxContent {
public:
2019-07-24 16:00:30 +02:00
ChangePhoneBox(QWidget*, not_null<Main::Session*> session);
protected:
void prepare() override;
void paintEvent(QPaintEvent *e) override;
private:
class EnterPhone;
class EnterCode;
2019-07-24 16:00:30 +02:00
const not_null<Main::Session*> _session;
};