Falkon
Develop
Cross-platform Qt-based web browser
opensearchreader.h
Go to the documentation of this file.
1
/*
2
* Copyright 2009 Jakub Wieczorek <faw217@gmail.com>
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
17
* Boston, MA 02110-1301 USA
18
*/
19
/* ============================================================
20
* Falkon - Qt web browser
21
* Copyright (C) 2010-2014 David Rosca <nowrep@gmail.com>
22
*
23
* This program is free software: you can redistribute it and/or modify
24
* it under the terms of the GNU General Public License as published by
25
* the Free Software Foundation, either version 3 of the License, or
26
* (at your option) any later version.
27
*
28
* This program is distributed in the hope that it will be useful,
29
* but WITHOUT ANY WARRANTY; without even the implied warranty of
30
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31
* GNU General Public License for more details.
32
*
33
* You should have received a copy of the GNU General Public License
34
* along with this program. If not, see <http://www.gnu.org/licenses/>.
35
* ============================================================ */
36
#ifndef OPENSEARCHREADER_H
37
#define OPENSEARCHREADER_H
38
39
#include "
qzcommon.h
"
40
41
#include <qxmlstream.h>
42
43
class
OpenSearchEngine
;
44
45
class
FALKON_EXPORT
OpenSearchReader
:
public
QXmlStreamReader
46
{
47
public
:
48
OpenSearchReader
();
49
50
OpenSearchEngine
* read(QIODevice* device);
51
52
private
:
53
OpenSearchEngine
* read();
54
QString m_searchXml;
55
56
};
57
58
#endif
// OPENSEARCHREADER_H
59
OpenSearchEngine
A class representing a single search engine described in OpenSearch format.
Definition:
opensearchengine.h:53
OpenSearchReader
A class reading a search engine description from an external source.
Definition:
opensearchreader.h:46
qzcommon.h
FALKON_EXPORT
#define FALKON_EXPORT
Definition:
qzcommon.h:28
src
lib
opensearch
opensearchreader.h
Generated by
1.9.3