Debian Codegraph @

src/librssguard/network-web/webfactory.h

raw symbols SCIP
1 // For license of this file, see <project-root-folder>/LICENSE.md.cxx . . $ `<file>/src/librssguard/network-web/webfactory.h`/
2
3 #ifndef WEBFACTORY_H
4 #define WEBFACTORY_Hcxx . . $ `src/librssguard/network-web/webfactory.h:4:9`!
5
6 #include "core/message.h"cxx . . $ `<file>/src/librssguard/core/message.h`/
7
8 #include <QMap>
9 #include <QObject>
10
11 #if defined(NO_LITEcxx . . $ `<built-in>:500:9`!)
12 class QWebEngineProfilecxx . . $ QWebEngineProfile#;
13 class QWebEngineSettingscxx . . $ QWebEngineSettings#;
14 class QActioncxx . . $ QAction#;
15 class NetworkUrlInterceptorcxx . . $ NetworkUrlInterceptor#;
16 class GeminiSchemeHandlercxx . . $ GeminiSchemeHandler#;
17 #endif
18
19 class QMenucxx . . $ QMenu#;
20 class AdBlockManagercxx . . $ AdBlockManager#;
21 class CookieJarcxx . . $ CookieJar#;
22 class ApiServercxx . . $ ApiServer#;
23 class Readabilitycxx . . $ Readability#;
24 class ArticleParsecxx . . $ ArticleParse#;
25
26 class RSSGUARD_DLLSPECcxx . . $ `<built-in>:525:9`! WebFactorycxx . . $ WebFactory# : public QObjectcxx . . $ QObject# {
27 Q_OBJECTcxx . . $ `<external>/4830994369567095248/qtmetamacros.h:133:9`!
28
29 public:
30 explicit WebFactorycxx . . $ WebFactory#WebFactory(749de1b6ae65bddd).(QObjectcxx . . $ QObject#* parent = nullptr);
31 virtual ~cxx . . $ WebFactory#`~WebFactory`(ced63f7c635d850d).WebFactorycxx . . $ WebFactory#();
32
33 // Strips "<....>" (HTML, XML) tags from given text.
34 QStringcxx . . $ QString# stripTagscxx . . $ WebFactory#stripTags(f7f320d754b8fd09).(QStringcxx . . $ QString# text);
35
36 // HTML entity unescaping. This method
37 // converts both HTML entity names and numbers to UTF-8 string.
38 // Example of entities are:
39 // ∀ = &forall; (entity name), &#8704; (base-10 entity), &#x2200; (base-16 entity)
40 static QStringcxx . . $ QString# unescapeHtmlcxx . . $ WebFactory#unescapeHtml(fd988a2ab94d906b).(const QStringcxx . . $ QString#& html);
41
42 QStringcxx . . $ QString# limitSizeOfHtmlImagescxx . . $ WebFactory#limitSizeOfHtmlImages(7a7f5a5f098f90d0).(const QStringcxx . . $ QString#& html, int desired_width, int images_max_height) const;
43 QStringcxx . . $ QString# processFeedUriSchemecxx . . $ WebFactory#processFeedUriScheme(fd988a2ab94d906b).(const QStringcxx . . $ QString#& url);
44
45 AdBlockManagercxx . . $ AdBlockManager#* adBlockcxx . . $ WebFactory#adBlock(dd9ae43777736cac).() const;
46
47 #if defined(NO_LITEcxx . . $ `<built-in>:500:9`!)
48 QActioncxx . . $ QAction#* engineSettingsActioncxx . . $ WebFactory#engineSettingsAction(a590eff9f1ec9a95).();
49 NetworkUrlInterceptorcxx . . $ NetworkUrlInterceptor#* urlIinterceptorcxx . . $ WebFactory#urlIinterceptor(f6291ca875afd988).() const;
50 QWebEngineProfilecxx . . $ QWebEngineProfile#* engineProfilecxx . . $ WebFactory#engineProfile(294eeb6492764e8c).() const;
51 #endif
52
53 CookieJarcxx . . $ CookieJar#* cookieJarcxx . . $ WebFactory#cookieJar(8223048f1f68e9c6).() const;
54 Readabilitycxx . . $ Readability#* readabilitycxx . . $ WebFactory#readability(de02d7d05b7f1e13).() const;
55 ArticleParsecxx . . $ ArticleParse#* articleParsecxx . . $ WebFactory#articleParse(4a9587a2063bcd79).() const;
56
57 void startApiServercxx . . $ WebFactory#startApiServer(49f6e7a06ebc5aa8).();
58 void stopApiServercxx . . $ WebFactory#stopApiServer(49f6e7a06ebc5aa8).();
59
60 void updateProxycxx . . $ WebFactory#updateProxy(49f6e7a06ebc5aa8).();
61 bool sendMessageViaEmailcxx . . $ WebFactory#sendMessageViaEmail(2e84e32d589a745).(const Messagecxx . . $ Message#& message);
62
63 #if defined(NO_LITEcxx . . $ `<built-in>:500:9`!)
64 void loadCustomCsscxx . . $ WebFactory#loadCustomCss(7df51288a9ebd664).(const QStringcxx . . $ QString# user_styles_path);
65 #endif
66
67 QStringcxx . . $ QString# customUserAgentcxx . . $ WebFactory#customUserAgent(6ef7b6c27b00b43d).() const;
68 void setCustomUserAgentcxx . . $ WebFactory#setCustomUserAgent(3520e46b33348bf6).(const QStringcxx . . $ QString#& user_agent);
69
70 public slotscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:42:14`!:
71 #if defined(NO_LITEcxx . . $ `<built-in>:500:9`!)
72 void cleanupCachecxx . . $ WebFactory#cleanupCache(49f6e7a06ebc5aa8).();
73 #endif
74
75 bool openUrlInExternalBrowsercxx . . $ WebFactory#openUrlInExternalBrowser(dd54f9efb9153ea5).(const QUrlcxx . . $ QUrl#& url) const;
76
77 #if defined(NO_LITEcxx . . $ `<built-in>:500:9`!)
78 private slotscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:42:14`!:
79 void createMenucxx . . $ WebFactory#createMenu(cb52c12b49e9b51b).(QMenucxx . . $ QMenu#* menu = nullptr);
80 void webEngineSettingChangedcxx . . $ WebFactory#webEngineSettingChanged(b45ddcbc8423892c).(bool enabled);
81
82 private:
83 QActioncxx . . $ QAction#* createEngineSettingsActioncxx . . $ WebFactory#createEngineSettingsAction(2b78638e5d823040).(const QStringcxx . . $ QString#& title, int web_attribute);
84 #endif
85
86 private:
87 static QMapcxx . . $ QMap#<QStringcxx . . $ QString#, char16_t> generateUnescapescxx . . $ WebFactory#generateUnescapes(4170abfb8c060b86).();
88
89 private:
90 AdBlockManagercxx . . $ AdBlockManager#* m_adBlockcxx . . $ WebFactory#m_adBlock.;
91
92 #if defined(NO_LITEcxx . . $ `<built-in>:500:9`!)
93 QWebEngineProfilecxx . . $ QWebEngineProfile#* m_engineProfilecxx . . $ WebFactory#m_engineProfile.;
94 NetworkUrlInterceptorcxx . . $ NetworkUrlInterceptor#* m_urlInterceptorcxx . . $ WebFactory#m_urlInterceptor.;
95 QActioncxx . . $ QAction#* m_engineSettingscxx . . $ WebFactory#m_engineSettings.;
96 GeminiSchemeHandlercxx . . $ GeminiSchemeHandler#* m_geminiHandlercxx . . $ WebFactory#m_geminiHandler.;
97 #endif
98
99 ApiServercxx . . $ ApiServer#* m_apiServercxx . . $ WebFactory#m_apiServer.;
100 CookieJarcxx . . $ CookieJar#* m_cookieJarcxx . . $ WebFactory#m_cookieJar.;
101 Readabilitycxx . . $ Readability#* m_readabilitycxx . . $ WebFactory#m_readability.;
102 ArticleParsecxx . . $ ArticleParse#* m_articleParsecxx . . $ WebFactory#m_articleParse.;
103 QStringcxx . . $ QString# m_customUserAgentcxx . . $ WebFactory#m_customUserAgent.;
104 };
105
106 #endif // WEBFACTORY_H