Commit 3e6f3178 authored by Laurent Montel's avatar Laurent Montel 😁

Adapt to new api

parent f8bea2e4
......@@ -74,7 +74,7 @@ set(KDEPIMLIBS_LIB_VERSION "5.2.40")
set(GRAVATAR_LIB_VERSION "5.2.40")
set(INCIDENCEEDITOR_LIB_VERSION "5.2.40")
set(KTNEF_LIB_VERSION "5.2.40")
set(MESSAGELIB_LIB_VERSION "5.2.51")
set(MESSAGELIB_LIB_VERSION "5.2.52")
find_package(KF5MailCommon ${MAILCOMMN_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5KaddressbookGrantlee ${KDEPIM_APPS_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5MessageViewer ${KDEPIM_APPS_LIB_VERSION} CONFIG REQUIRED)
......
......@@ -52,7 +52,7 @@ MessageViewer::NetworkPluginUrlInterceptorConfigureWidgetSetting AdblockPluginUr
settings.name = i18n("AdBlock");
AdBlock::AdblockPluginUrlInterceptorConfigureWidget *configureWidget = new AdBlock::AdblockPluginUrlInterceptorConfigureWidget(parent);
connect(configureWidget, &AdBlock::AdblockPluginUrlInterceptorConfigureWidget::configChanged, AdBlock::AdblockManager::self(), &AdBlock::AdblockManager::reloadConfig);
connect(configureWidget, &AdBlock::AdblockPluginUrlInterceptorConfigureWidget::configureChanged, AdBlock::AdblockManager::self(), &AdBlock::AdblockManager::reloadConfig);
settings.configureWidget = configureWidget;
return settings;
}
......
......@@ -45,7 +45,7 @@ void AdblockPluginUrlInterceptorConfigureWidget::loadSettings()
void AdblockPluginUrlInterceptorConfigureWidget::saveSettings()
{
mConfigureWidget->save();
Q_EMIT configChanged();
Q_EMIT configureChanged();
}
void AdblockPluginUrlInterceptorConfigureWidget::resetSettings()
......
......@@ -38,8 +38,6 @@ public:
void saveSettings() Q_DECL_OVERRIDE;
void resetSettings() Q_DECL_OVERRIDE;
Q_SIGNALS:
void configChanged();
private:
MessageViewer::AdBlockSettingWidget *mConfigureWidget;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment