diff options
Diffstat (limited to 'WebKit/qt/Api/qwebnetworkinterface.h')
-rw-r--r-- | WebKit/qt/Api/qwebnetworkinterface.h | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/WebKit/qt/Api/qwebnetworkinterface.h b/WebKit/qt/Api/qwebnetworkinterface.h index b603e37..7f96155 100644 --- a/WebKit/qt/Api/qwebnetworkinterface.h +++ b/WebKit/qt/Api/qwebnetworkinterface.h @@ -44,8 +44,7 @@ namespace WebCore { } struct QWebNetworkRequestPrivate; -class QWEBKIT_EXPORT QWebNetworkRequest -{ +class QWEBKIT_EXPORT QWebNetworkRequest { public: enum Method { Get, @@ -82,8 +81,7 @@ private: friend class QWebObjectPluginConnector; }; -class QWEBKIT_EXPORT QWebNetworkJob -{ +class QWEBKIT_EXPORT QWebNetworkJob { public: QUrl url() const; @@ -102,7 +100,7 @@ public: bool deref(); QWebNetworkInterface *networkInterface() const; - + QWebFrame *frame() const; protected: @@ -130,8 +128,7 @@ private: class QWebNetworkInterfacePrivate; -class QWEBKIT_EXPORT QWebNetworkInterface : public QObject -{ +class QWEBKIT_EXPORT QWebNetworkInterface : public QObject { Q_OBJECT public: QWebNetworkInterface(QObject *parent = 0); @@ -147,19 +144,10 @@ protected: void started(QWebNetworkJob*); void data(QWebNetworkJob*, const QByteArray &data); void finished(QWebNetworkJob*, int errorCode); - + signals: - /** - * Signal is emitted when an SSL error occurs. - */ void sslErrors(QWebFrame *frame, const QUrl& url, const QList<QSslError>& errors, bool *continueAnyway); - /** - * Signal is emitted when network authentication is required. - */ void authenticate(QWebFrame *frame, const QUrl& url, const QString& hostname, quint16 port, QAuthenticator *auth); - /** - * Signal is emitted when proxy authentication is required. - */ void authenticateProxy(QWebFrame *frame, const QUrl& url, const QNetworkProxy& proxy, QAuthenticator *auth); private: |