• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • src
  • lib
  • marble
TinyWebBrowser.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2006-2007 Torsten Rahn <tackat@kde.org>
9 // Copyright 2007 Inge Wallin <ingwa@kde.org>
10 //
11 
12 #ifndef MARBLE_TINYWEBBROWSER_H
13 #define MARBLE_TINYWEBBROWSER_H
14 
15 // Qt
16 #include <QByteArray>
17 #include <QString>
18 #include <QUrl>
19 #include <QWebView>
20 
21 // Marble
22 #include "marble_export.h"
23 
24 namespace Marble
25 {
26 
27 class TinyWebBrowserPrivate;
28 
35 class MARBLE_EXPORT TinyWebBrowser : public QWebView
36 {
37  Q_OBJECT
38 
39  public:
40  explicit TinyWebBrowser( QWidget* parent = 0 );
41  ~TinyWebBrowser();
42 
43  static QByteArray userAgent(const QString &platform, const QString &plugin);
44 
45  public Q_SLOTS:
46  void setWikipediaPath( const QString& relativeUrl );
47  void print();
48 
49  Q_SIGNALS:
50  void statusMessage( QString );
51 
52  protected:
53  QWebView *createWindow( QWebPage::WebWindowType type );
54 
55  private Q_SLOTS:
56  void openExternalLink( QUrl );
57 
58  private:
59  TinyWebBrowserPrivate * const d;
60 };
61 
62 }
63 
64 #endif
QWidget
Marble::TinyWebBrowser
This class provides a tiny web browser based on QWebView (WebKit).
Definition: TinyWebBrowser.h:35
QWebView
QByteArray
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
QString
QUrl
marble_export.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal