File indexing completed on 2024-11-24 04:44:11
0001 /* 0002 * SPDX-FileCopyrightText: 2012 Christian Mollekopf <mollekopf@kolabsys.com> 0003 * 0004 * SPDX-License-Identifier: LGPL-3.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "kolab_export.h" 0010 0011 #include <KContacts/Addressee> 0012 #include <KContacts/ContactGroup> 0013 #include <kolabcontact.h> 0014 0015 namespace Kolab 0016 { 0017 /** 0018 * Conversion of Kolab-Containers to/from KABC Containers. 0019 * 0020 */ 0021 namespace Conversion 0022 { 0023 KOLAB_EXPORT KContacts::Addressee toKABC(const Kolab::Contact &); 0024 KOLAB_EXPORT Kolab::Contact fromKABC(const KContacts::Addressee &); 0025 0026 KOLAB_EXPORT KContacts::ContactGroup toKABC(const Kolab::DistList &); 0027 KOLAB_EXPORT Kolab::DistList fromKABC(const KContacts::ContactGroup &); 0028 } 0029 }