/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -m -a serviceadaptor -i mailserviceimpl.h -l KMail::MailServiceImpl /usr/share/dbus-1/interfaces/org.kde.mailtransport.service.xml
 *
 * qdbusxml2cpp is Copyright (C) 2020 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#include "serviceadaptor.h"
#include <QtCore/QMetaObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>

/*
 * Implementation of adaptor class ServiceAdaptor
 */

ServiceAdaptor::ServiceAdaptor(KMail::MailServiceImpl *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

ServiceAdaptor::~ServiceAdaptor()
{
    // destructor
}

bool ServiceAdaptor::sendMessage(const QString &from, const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, const QByteArray &attachment)
{
    // handle method call org.kde.mailtransport.service.sendMessage
    return parent()->sendMessage(from, to, cc, bcc, subject, body, attachment);
}

bool ServiceAdaptor::sendMessage(const QString &from, const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, const QStringList &attachments)
{
    // handle method call org.kde.mailtransport.service.sendMessage
    return parent()->sendMessage(from, to, cc, bcc, subject, body, attachments);
}


#include "serviceadaptor.moc"
