1 /* 2 This file is part of Telegram Desktop, 3 the official desktop application for the Telegram messaging service. 4 5 For license and copyright information please follow this link: 6 https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL 7 */ 8 #pragma once 9 10 #include "base/object_ptr.h" 11 12 namespace Ui { 13 class RpWidget; 14 } // namespace Ui 15 16 namespace Calls::Group::Ui { 17 18 using namespace ::Ui; 19 20 [[nodiscard]] rpl::producer<QString> StartsWhenText( 21 rpl::producer<TimeId> date); 22 23 [[nodiscard]] object_ptr<RpWidget> CreateGradientLabel( 24 QWidget *parent, 25 rpl::producer<QString> text); 26 27 } // namespace Calls::Group::Ui 28