summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-22 11:30:26 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-22 11:58:28 (GMT)
commit2e2c6087aaa2f70366a9b0d4472628cb28370fb9 (patch)
treef23627780d6499a937ad364c5612070b6c31f554
parent33888e345a649990c200727e7c77e5588dac2914 (diff)
Rename method
-rw-r--r--messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesend.cpp2
-rw-r--r--messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesend.h2
-rw-r--r--webengineviewer/src/urlinterceptor/networkpluginurlinterceptor.cpp2
-rw-r--r--webengineviewer/src/urlinterceptor/networkpluginurlinterceptor.h2
-rw-r--r--webengineviewer/src/urlinterceptor/networkurlinterceptormanager.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesend.cpp b/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesend.cpp
index 60735f9..8b0c2a4 100644
--- a/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesend.cpp
+++ b/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesend.cpp
@@ -42,7 +42,7 @@ PluginEditorCheckBeforeSend::~PluginEditorCheckBeforeSend()
delete d;
}
-bool PluginEditorCheckBeforeSend::hasConfigureSupport() const
+bool PluginEditorCheckBeforeSend::hasConfigureDialog() const
{
return false;
}
diff --git a/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesend.h b/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesend.h
index cf41d79..5285efe 100644
--- a/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesend.h
+++ b/messagecomposer/src/plugineditorcheckbeforesend/plugineditorcheckbeforesend.h
@@ -60,7 +60,7 @@ public:
virtual PluginEditorCheckBeforeSendInterface *createInterface(QObject *parent) = 0;
- virtual bool hasConfigureSupport() const;
+ virtual bool hasConfigureDialog() const;
virtual PluginEditorCheckBeforeSendConfigureWidgetSetting createConfigureWidget(KIdentityManagement::IdentityManager *identityManager, QWidget *parent) const;
diff --git a/webengineviewer/src/urlinterceptor/networkpluginurlinterceptor.cpp b/webengineviewer/src/urlinterceptor/networkpluginurlinterceptor.cpp
index 1fb0ed9..5b02c5c 100644
--- a/webengineviewer/src/urlinterceptor/networkpluginurlinterceptor.cpp
+++ b/webengineviewer/src/urlinterceptor/networkpluginurlinterceptor.cpp
@@ -32,7 +32,7 @@ NetworkPluginUrlInterceptor::~NetworkPluginUrlInterceptor()
}
-bool NetworkPluginUrlInterceptor::hasConfigureSupport() const
+bool NetworkPluginUrlInterceptor::hasConfigureDialog() const
{
return false;
}
diff --git a/webengineviewer/src/urlinterceptor/networkpluginurlinterceptor.h b/webengineviewer/src/urlinterceptor/networkpluginurlinterceptor.h
index 00f16bd..2e709dd 100644
--- a/webengineviewer/src/urlinterceptor/networkpluginurlinterceptor.h
+++ b/webengineviewer/src/urlinterceptor/networkpluginurlinterceptor.h
@@ -53,7 +53,7 @@ public:
~NetworkPluginUrlInterceptor();
virtual NetworkPluginUrlInterceptorInterface *createInterface(QWebEngineView *webEngine, QObject *parent = Q_NULLPTR) = 0;
- virtual bool hasConfigureSupport() const;
+ virtual bool hasConfigureDialog() const;
virtual NetworkPluginUrlInterceptorConfigureWidgetSetting createConfigureWidget(QWidget *parent = Q_NULLPTR);
};
}
diff --git a/webengineviewer/src/urlinterceptor/networkurlinterceptormanager.cpp b/webengineviewer/src/urlinterceptor/networkurlinterceptormanager.cpp
index 524ea1a..923df9d 100644
--- a/webengineviewer/src/urlinterceptor/networkurlinterceptormanager.cpp
+++ b/webengineviewer/src/urlinterceptor/networkurlinterceptormanager.cpp
@@ -55,7 +55,7 @@ QVector<NetworkPluginUrlInterceptorConfigureWidgetSetting> NetworkUrlInterceptor
{
QVector<NetworkPluginUrlInterceptorConfigureWidgetSetting> lstConfigureWidget;
Q_FOREACH (NetworkPluginUrlInterceptor *plugin, NetworkUrlInterceptorPluginManager::self()->pluginsList()) {
- if (plugin->hasConfigureSupport()) {
+ if (plugin->hasConfigureDialog()) {
lstConfigureWidget.append(plugin->createConfigureWidget(parent));
}
}