Commit 447a7bc0 authored by Laurent Montel's avatar Laurent Montel 😁

Add description

parent c6cf4d84
cmake_minimum_required(VERSION 3.0) cmake_minimum_required(VERSION 3.0)
set(PIM_VERSION "5.5.63") set(PIM_VERSION "5.5.64")
project(MailTransport VERSION ${PIM_VERSION}) project(MailTransport VERSION ${PIM_VERSION})
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include <QDialogButtonBox> #include <QDialogButtonBox>
#include <QVBoxLayout> #include <QVBoxLayout>
#include <QPushButton> #include <QPushButton>
#include <QDebug>
using namespace MailTransport; using namespace MailTransport;
...@@ -71,6 +72,7 @@ SmtpConfigDialog::SmtpConfigDialog(Transport *transport, QWidget *parent) ...@@ -71,6 +72,7 @@ SmtpConfigDialog::SmtpConfigDialog(Transport *transport, QWidget *parent)
: QDialog(parent) : QDialog(parent)
, d(new Private(this)) , d(new Private(this))
{ {
qDebug() << " SmtpConfigDialog::SmtpConfigDialog()" << this;
Q_ASSERT(transport); Q_ASSERT(transport);
d->transport = transport; d->transport = transport;
QVBoxLayout *mainLayout = new QVBoxLayout(this); QVBoxLayout *mainLayout = new QVBoxLayout(this);
...@@ -92,6 +94,7 @@ SmtpConfigDialog::SmtpConfigDialog(Transport *transport, QWidget *parent) ...@@ -92,6 +94,7 @@ SmtpConfigDialog::SmtpConfigDialog(Transport *transport, QWidget *parent)
SmtpConfigDialog::~SmtpConfigDialog() SmtpConfigDialog::~SmtpConfigDialog()
{ {
qDebug() << " SmtpConfigDialog::~SmtpConfigDialog()" << this;
delete d; delete d;
} }
......
...@@ -37,7 +37,9 @@ SMTPMailTransportPlugin::~SMTPMailTransportPlugin() ...@@ -37,7 +37,9 @@ SMTPMailTransportPlugin::~SMTPMailTransportPlugin()
QVector<MailTransport::TransportAbstractPluginInfo> SMTPMailTransportPlugin::names() const QVector<MailTransport::TransportAbstractPluginInfo> SMTPMailTransportPlugin::names() const
{ {
MailTransport::TransportAbstractPluginInfo info; MailTransport::TransportAbstractPluginInfo info;
info.name = i18n("SMTP");
info.name = i18nc("@option SMTP transport", "SMTP");
info.description = i18n("An SMTP server on the Internet");
info.identifier = QStringLiteral("smtp"); info.identifier = QStringLiteral("smtp");
return QVector<MailTransport::TransportAbstractPluginInfo>() << info; return QVector<MailTransport::TransportAbstractPluginInfo>() << info;
} }
......
...@@ -31,6 +31,7 @@ struct MAILTRANSPORT_EXPORT TransportAbstractPluginInfo ...@@ -31,6 +31,7 @@ struct MAILTRANSPORT_EXPORT TransportAbstractPluginInfo
{ {
QString name; QString name;
QString identifier; QString identifier;
QString description;
}; };
class MAILTRANSPORT_EXPORT TransportAbstractPlugin : public QObject class MAILTRANSPORT_EXPORT TransportAbstractPlugin : public QObject
......
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