1 | /* |
2 | This file is part of KDE. |
3 | |
4 | SPDX-FileCopyrightText: 2011 Laszlo Papp <djszapi@archlinux.us> |
5 | |
6 | SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL |
7 | */ |
8 | |
9 | #ifndef ATTICA_FORUMPARSER_H |
10 | #define ATTICA_FORUMPARSER_H |
11 | |
12 | #include "forum.h" |
13 | #include "parser.h" |
14 | |
15 | namespace Attica |
16 | { |
17 | class Q_DECL_HIDDEN Forum::Parser : public Attica::Parser<Forum> |
18 | { |
19 | private: |
20 | Forum parseXml(QXmlStreamReader &xml) override; |
21 | QList<Forum> parseXmlChildren(QXmlStreamReader &xml); |
22 | QStringList xmlElement() const override; |
23 | }; |
24 | |
25 | } |
26 | |
27 | #endif |
28 | |