Marble

NullTinyWebBrowser.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2015 Gábor Péterffy <[email protected]>
4 //
5 
6 #ifndef NULLTINYWEBBROWSER_H
7 #define NULLTINYWEBBROWSER_H
8 
9 // Qt
10 #include <QWidget>
11 
12 // Marble
13 #include "marble_export.h"
14 
15 class QString;
16 class QByteArray;
17 
18 namespace Marble
19 {
20 
21 class MARBLE_EXPORT TinyWebBrowser : public QWidget
22 {
23  Q_OBJECT
24 
25  public:
26  explicit TinyWebBrowser( QWidget* parent = 0 );
27 
28  static QByteArray userAgent(const QString &platform, const QString &plugin);
29 
30  public Q_SLOTS:
31  void setWikipediaPath( const QString& relativeUrl );
32  void print();
33 
34  Q_SIGNALS:
35  void statusMessage( const QString& );
36 };
37 
38 }
39 
40 #endif
This class provides a tiny web browser based on QWebEngineView (WebKit).
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Oct 2 2023 03:52:09 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.