intro_start.h 680 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. This file is part of Telegram Desktop,
  3. the official desktop application for the Telegram messaging service.
  4. For license and copyright information please follow this link:
  5. https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
  6. */
  7. #pragma once
  8. #include "intro/intro_step.h"
  9. namespace Ui {
  10. class FlatLabel;
  11. class LinkButton;
  12. class RoundButton;
  13. } // namespace Ui
  14. namespace Intro {
  15. namespace details {
  16. class StartWidget : public Step {
  17. public:
  18. StartWidget(
  19. QWidget *parent,
  20. not_null<Main::Account*> account,
  21. not_null<Data*> data);
  22. void submit() override;
  23. rpl::producer<QString> nextButtonText() const override;
  24. };
  25. } // namespace details
  26. } // namespace Intro