File indexing completed on 2024-04-28 03:53:33
0001 /* 0002 This file is part of the KContacts framework. 0003 SPDX-FileCopyrightText: 2003 Tobias Koenig <tokoe@kde.org> 0004 0005 SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #ifndef VCARDPARSER_H 0009 #define VCARDPARSER_H 0010 0011 #include "vcard_p.h" 0012 #include <QByteArray> 0013 0014 namespace KContacts 0015 { 0016 class VCardParser 0017 { 0018 public: 0019 VCardParser(); 0020 ~VCardParser(); 0021 0022 static VCard::List parseVCards(const QByteArray &text); 0023 static QByteArray createVCards(const VCard::List &list); 0024 0025 private: 0026 Q_DISABLE_COPY(VCardParser) 0027 class VCardParserPrivate; 0028 VCardParserPrivate *d = nullptr; 0029 }; 0030 } 0031 0032 #endif