Differential D17286 Diff 46822 src/plugins/KDEFrameworksIntegration/kdeframeworksintegrationplugin.h
Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/KDEFrameworksIntegration/kdeframeworksintegrationplugin.h
Show All 13 Lines | |||||
14 | * | 14 | * | ||
15 | * You should have received a copy of the GNU General Public License | 15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | * ============================================================ */ | 17 | * ============================================================ */ | ||
18 | #pragma once | 18 | #pragma once | ||
19 | 19 | | |||
20 | #include "plugininterface.h" | 20 | #include "plugininterface.h" | ||
21 | 21 | | |||
22 | #include <PurposeWidgets/Menu> | ||||
23 | | ||||
22 | class KWalletPasswordBackend; | 24 | class KWalletPasswordBackend; | ||
23 | class KIOSchemeHandler; | 25 | class KIOSchemeHandler; | ||
24 | 26 | | |||
25 | class KDEFrameworksIntegrationPlugin : public QObject, public PluginInterface | 27 | class KDEFrameworksIntegrationPlugin : public QObject, public PluginInterface | ||
26 | { | 28 | { | ||
27 | Q_OBJECT | 29 | Q_OBJECT | ||
28 | Q_INTERFACES(PluginInterface) | 30 | Q_INTERFACES(PluginInterface) | ||
29 | Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.KDEFrameworksIntegration") | 31 | Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.KDEFrameworksIntegration") | ||
30 | 32 | | |||
31 | public: | 33 | public: | ||
32 | explicit KDEFrameworksIntegrationPlugin(); | 34 | explicit KDEFrameworksIntegrationPlugin(); | ||
33 | 35 | | |||
34 | DesktopFile metaData() const override; | 36 | DesktopFile metaData() const override; | ||
35 | void init(InitState state, const QString &settingsPath) override; | 37 | void init(InitState state, const QString &settingsPath) override; | ||
36 | void unload() override; | 38 | void unload() override; | ||
37 | bool testPlugin() override; | 39 | bool testPlugin() override; | ||
40 | void populateWebViewMenu(QMenu *menu, WebView *view, const WebHitTestResult &r) override; | ||||
38 | 41 | | |||
39 | private: | 42 | private: | ||
40 | KWalletPasswordBackend* m_backend; | 43 | KWalletPasswordBackend* m_backend; | ||
41 | QVector<KIOSchemeHandler*> m_kioSchemeHandlers; | 44 | QVector<KIOSchemeHandler*> m_kioSchemeHandlers; | ||
45 | Purpose::Menu *m_sharePageMenu; | ||||
drosca: `Menuc` typo? | |||||
42 | }; | 46 | }; |
Menuc typo?