summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-23 12:00:45 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-23 12:00:45 (GMT)
commit5cae4a0c561f36a8ccbecb87a5f6a02626e2bb72 (patch)
treecb14ac881439042dcc98765ab700d74a2454015c
parentaec745ca80899a4c037de3e831101481faa083ba (diff)
Show dialogbox
-rw-r--r--plugins/webengineurlinterceptor/adblock/adblockpluginurlinterceptor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/webengineurlinterceptor/adblock/adblockpluginurlinterceptor.cpp b/plugins/webengineurlinterceptor/adblock/adblockpluginurlinterceptor.cpp
index 63c5d96..dac02eb 100644
--- a/plugins/webengineurlinterceptor/adblock/adblockpluginurlinterceptor.cpp
+++ b/plugins/webengineurlinterceptor/adblock/adblockpluginurlinterceptor.cpp
@@ -21,6 +21,7 @@
#include "adblockinterceptorinterface.h"
#include "../lib/widgets/adblockpluginurlinterceptorconfigurewidget.h"
#include "lib/adblockmanager.h"
+#include "../lib/widgets/adblockpluginurlinterceptorconfiguredialog.h"
#include <WebEngineViewer/NetworkPluginUrlInterceptorInterface>
#include <kpluginfactory.h>
#include <KLocalizedString>
@@ -57,8 +58,11 @@ WebEngineViewer::NetworkPluginUrlInterceptorConfigureWidgetSetting AdblockPlugin
settings.configureWidget = configureWidget;
return settings;
}
+
void AdblockPluginUrlInterceptor::showConfigureDialog(QWidget *parent)
{
+ AdBlock::AdblockPluginUrlInterceptorConfigureDialog *dlg = new AdBlock::AdblockPluginUrlInterceptorConfigureDialog(parent);
+ dlg->exec();
//TODO
}