Skip to content

Commit 6075442

Browse files
committed
Doxymentation
1 parent 5910adf commit 6075442

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

src/core/qgswebframe.h

+6
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,13 @@
2424
#include <QPainter>
2525
#include <QUrl>
2626

27+
/**
28+
* @brief The QWebFrame class is a collection of stubs to mimic the API of a QWebFrame on systems
29+
* where QtWebkit is not available.
30+
*/
2731
class CORE_EXPORT QWebFrame : public QObject
2832
{
33+
/// @cond
2934
Q_OBJECT
3035

3136
public:
@@ -69,6 +74,7 @@ class CORE_EXPORT QWebFrame : public QObject
6974

7075
signals:
7176
void javaScriptWindowObjectCleared();
77+
/// @endcond
7278
};
7379
#endif
7480
#endif // QGSWEBFRAME_H

src/core/qgswebpage.h

+13
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,14 @@
2828
#include <QNetworkAccessManager>
2929
#include <QPalette>
3030

31+
32+
/**
33+
* @brief The QWebSettings class is a collection of stubs to mimic the API of a QWebSettings on systems
34+
* where QtWebkit is not available.
35+
*/
3136
class CORE_EXPORT QWebSettings : public QObject
3237
{
38+
/// @cond
3339
Q_OBJECT
3440

3541
public:
@@ -83,10 +89,16 @@ class CORE_EXPORT QWebSettings : public QObject
8389
{
8490
Q_UNUSED( on );
8591
}
92+
/// @endcond
8693
};
8794

95+
/**
96+
* @brief The QWebPage class is a collection of stubs to mimic the API of a QWebPage on systems
97+
* where QtWebkit is not available.
98+
*/
8899
class QWebPage : public QObject
89100
{
101+
/// @cond
90102
Q_OBJECT
91103

92104
public:
@@ -166,6 +178,7 @@ class QWebPage : public QObject
166178
private:
167179
QWebSettings* mSettings;
168180
QWebFrame* mFrame;
181+
/// @endcond
169182
};
170183
#endif
171184

src/core/qgswebview.h

+12
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,18 @@ class CORE_EXPORT QgsWebView : public QWebView
3434
#else
3535
#include "qgswebpage.h"
3636

37+
/**
38+
* @brief The QgsWebView class is a collection of stubs to mimic the API of QWebView on systems where the real
39+
* library is not available. It should be used instead of QWebView inside QGIS.
40+
*
41+
* If QGIS is compiled WITH_QTWEBKIT This will simply be a subclass of QWebView. If it is compiled with
42+
* WITH_QTWEBKIT=OFF then this will be an empty QWidget. If you miss methods in here that you would like to use,
43+
* please add additional stubs.
44+
*/
3745
class CORE_EXPORT QgsWebView : public QWidget
3846
{
47+
48+
/// @cond
3949
Q_OBJECT
4050
public:
4151
explicit QgsWebView( QWidget *parent = 0 )
@@ -99,6 +109,8 @@ class CORE_EXPORT QgsWebView : public QWidget
99109
private:
100110
QWebSettings* mSettings;
101111
QWebPage* mPage;
112+
113+
/// @endcond
102114
};
103115
#endif
104116

0 commit comments

Comments
 (0)