File indexing completed on 2024-11-24 04:39:32
0001 /* 0002 This file is part of Contact Editor. 0003 0004 SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org> 0005 0006 SPDX-License-Identifier: LGPL-2.0-or-later 0007 */ 0008 0009 #pragma once 0010 0011 #include <QString> 0012 namespace KContacts 0013 { 0014 class Addressee; 0015 } 0016 0017 namespace Akonadi 0018 { 0019 namespace Utils 0020 { 0021 void splitCustomField(const QString &str, QString &app, QString &name, QString &value); 0022 [[nodiscard]] QString loadCustom(const KContacts::Addressee &contact, const QString &key); 0023 void storeCustom(KContacts::Addressee &contact, const QString &key, const QString &value); 0024 } 0025 }