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

Fix api

parent 5b95bd66
......@@ -76,7 +76,7 @@ set(CALENDAR_UTILS_VERSION "5.5.40")
set(KPIMTEXTEDIT_LIB_VERSION "5.5.40")
set(KIMAP_LIB_VERSION "5.5.40")
set(LIBKSIEVE_LIB_VERSION_LIB "5.5.46")
set(KMAILTRANSPORT_LIB_VERSION "5.5.61")
set(KMAILTRANSPORT_LIB_VERSION "5.5.63")
set(AKONADICONTACT_LIB_VERSION "5.5.43")
set(IMPORTWIZARD_LIB_VERSION "5.5.42")
set(MAILIMPORTER_LIB_VERSION "5.5.40")
......
......@@ -35,14 +35,17 @@ SendMailTransportPlugin::~SendMailTransportPlugin()
}
QString SendMailTransportPlugin::name() const
QVector<MailTransport::TransportAbstractPluginInfo> SendMailTransportPlugin::names() const
{
return i18n("SendMail");
MailTransport::TransportAbstractPluginInfo info;
info.name = i18n("SendMail");
info.identifier = QStringLiteral("sendmail");
return QVector<MailTransport::TransportAbstractPluginInfo>() << info;
}
bool SendMailTransportPlugin::configureTransport(MailTransport::Transport *transport, QWidget *parent)
bool SendMailTransportPlugin::configureTransport(const QString &identifier, MailTransport::Transport *transport, QWidget *parent)
{
//TODO FIXME
//TODO
return false;
}
......@@ -53,3 +56,5 @@ void SendMailTransportPlugin::cleanUp(const QString &identifier)
}
#include "sendmailtransportplugin.moc"
......@@ -30,9 +30,9 @@ public:
explicit SendMailTransportPlugin(QObject *parent = nullptr, const QList<QVariant> & = {});
~SendMailTransportPlugin();
QString name() const override;
bool configureTransport(MailTransport::Transport *transport, QWidget *parent) override;
void cleanUp(const QString &identifier) override;
QVector<MailTransport::TransportAbstractPluginInfo> names() const override;
bool configureTransport(const QString &identifier, MailTransport::Transport *transport, QWidget *parent) override;
};
#endif // SendMAILTRANSPORTPLUGIN_H
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