Commit 3c2a16fc authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Rename method

parent ec20a9cf
......@@ -44,7 +44,7 @@ MessageComposer::PluginEditorCheckBeforeSendInterface *AutomaticAddContactsPlugi
return interface;
}
bool AutomaticAddContactsPlugin::hasConfigureSupport() const
bool AutomaticAddContactsPlugin::hasConfigureDialog() const
{
return true;
}
......
......@@ -30,7 +30,7 @@ public:
~AutomaticAddContactsPlugin();
MessageComposer::PluginEditorCheckBeforeSendInterface *createInterface(QObject *parent) Q_DECL_OVERRIDE;
bool hasConfigureSupport() const Q_DECL_OVERRIDE;
bool hasConfigureDialog() const Q_DECL_OVERRIDE;
MessageComposer::PluginEditorCheckBeforeSendConfigureWidgetSetting createConfigureWidget(KIdentityManagement::IdentityManager *identityManager, QWidget *parent) const Q_DECL_OVERRIDE;
};
......
......@@ -35,7 +35,7 @@ AutomaticAddContactsPluginTest::~AutomaticAddContactsPluginTest()
void AutomaticAddContactsPluginTest::shouldHaveDefaultValue()
{
AutomaticAddContactsPlugin plugin;
QVERIFY(plugin.hasConfigureSupport());
QVERIFY(plugin.hasConfigureDialog());
QVERIFY(plugin.createInterface(this));
QVERIFY(plugin.createConfigureWidget(Q_NULLPTR, new QWidget()).configureWidget);
}
......
......@@ -35,7 +35,7 @@ CheckBeforeSendPluginTest::~CheckBeforeSendPluginTest()
void CheckBeforeSendPluginTest::shouldHaveDefaultValue()
{
CheckBeforeSendPlugin plugin;
QVERIFY(plugin.hasConfigureSupport());
QVERIFY(plugin.hasConfigureDialog());
QVERIFY(plugin.createInterface(this));
QVERIFY(plugin.createConfigureWidget(Q_NULLPTR, new QWidget()).configureWidget);
}
......
......@@ -44,7 +44,7 @@ MessageComposer::PluginEditorCheckBeforeSendInterface *CheckBeforeSendPlugin::cr
return interface;
}
bool CheckBeforeSendPlugin::hasConfigureSupport() const
bool CheckBeforeSendPlugin::hasConfigureDialog() const
{
return true;
}
......
......@@ -30,7 +30,7 @@ public:
~CheckBeforeSendPlugin();
MessageComposer::PluginEditorCheckBeforeSendInterface *createInterface(QObject *parent) Q_DECL_OVERRIDE;
bool hasConfigureSupport() const Q_DECL_OVERRIDE;
bool hasConfigureDialog() const Q_DECL_OVERRIDE;
MessageComposer::PluginEditorCheckBeforeSendConfigureWidgetSetting createConfigureWidget(KIdentityManagement::IdentityManager *identityManager, QWidget *parent) const Q_DECL_OVERRIDE;
};
......
......@@ -36,7 +36,7 @@ ConfirmAddressPluginTest::~ConfirmAddressPluginTest()
void ConfirmAddressPluginTest::shouldHaveDefaultValue()
{
ConfirmAddressPlugin plugin;
QVERIFY(plugin.hasConfigureSupport());
QVERIFY(plugin.hasConfigureDialog());
QVERIFY(plugin.createConfigureWidget(Q_NULLPTR, new QWidget()).configureWidget);
QVERIFY(plugin.createInterface(this));
}
......
......@@ -45,7 +45,7 @@ MessageComposer::PluginEditorCheckBeforeSendInterface *ConfirmAddressPlugin::cre
return interface;
}
bool ConfirmAddressPlugin::hasConfigureSupport() const
bool ConfirmAddressPlugin::hasConfigureDialog() const
{
return true;
}
......
......@@ -31,7 +31,7 @@ public:
~ConfirmAddressPlugin();
MessageComposer::PluginEditorCheckBeforeSendInterface *createInterface(QObject *parent) Q_DECL_OVERRIDE;
bool hasConfigureSupport() const Q_DECL_OVERRIDE;
bool hasConfigureDialog() const Q_DECL_OVERRIDE;
MessageComposer::PluginEditorCheckBeforeSendConfigureWidgetSetting createConfigureWidget(KIdentityManagement::IdentityManager *identityManager, QWidget *parent) const Q_DECL_OVERRIDE;
};
......
......@@ -43,7 +43,7 @@ WebEngineViewer::NetworkPluginUrlInterceptorInterface *AdblockPluginUrlIntercept
return adblockInterface;
}
bool AdblockPluginUrlInterceptor::hasConfigureSupport() const
bool AdblockPluginUrlInterceptor::hasConfigureDialog() const
{
return true;
}
......
......@@ -37,7 +37,7 @@ public:
WebEngineViewer::NetworkPluginUrlInterceptorInterface *createInterface(QWebEngineView *webEngine, QObject *parent) Q_DECL_OVERRIDE;
bool hasConfigureSupport() const Q_DECL_OVERRIDE;
bool hasConfigureDialog() const Q_DECL_OVERRIDE;
WebEngineViewer::NetworkPluginUrlInterceptorConfigureWidgetSetting createConfigureWidget(QWidget *parent) Q_DECL_OVERRIDE;
};
......
......@@ -37,7 +37,7 @@ void AdblockPluginUrlInterceptorTest::shouldHaveDefaultValue()
{
AdblockPluginUrlInterceptor w;
QVERIFY(w.createInterface(new QWebEngineView(), this));
QVERIFY(w.hasConfigureSupport());
QVERIFY(w.hasConfigureDialog());
WebEngineViewer::NetworkPluginUrlInterceptorConfigureWidgetSetting settings = w.createConfigureWidget(new QWidget());
QVERIFY(settings.configureWidget);
......
Supports Markdown
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