alkimia
8.0.2
src
alkwebpage.h
Go to the documentation of this file.
1
/***************************************************************************
2
* Copyright 2018 Ralf Habacker <ralf.habacker@freenet.de> *
3
* *
4
* This file is part of libalkimia. *
5
* *
6
* libalkimia is free software; you can redistribute it and/or *
7
* modify it under the terms of the GNU Lesser General Public License *
8
* as published by the Free Software Foundation; either version 2.1 of *
9
* the License or (at your option) version 3 or any later version. *
10
* *
11
* libalkimia is distributed in the hope that it will be useful, *
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
* GNU General Public License for more details. *
15
* *
16
* You should have received a copy of the GNU General Public License *
17
* along with this program. If not, see <http://www.gnu.org/licenses/> *
18
***************************************************************************/
19
20
#ifndef ALKWEBPAGE_H
21
#define ALKWEBPAGE_H
22
23
#include <alkimia/alk_export.h>
24
25
#include <QObject>
26
#include <QWebView>
27
28
class
QUrl;
29
37
class
ALK_NO_EXPORT
AlkWebPage
:
public
QWebView
38
{
39
public
:
40
AlkWebPage
(QWidget *parent =
nullptr
);
41
virtual
~
AlkWebPage
();
42
43
void
load(
const
QUrl &url,
const
QString &acceptLanguage);
44
QString toHtml();
45
QString getFirstElement(
const
QString &symbol);
46
void
setWebInspectorEnabled(
bool
enable);
47
bool
webInspectorEnabled();
48
49
private
:
50
class
Private
;
51
Private
*
d
;
52
};
53
54
#endif // ALKWEBPAGE_H
AlkWebPage
Definition:
alkwebpage.h:37
AlkWebPage::d
Private * d
Definition:
alkwebpage.h:50
AlkWebPage::Private
Definition:
alkwebpage.cpp:28
Generated by
1.8.17