tdesktop/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.h

29 lines
613 B
C
Raw Normal View History

2017-11-10 15:45:10 +00:00
/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
2017-11-10 15:45:10 +00:00
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
2017-11-10 15:45:10 +00:00
*/
#pragma once
#include <rpl/event_stream.h>
#include "boxes/peers/manage_peer_box.h"
class EditPeerInfoBox : public BoxContent {
public:
EditPeerInfoBox(QWidget*, not_null<PeerData*> peer);
2017-11-10 15:45:10 +00:00
void setInnerFocus() override {
_focusRequests.fire({});
}
protected:
void prepare() override;
private:
not_null<PeerData*> _peer;
2017-11-10 15:45:10 +00:00
rpl::event_stream<> _focusRequests;
};