/*
 * 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.
 * This file may have been hand-edited. Look for HAND-EDIT comments
 * before re-generating it.
 */

#ifndef SERVICEADAPTOR_H
#define SERVICEADAPTOR_H

#include <QtCore/QObject>
#include <QtDBus/QtDBus>
#include "mailserviceimpl.h"
#include <QtCore/qcontainerfwd.h>

/*
 * Adaptor class for interface org.kde.mailtransport.service
 */
class ServiceAdaptor: public QDBusAbstractAdaptor
{
    Q_OBJECT
    Q_CLASSINFO("D-Bus Interface", "org.kde.mailtransport.service")
    Q_CLASSINFO("D-Bus Introspection", ""
"  <interface name=\"org.kde.mailtransport.service\">\n"
"    <method name=\"sendMessage\">\n"
"      <arg direction=\"out\" type=\"b\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"from\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"to\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"cc\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"bcc\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"subject\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"body\"/>\n"
"      <arg direction=\"in\" type=\"as\" name=\"attachments\"/>\n"
"    </method>\n"
"    <method name=\"sendMessage\">\n"
"      <arg direction=\"out\" type=\"b\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"from\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"to\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"cc\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"bcc\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"subject\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"body\"/>\n"
"      <arg direction=\"in\" type=\"ay\" name=\"attachment\"/>\n"
"    </method>\n"
"  </interface>\n"
        "")
public:
    ServiceAdaptor(KMail::MailServiceImpl *parent);
    ~ServiceAdaptor() override;

    inline KMail::MailServiceImpl *parent() const
    { return static_cast<KMail::MailServiceImpl *>(QObject::parent()); }

public: // PROPERTIES
public Q_SLOTS: // METHODS
    bool sendMessage(const QString &from, const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, const QByteArray &attachment);
    bool sendMessage(const QString &from, const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, const QStringList &attachments);
Q_SIGNALS: // SIGNALS
};

#endif
