Commit e3413825 authored by Laurent Montel's avatar Laurent Montel 😁

We need 2 infos when we create config widget

parent b0ed1b37
......@@ -35,8 +35,8 @@ bool NetworkPluginUrlInterceptor::hasConfigureSupport() const
return false;
}
MessageViewer::NetworkPluginUrlInterceptorConfigureWidget *NetworkPluginUrlInterceptor::createConfigureWidget(QWidget *parent)
NetworkPluginUrlInterceptorConfigureWidget *NetworkPluginUrlInterceptor::createConfigureWidget(QWidget *parent)
{
Q_UNUSED(parent);
return Q_NULLPTR;
return {};
}
......@@ -27,6 +27,18 @@ namespace MessageViewer
{
class NetworkPluginUrlInterceptorConfigureWidget;
class NetworkPluginUrlInterceptorInterface;
struct MESSAGEVIEWER_EXPORT ConfigureWidgetSetting
{
ConfigureWidgetSetting()
: configureWidget(Q_NULLPTR)
{
}
QString name;
MessageViewer::NetworkPluginUrlInterceptorConfigureWidget *configureWidget;
};
class MESSAGEVIEWER_EXPORT NetworkPluginUrlInterceptor : public QObject
{
Q_OBJECT
......
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