File indexing completed on 2024-04-21 14:54:32

0001 /*
0002     SPDX-FileCopyrightText: 2022 Volker Krause <vkrause@kde.org>
0003     SPDX-License-Identifier: LGPL-2.0-or-later
0004 */
0005 
0006 #ifndef KCONTACTS_ADDRESSFORMATTER_H
0007 #define KCONTACTS_ADDRESSFORMATTER_H
0008 
0009 #include "namespace.h"
0010 
0011 class QString;
0012 
0013 namespace KContacts
0014 {
0015 
0016 class Address;
0017 class AddressFormat;
0018 
0019 /** Apply address formatting rules for a given address. */
0020 namespace AddressFormatter
0021 {
0022 QString format(const Address &address, const QString &name, const QString &organization, const AddressFormat &format, AddressFormatStyle style);
0023 };
0024 
0025 }
0026 
0027 #endif // KCONTACTS_ADDRESSFORMATTER_H