1/*
2 SPDX-FileCopyrightText: 2022 Volker Krause <vkrause@kde.org>
3 SPDX-License-Identifier: LGPL-2.0-or-later
4*/
5
6#ifndef KCONTACTS_ADDRESSFORMATTER_H
7#define KCONTACTS_ADDRESSFORMATTER_H
8
9#include "namespace.h"
10
11class QString;
12
13namespace KContacts
14{
15
16class Address;
17class AddressFormat;
18
19/*!
20 * Apply address formatting rules for a given address.
21 * \internal
22 */
23namespace AddressFormatter
24{
25QString format(const Address &address, const QString &name, const QString &organization, const AddressFormat &format, AddressFormatStyle style);
26};
27
28}
29
30#endif // KCONTACTS_ADDRESSFORMATTER_H
31

source code of kcontacts/src/addressformatter_p.h