/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Source file was org.kde.mailtransport.service.xml
 *
 * qdbusxml2cpp is Copyright (C) The Qt Company Ltd. and other contributors.
 *
 * 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 "moc_serviceadaptor.cpp"
