File indexing completed on 2024-04-28 07:38:05

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2015 Gábor Péterffy <peterffy95@gmail.com>
0004 //
0005 
0006 #ifndef NULLTINYWEBBROWSER_H
0007 #define NULLTINYWEBBROWSER_H
0008 
0009 // Qt
0010 #include <QWidget>
0011 
0012 // Marble
0013 #include "marble_export.h"
0014 
0015 class QString;
0016 class QByteArray;
0017 
0018 namespace Marble
0019 {
0020 
0021 class MARBLE_EXPORT TinyWebBrowser : public QWidget
0022 {
0023     Q_OBJECT
0024 
0025  public:
0026     explicit TinyWebBrowser( QWidget* parent = 0 );
0027 
0028     static QByteArray userAgent(const QString &platform, const QString &plugin);
0029 
0030  public Q_SLOTS:
0031     void setWikipediaPath( const QString& relativeUrl );
0032     void print();
0033 
0034  Q_SIGNALS:
0035     void statusMessage( const QString& );
0036 };
0037 
0038 }
0039 
0040 #endif