File indexing completed on 2024-11-03 12:34:39
0001 /* 0002 SPDX-FileCopyrightText: 2022 Volker Krause <vkrause@kde.org> 0003 SPDX-License-Identifier: LGPL-2.0-or-later 0004 */ 0005 0006 #ifndef KCONTACTS_ADDRESSFORMATPARSER_P_H 0007 #define KCONTACTS_ADDRESSFORMATPARSER_P_H 0008 0009 #include "addressformat.h" 0010 0011 #include <vector> 0012 0013 namespace KContacts 0014 { 0015 0016 /** Parsing functions for address format data. 0017 * @internal 0018 */ 0019 namespace AddressFormatParser 0020 { 0021 AddressFormatField parseField(QChar c); 0022 AddressFormatFields parseFields(QStringView s); 0023 std::vector<AddressFormatElement> parseElements(QStringView s); 0024 } 0025 } 0026 0027 #endif // KCONTACTS_ADDRESSFORMATPARSER_P_H