| 1 | /* |
| 2 | This file is part of KDE. |
| 3 | |
| 4 | SPDX-FileCopyrightText: 2008 Cornelius Schumacher <schumacher@kde.org> |
| 5 | |
| 6 | SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL |
| 7 | */ |
| 8 | |
| 9 | #ifndef ATTICA_PERSONPARSER_H |
| 10 | #define ATTICA_PERSONPARSER_H |
| 11 | |
| 12 | #include "parser.h" |
| 13 | #include "person.h" |
| 14 | |
| 15 | #include "attica_export.h" |
| 16 | |
| 17 | namespace Attica |
| 18 | { |
| 19 | // exported for autotest |
| 20 | class ATTICA_EXPORT Person::Parser : public Attica::Parser<Person> |
| 21 | { |
| 22 | private: |
| 23 | Person parseXml(QXmlStreamReader &xml) override; |
| 24 | QStringList xmlElement() const override; |
| 25 | }; |
| 26 | |
| 27 | } |
| 28 | |
| 29 | #endif |
| 30 | |