2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

Use layers and boxes from lib_ui.

This commit is contained in:
John Preston
2019-09-18 14:19:05 +03:00
parent 860353824b
commit a6c84c36c0
209 changed files with 586 additions and 3349 deletions

View File

@@ -54,7 +54,7 @@ void ShowAddParticipantsError(
not_null<PeerData*> chat,
const std::vector<not_null<UserData*>> &users);
class AddContactBox : public BoxContent {
class AddContactBox : public Ui::BoxContent {
public:
AddContactBox(QWidget*, not_null<Main::Session*> session);
AddContactBox(
@@ -94,7 +94,7 @@ private:
};
class GroupInfoBox : public BoxContent, private MTP::Sender {
class GroupInfoBox : public Ui::BoxContent, private MTP::Sender {
public:
enum class Type {
Group,
@@ -140,7 +140,7 @@ private:
};
class SetupChannelBox
: public BoxContent
: public Ui::BoxContent
, public RPCSender
, private base::Subscriber {
public:
@@ -209,7 +209,7 @@ private:
};
class EditNameBox : public BoxContent, public RPCSender {
class EditNameBox : public Ui::BoxContent, public RPCSender {
public:
EditNameBox(QWidget*, not_null<UserData*> user);
@@ -238,7 +238,7 @@ private:
};
class RevokePublicLinkBox
: public BoxContent
: public Ui::BoxContent
, public RPCSender
, private base::Subscriber {
public: