/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp -m -a resourceadaptor -c Akonadi__ResourceAdaptor -i resourcebase.h -l Akonadi::ResourceBase /usr/share/dbus-1/interfaces/org.freedesktop.Akonadi.Resource.xml
 *
 * qdbusxml2cpp is Copyright (C) 2015 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#include "resourceadaptor.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 Akonadi__ResourceAdaptor
 */

Akonadi__ResourceAdaptor::Akonadi__ResourceAdaptor(Akonadi::ResourceBase *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

QString Akonadi__ResourceAdaptor::name()
{
    // handle method call org.freedesktop.Akonadi.Resource.name
    return parent()->name();
}

bool Akonadi__ResourceAdaptor::requestItemDelivery(qlonglong uid, const QString &remoteId, const QString &mimeType, const QStringList &parts)
{
    // handle method call org.freedesktop.Akonadi.Resource.requestItemDelivery
    return parent()->requestItemDelivery(uid, remoteId, mimeType, parts);
}

QString Akonadi__ResourceAdaptor::requestItemDeliveryV2(qlonglong uid, const QString &remoteId, const QString &mimeType, const QStringList &parts)
{
    // handle method call org.freedesktop.Akonadi.Resource.requestItemDeliveryV2
    return parent()->requestItemDeliveryV2(uid, remoteId, mimeType, parts);
}

void Akonadi__ResourceAdaptor::setName(const QString &name)
{
    // handle method call org.freedesktop.Akonadi.Resource.setName
    parent()->setName(name);
}

void Akonadi__ResourceAdaptor::synchronize()
{
    // handle method call org.freedesktop.Akonadi.Resource.synchronize
    parent()->synchronize();
}

void Akonadi__ResourceAdaptor::synchronizeCollection(qlonglong collectionId, bool recursive)
{
    // handle method call org.freedesktop.Akonadi.Resource.synchronizeCollection
    parent()->synchronizeCollection(collectionId, recursive);
}

void Akonadi__ResourceAdaptor::synchronizeCollection(qlonglong collectionId)
{
    // handle method call org.freedesktop.Akonadi.Resource.synchronizeCollection
    parent()->synchronizeCollection(collectionId);
}

void Akonadi__ResourceAdaptor::synchronizeCollectionAttributes(qlonglong collectionId)
{
    // handle method call org.freedesktop.Akonadi.Resource.synchronizeCollectionAttributes
    parent()->synchronizeCollectionAttributes(collectionId);
}

void Akonadi__ResourceAdaptor::synchronizeCollectionTree()
{
    // handle method call org.freedesktop.Akonadi.Resource.synchronizeCollectionTree
    parent()->synchronizeCollectionTree();
}


#include "resourceadaptor.moc"
