| 1 | // For license of this file, see <project-root-folder>/LICENSE.md.cxx . . $ `<file>/src/librssguard/gui/webviewers/webengine/webengineviewer.h`/ |
| 2 | |
| 3 | #ifndef WEBENGINEVIEWER_H |
| 4 | #define WEBENGINEVIEWER_Hcxx . . $ `src/librssguard/gui/webviewers/webengine/webengineviewer.h:4:9`! |
| 5 | |
| 6 | #include "core/message.h"cxx . . $ `<file>/src/librssguard/core/message.h`/ |
| 7 | #include "gui/webviewers/webviewer.h"cxx . . $ `<file>/src/librssguard/gui/webviewers/webviewer.h`/ |
| 8 | #include "miscellaneous/externaltool.h"cxx . . $ `<file>/src/librssguard/miscellaneous/externaltool.h`/ |
| 9 | #include "network-web/webengine/webenginepage.h"cxx . . $ `<file>/src/librssguard/network-web/webengine/webenginepage.h`/ |
| 10 | |
| 11 | #include <QWebEngineFullScreenRequest> |
| 12 | #include <QWebEngineView> |
| 13 | |
| 14 | class RootItemcxx . . $ RootItem#; |
| 15 | class WebBrowsercxx . . $ WebBrowser#; |
| 16 | |
| 17 | class RSSGUARD_DLLSPECcxx . . $ `<built-in>:525:9`! WebEngineViewercxx . . $ WebEngineViewer# : public QWebEngineViewcxx . . $ QWebEngineView#, public WebViewercxx . . $ WebViewer# { |
| 18 | Q_OBJECTcxx . . $ QMetaObject#Call# |
| 19 | Q_INTERFACEScxx . . $ `<external>/4830994369567095248/qtmetamacros.h:57:9`!(WebViewer) |
| 20 | |
| 21 | public: |
| 22 | explicit WebEngineViewercxx . . $ WebEngineViewer#WebEngineViewer(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget#* parent = nullptr); |
| 23 | |
| 24 | public: |
| 25 | virtual void loadMessagescxx . . $ WebEngineViewer#loadMessages(49f6da13449e8c82).(const QListcxx . . $ QList#<Messagecxx . . $ Message#>& messages, RootItemcxx . . $ RootItem#* root); |
| 26 | virtual PreparedHtmlcxx . . $ PreparedHtml# htmlForMessagescxx . . $ WebEngineViewer#htmlForMessages(6b71c5483f38f48).(const QListcxx . . $ QList#<Messagecxx . . $ Message#>& messages, RootItemcxx . . $ RootItem#* root) const; |
| 27 | virtual void bindToBrowsercxx . . $ WebEngineViewer#bindToBrowser(ffbf97f3859aff07).(WebBrowsercxx . . $ WebBrowser#* browser); |
| 28 | virtual void findTextcxx . . $ WebEngineViewer#findText(37c160c81b6367f7).(const QStringcxx . . $ QString#& text, bool backwards); |
| 29 | virtual void setUrlcxx . . $ WebEngineViewer#setUrl(37355d2f77053a23).(const QUrlcxx . . $ QUrl#& url); |
| 30 | virtual void setHtmlcxx . . $ WebEngineViewer#setHtml(9b3514a5b076b66b).(const QStringcxx . . $ QString#& html, const QUrlcxx . . $ QUrl#& base_url =cxx . . $ QUrl#QUrl(49f6e7a06ebc5aa8). {}); |
| 31 | virtual void setReadabledHtmlcxx . . $ WebEngineViewer#setReadabledHtml(9b3514a5b076b66b).(const QStringcxx . . $ QString#& html, const QUrlcxx . . $ QUrl#& base_url =cxx . . $ QUrl#QUrl(49f6e7a06ebc5aa8). {}); |
| 32 | virtual void clearcxx . . $ WebEngineViewer#clear(49f6e7a06ebc5aa8).(); |
| 33 | virtual double verticalScrollBarPositioncxx . . $ WebEngineViewer#verticalScrollBarPosition(21b6c25e127938e2).() const; |
| 34 | virtual void setVerticalScrollBarPositioncxx . . $ WebEngineViewer#setVerticalScrollBarPosition(ba8836b59fb42830).(double pos); |
| 35 | virtual void applyFontcxx . . $ WebEngineViewer#applyFont(d0a4bd0c8524b912).(const QFontcxx . . $ QFont#& fon); |
| 36 | virtual qrealcxx . . $ qreal# zoomFactorcxx . . $ WebEngineViewer#zoomFactor(21b6c25e127938e2).() const; |
| 37 | virtual void setZoomFactorcxx . . $ WebEngineViewer#setZoomFactor(ba8836b59fb42830).(qrealcxx . . $ qreal# zoom_factor); |
| 38 | virtual QStringcxx . . $ QString# htmlcxx . . $ WebEngineViewer#html(6ef7b6c27b00b43d).() const; |
| 39 | virtual QUrlcxx . . $ QUrl# urlcxx . . $ WebEngineViewer#url(36d9834fe7321282).() const; |
| 40 | |
| 41 | static QByteArraycxx . . $ QByteArray# getJsEnabledHtmlcxx . . $ WebEngineViewer#getJsEnabledHtml(1d3fb15cad771d33).(const QStringcxx . . $ QString#& url, bool worker_thread); |
| 42 | |
| 43 | signalscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:43:14`!: |
| 44 | void pageTitleChangedcxx . . $ WebEngineViewer#pageTitleChanged(3520e46b33348bf6).(const QStringcxx . . $ QString#& new_title); |
| 45 | void pageUrlChangedcxx . . $ WebEngineViewer#pageUrlChanged(37355d2f77053a23).(const QUrlcxx . . $ QUrl#& url); |
| 46 | void pageIconChangedcxx . . $ WebEngineViewer#pageIconChanged(71dcdac178620ed6).(const QIconcxx . . $ QIcon#&); |
| 47 | void linkMouseHighlightedcxx . . $ WebEngineViewer#linkMouseHighlighted(37355d2f77053a23).(const QUrlcxx . . $ QUrl#& url); |
| 48 | void loadingStartedcxx . . $ WebEngineViewer#loadingStarted(49f6e7a06ebc5aa8).(); |
| 49 | void loadingProgresscxx . . $ WebEngineViewer#loadingProgress(d4f767463ce0a6b3).(int progress); |
| 50 | void loadingFinishedcxx . . $ WebEngineViewer#loadingFinished(b45ddcbc8423892c).(bool success); |
| 51 | void newWindowRequestedcxx . . $ WebEngineViewer#newWindowRequested(759227a73ba7c3f4).(WebViewercxx . . $ WebViewer#* viewer); |
| 52 | void closeWindowRequestedcxx . . $ WebEngineViewer#closeWindowRequested(49f6e7a06ebc5aa8).(); |
| 53 | |
| 54 | protected: |
| 55 | virtual ContextMenuDatacxx . . $ ContextMenuData# provideContextMenuDatacxx . . $ WebEngineViewer#provideContextMenuData(f150d2abff9f3aa2).(QContextMenuEventcxx . . $ QContextMenuEvent#* event) const; |
| 56 | virtual QWebEngineViewcxx . . $ QWebEngineView#* createWindowcxx . . $ WebEngineViewer#createWindow(77eb51dbbe81432f).(QWebEnginePagecxx . . $ QWebEnginePage#::WebWindowTypecxx . . $ QWebEnginePage#WebWindowType# type); |
| 57 | virtual void contextMenuEventcxx . . $ WebEngineViewer#contextMenuEvent(ebb2569a74e11126).(QContextMenuEventcxx . . $ QContextMenuEvent#* event); |
| 58 | virtual bool eventcxx . . $ WebEngineViewer#event(f123fa2ce489f0bd).(QEventcxx . . $ QEvent#* event); |
| 59 | |
| 60 | private slotscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:42:14`!: |
| 61 | void onFullScreenRequestedcxx . . $ WebEngineViewer#onFullScreenRequested(6369523533de137b).(QWebEngineFullScreenRequestcxx . . $ QWebEngineFullScreenRequest# request); |
| 62 | void openUrlWithExternalToolcxx . . $ WebEngineViewer#openUrlWithExternalTool(dcbd01e059f189e1).(ExternalToolcxx . . $ ExternalTool# tool, const QStringcxx . . $ QString#& target_url); |
| 63 | |
| 64 | private: |
| 65 | WebEnginePagecxx . . $ WebEnginePage#* pagecxx . . $ WebEngineViewer#page(7cad7df830b309ab).() const; |
| 66 | |
| 67 | private: |
| 68 | WebBrowsercxx . . $ WebBrowser#* m_browsercxx . . $ WebEngineViewer#m_browser.; |
| 69 | RootItemcxx . . $ RootItem#* m_rootcxx . . $ WebEngineViewer#m_root.; |
| 70 | QUrlcxx . . $ QUrl# m_messageBaseUrlcxx . . $ WebEngineViewer#m_messageBaseUrl.; |
| 71 | QStringcxx . . $ QString# m_messageContentscxx . . $ WebEngineViewer#m_messageContents.; |
| 72 | }; |
| 73 | |
| 74 | #endif // WEBENGINEVIEWER_H |