ZaStoGram_desktop/Telegram/SourceFiles/wallet/wallet_address_label.h
John Preston 5658850cb4 Make Gram offers for address-owned gifts from the menu
Task: 2026/11/11/make-gram-offers-for-address-owned-gifts-from-the-gift-menu
2026-11-22 23:45:29 +04:00

30 lines
666 B
C++

/*
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
#include "base/object_ptr.h"
namespace style {
struct FlatLabel;
} // namespace style
namespace Ui {
class FlatLabel;
} // namespace Ui
namespace Wallet {
[[nodiscard]] object_ptr<Ui::FlatLabel> MakeAddressLabel(
not_null<QWidget*> parent,
const QString &address,
const style::FlatLabel &st,
Fn<void()> clicked);
[[nodiscard]] QString FormatAddressGroups(const QString &address);
} // namespace Wallet