~ubuntu-branches/ubuntu/utopic/attica-kf5/utopic

« back to all changes in this revision

Viewing changes to src/knowledgebaseentryparser.h

  • Committer: Package Import Robot
  • Author(s): Maximiliano Curia
  • Date: 2014-07-15 10:53:09 UTC
  • Revision ID: package-import@ubuntu.com-20140715105309-nnjxenwcs6h4qznf
Tags: upstream-5.0.0
ImportĀ upstreamĀ versionĀ 5.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    This file is part of KDE.
 
3
 
 
4
    Copyright (c) 2008 Cornelius Schumacher <schumacher@kde.org>
 
5
    Copyright (c) 2009 Marco Martin <notmart@gmail.com>
 
6
 
 
7
    This library is free software; you can redistribute it and/or
 
8
    modify it under the terms of the GNU Lesser General Public
 
9
    License as published by the Free Software Foundation; either
 
10
    version 2.1 of the License, or (at your option) version 3, or any
 
11
    later version accepted by the membership of KDE e.V. (or its
 
12
    successor approved by the membership of KDE e.V.), which shall
 
13
    act as a proxy defined in Section 6 of version 3 of the license.
 
14
 
 
15
    This library is distributed in the hope that it will be useful,
 
16
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
18
    Lesser General Public License for more details.
 
19
 
 
20
    You should have received a copy of the GNU Lesser General Public
 
21
    License along with this library.  If not, see <http://www.gnu.org/licenses/>.
 
22
 
 
23
*/
 
24
 
 
25
#ifndef ATTICA_KNOWLEDGEBASEENTRYPARSER_H
 
26
#define ATTICA_KNOWLEDGEBASEENTRYPARSER_H
 
27
 
 
28
#include "knowledgebaseentry.h"
 
29
#include "parser.h"
 
30
 
 
31
namespace Attica
 
32
{
 
33
 
 
34
class KnowledgeBaseEntry::Parser : public Attica::Parser<KnowledgeBaseEntry>
 
35
{
 
36
private:
 
37
    KnowledgeBaseEntry parseXml(QXmlStreamReader &xml);
 
38
    QStringList xmlElement() const;
 
39
};
 
40
 
 
41
}
 
42
 
 
43
#endif