Sha256: ed1494b89c09a24f3fb4462b38c39665358f0c8c767246a9cc7832e4006ce3e8
Contents?: true
Size: 1.35 KB
Versions: 3
Compression:
Stored size: 1.35 KB
Contents
#ifndef _WEBPAGEMANAGER_H #define _WEBPAGEMANAGER_H #include <QList> #include <QSet> #include <QObject> #include <QNetworkReply> #include <QDebug> #include <QFile> class WebPage; class NetworkCookieJar; class WebPageManager : public QObject { Q_OBJECT public: WebPageManager(QObject *parent = 0); void append(WebPage *value); QList<WebPage *> pages() const; void setCurrentPage(WebPage *); WebPage *currentPage() const; WebPage *createPage(QObject *parent); void setIgnoreSslErrors(bool); bool ignoreSslErrors(); void setTimeout(int); int getTimeout(); void reset(); NetworkCookieJar *cookieJar(); bool isLoading() const; QDebug logger() const; void enableLogging(); public slots: void emitLoadStarted(); void setPageStatus(bool); void requestCreated(QByteArray &url, QNetworkReply *reply); void replyFinished(QNetworkReply *reply); signals: void pageFinished(bool); void loadStarted(); private: void emitPageFinished(); static void handleDebugMessage(QtMsgType type, const char *message); QList<WebPage *> m_pages; WebPage *m_currentPage; bool m_ignoreSslErrors; NetworkCookieJar *m_cookieJar; QSet<QNetworkReply*> m_started; bool m_success; bool m_loggingEnabled; QString *m_ignoredOutput; int m_timeout; }; #endif // _WEBPAGEMANAGER_H
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
capybara-webkit-0.13.2 | src/WebPageManager.h |
capybara-webkit-0.13.1 | src/WebPageManager.h |
capybara-webkit-0.13.0 | src/WebPageManager.h |