/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -m -a kmailadaptor -i kmkernel.h -l KMKernel /build/kmail/src/build/src/org.kde.kmail.kmail.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 "kmailadaptor.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 KmailAdaptor
 */

KmailAdaptor::KmailAdaptor(KMKernel *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

QStringList KmailAdaptor::accounts()
{
    // handle method call org.kde.kmail.kmail.accounts
    return parent()->accounts();
}

bool KmailAdaptor::canQueryClose()
{
    // handle method call org.kde.kmail.kmail.canQueryClose
    return parent()->canQueryClose();
}

void KmailAdaptor::checkAccount(const QString &account)
{
    // handle method call org.kde.kmail.kmail.checkAccount
    parent()->checkAccount(account);
}

void KmailAdaptor::checkMail()
{
    // handle method call org.kde.kmail.kmail.checkMail
    parent()->checkMail();
}

bool KmailAdaptor::handleCommandLine(bool noArgsOpensReader, const QStringList &args, const QString &workingDir)
{
    // handle method call org.kde.kmail.kmail.handleCommandLine
    return parent()->handleCommandLine(noArgsOpensReader, args, workingDir);
}

void KmailAdaptor::newMessage(const QString &to, const QString &cc, const QString &bcc, bool hidden, bool useFolderId, const QString &messageFile, const QString &attachURL)
{
    // handle method call org.kde.kmail.kmail.newMessage
    parent()->newMessage(to, cc, bcc, hidden, useFolderId, messageFile, attachURL);
}

void KmailAdaptor::openComposer(const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, bool hidden)
{
    // handle method call org.kde.kmail.kmail.openComposer
    parent()->openComposer(to, cc, bcc, subject, body, hidden);
}

void KmailAdaptor::openComposer(const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, const QString &attachName, const QByteArray &attachCte, const QByteArray &attachData, const QByteArray &attachType, const QByteArray &attachSubType, const QByteArray &attachParamAttr, const QString &attachParamValue, const QByteArray &attachContDisp, const QByteArray &attachCharset, uint identity)
{
    // handle method call org.kde.kmail.kmail.openComposer
    parent()->openComposer(to, cc, bcc, subject, body, attachName, attachCte, attachData, attachType, attachSubType, attachParamAttr, attachParamValue, attachContDisp, attachCharset, identity);
}

void KmailAdaptor::openComposer(const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, bool hidden, const QString &attachName, const QByteArray &attachCte, const QByteArray &attachData, const QByteArray &attachType, const QByteArray &attachSubType, const QByteArray &attachParamAttr, const QString &attachParamValue, const QByteArray &attachContDisp, const QByteArray &attachCharset, uint identity)
{
    // handle method call org.kde.kmail.kmail.openComposer
    parent()->openComposer(to, cc, bcc, subject, body, hidden, attachName, attachCte, attachData, attachType, attachSubType, attachParamAttr, attachParamValue, attachContDisp, attachCharset, identity);
}

void KmailAdaptor::openComposer(const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, bool hidden, const QString &messageFile, const QStringList &attachmentPaths, const QStringList &customHeaders)
{
    // handle method call org.kde.kmail.kmail.openComposer
    parent()->openComposer(to, cc, bcc, subject, body, hidden, messageFile, attachmentPaths, customHeaders);
}

void KmailAdaptor::openComposer(const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, bool hidden, const QString &messageFile, const QStringList &attachmentPaths, const QStringList &customHeaders, const QString &replyTo)
{
    // handle method call org.kde.kmail.kmail.openComposer
    parent()->openComposer(to, cc, bcc, subject, body, hidden, messageFile, attachmentPaths, customHeaders, replyTo);
}

void KmailAdaptor::openComposer(const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, bool hidden, const QString &messageFile, const QStringList &attachmentPaths, const QStringList &customHeaders, const QString &replyTo, const QString &inReplyTo)
{
    // handle method call org.kde.kmail.kmail.openComposer
    parent()->openComposer(to, cc, bcc, subject, body, hidden, messageFile, attachmentPaths, customHeaders, replyTo, inReplyTo);
}

void KmailAdaptor::openComposer(const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, bool hidden, const QString &messageFile, const QStringList &attachmentPaths, const QStringList &customHeaders, const QString &replyTo, const QString &inReplyTo, const QString &identity)
{
    // handle method call org.kde.kmail.kmail.openComposer
    parent()->openComposer(to, cc, bcc, subject, body, hidden, messageFile, attachmentPaths, customHeaders, replyTo, inReplyTo, identity);
}

void KmailAdaptor::openReader()
{
    // handle method call org.kde.kmail.kmail.openReader
    parent()->openReader();
}

void KmailAdaptor::pauseBackgroundJobs()
{
    // handle method call org.kde.kmail.kmail.pauseBackgroundJobs
    parent()->pauseBackgroundJobs();
}

void KmailAdaptor::reloadFolderArchiveConfig()
{
    // handle method call org.kde.kmail.kmail.reloadFolderArchiveConfig
    parent()->reloadFolderArchiveConfig();
}

bool KmailAdaptor::replyMail(qlonglong serialNumber, bool replyToAll)
{
    // handle method call org.kde.kmail.kmail.replyMail
    return parent()->replyMail(serialNumber, replyToAll);
}

void KmailAdaptor::resumeBackgroundJobs()
{
    // handle method call org.kde.kmail.kmail.resumeBackgroundJobs
    parent()->resumeBackgroundJobs();
}

void KmailAdaptor::resumeNetworkJobs()
{
    // handle method call org.kde.kmail.kmail.resumeNetworkJobs
    parent()->resumeNetworkJobs();
}

bool KmailAdaptor::selectFolder(const QString &folder)
{
    // handle method call org.kde.kmail.kmail.selectFolder
    return parent()->selectFolder(folder);
}

void KmailAdaptor::showFolder(const QString &collectionId)
{
    // handle method call org.kde.kmail.kmail.showFolder
    parent()->showFolder(collectionId);
}

bool KmailAdaptor::showMail(qlonglong serialNumber)
{
    // handle method call org.kde.kmail.kmail.showMail
    return parent()->showMail(serialNumber);
}

void KmailAdaptor::stopNetworkJobs()
{
    // handle method call org.kde.kmail.kmail.stopNetworkJobs
    parent()->stopNetworkJobs();
}

void KmailAdaptor::updateConfig()
{
    // handle method call org.kde.kmail.kmail.updateConfig
    parent()->updateConfig();
}

int KmailAdaptor::viewMessage(const QString &messageFile)
{
    // handle method call org.kde.kmail.kmail.viewMessage
    return parent()->viewMessage(messageFile);
}


#include "kmailadaptor.moc"
