/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp ./dde-api-proxy/file/dbus/v0/session/com.deepin.dde.Notification.xml -a ./dde-api-proxy/toolGenerate/qdbusxml2cpp/com.deepin.dde.NotificationAdaptor -i ./dde-api-proxy/toolGenerate/qdbusxml2cpp/com.deepin.dde.Notification.h
 *
 * qdbusxml2cpp is Copyright (C) 2017 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#include "./dde-api-proxy/toolGenerate/qdbusxml2cpp/com.deepin.dde.NotificationAdaptor.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 NotificationAdaptor
 */

NotificationAdaptor::NotificationAdaptor(QObject *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

QString NotificationAdaptor::allSetting() const
{
    // get the value of property allSetting
    return qvariant_cast< QString >(parent()->property("allSetting"));
}

void NotificationAdaptor::setAllSetting(const QString &value)
{
    // set the value of property allSetting
    parent()->setProperty("allSetting", QVariant::fromValue(value));
}

uint NotificationAdaptor::recordCount() const
{
    // get the value of property recordCount
    return qvariant_cast< uint >(parent()->property("recordCount"));
}

QString NotificationAdaptor::systemSetting() const
{
    // get the value of property systemSetting
    return qvariant_cast< QString >(parent()->property("systemSetting"));
}

void NotificationAdaptor::setSystemSetting(const QString &value)
{
    // set the value of property systemSetting
    parent()->setProperty("systemSetting", QVariant::fromValue(value));
}

void NotificationAdaptor::ClearRecords()
{
    // handle method call com.deepin.dde.Notification.ClearRecords
    QMetaObject::invokeMethod(parent(), "ClearRecords");
}

void NotificationAdaptor::CloseNotification(uint in0)
{
    // handle method call com.deepin.dde.Notification.CloseNotification
    QMetaObject::invokeMethod(parent(), "CloseNotification", Q_ARG(uint, in0));
}

QString NotificationAdaptor::GetAllRecords()
{
    // handle method call com.deepin.dde.Notification.GetAllRecords
    QString out0;
    QMetaObject::invokeMethod(parent(), "GetAllRecords", Q_RETURN_ARG(QString, out0));
    return out0;
}

QDBusVariant NotificationAdaptor::GetAppInfo(const QString &in0, uint in1)
{
    // handle method call com.deepin.dde.Notification.GetAppInfo
    QDBusVariant out0;
    QMetaObject::invokeMethod(parent(), "GetAppInfo", Q_RETURN_ARG(QDBusVariant, out0), Q_ARG(QString, in0), Q_ARG(uint, in1));
    return out0;
}

QStringList NotificationAdaptor::GetAppList()
{
    // handle method call com.deepin.dde.Notification.GetAppList
    QStringList out0;
    QMetaObject::invokeMethod(parent(), "GetAppList", Q_RETURN_ARG(QStringList, out0));
    return out0;
}

QStringList NotificationAdaptor::GetCapbilities()
{
    // handle method call com.deepin.dde.Notification.GetCapbilities
    QStringList out0;
    QMetaObject::invokeMethod(parent(), "GetCapbilities", Q_RETURN_ARG(QStringList, out0));
    return out0;
}

QString NotificationAdaptor::GetRecordById(const QString &in0)
{
    // handle method call com.deepin.dde.Notification.GetRecordById
    QString out0;
    QMetaObject::invokeMethod(parent(), "GetRecordById", Q_RETURN_ARG(QString, out0), Q_ARG(QString, in0));
    return out0;
}

QString NotificationAdaptor::GetRecordsFromId(int in0, const QString &in1)
{
    // handle method call com.deepin.dde.Notification.GetRecordsFromId
    QString out0;
    QMetaObject::invokeMethod(parent(), "GetRecordsFromId", Q_RETURN_ARG(QString, out0), Q_ARG(int, in0), Q_ARG(QString, in1));
    return out0;
}

QString NotificationAdaptor::GetServerInformation(QString &out1, QString &out2, QString &out3)
{
    // handle method call com.deepin.dde.Notification.GetServerInformation
    //return static_cast<YourObjectType *>(parent())->GetServerInformation(out1, out2, out3);
}

QDBusVariant NotificationAdaptor::GetSystemInfo(uint in0)
{
    // handle method call com.deepin.dde.Notification.GetSystemInfo
    QDBusVariant out0;
    QMetaObject::invokeMethod(parent(), "GetSystemInfo", Q_RETURN_ARG(QDBusVariant, out0), Q_ARG(uint, in0));
    return out0;
}

void NotificationAdaptor::Hide()
{
    // handle method call com.deepin.dde.Notification.Hide
    QMetaObject::invokeMethod(parent(), "Hide");
}

uint NotificationAdaptor::Notify(const QString &in0, uint in1, const QString &in2, const QString &in3, const QString &in4, const QStringList &in5, const QVariantMap &in6, int in7)
{
    // handle method call com.deepin.dde.Notification.Notify
    uint out0;
    QMetaObject::invokeMethod(parent(), "Notify", Q_RETURN_ARG(uint, out0), Q_ARG(QString, in0), Q_ARG(uint, in1), Q_ARG(QString, in2), Q_ARG(QString, in3), Q_ARG(QString, in4), Q_ARG(QStringList, in5), Q_ARG(QVariantMap, in6), Q_ARG(int, in7));
    return out0;
}

void NotificationAdaptor::RemoveRecord(const QString &in0)
{
    // handle method call com.deepin.dde.Notification.RemoveRecord
    QMetaObject::invokeMethod(parent(), "RemoveRecord", Q_ARG(QString, in0));
}

void NotificationAdaptor::SetAppInfo(const QString &in0, uint in1, const QDBusVariant &in2)
{
    // handle method call com.deepin.dde.Notification.SetAppInfo
    QMetaObject::invokeMethod(parent(), "SetAppInfo", Q_ARG(QString, in0), Q_ARG(uint, in1), Q_ARG(QDBusVariant, in2));
}

void NotificationAdaptor::SetSystemInfo(uint in0, const QDBusVariant &in1)
{
    // handle method call com.deepin.dde.Notification.SetSystemInfo
    QMetaObject::invokeMethod(parent(), "SetSystemInfo", Q_ARG(uint, in0), Q_ARG(QDBusVariant, in1));
}

void NotificationAdaptor::Show()
{
    // handle method call com.deepin.dde.Notification.Show
    QMetaObject::invokeMethod(parent(), "Show");
}

void NotificationAdaptor::Toggle()
{
    // handle method call com.deepin.dde.Notification.Toggle
    QMetaObject::invokeMethod(parent(), "Toggle");
}

QString NotificationAdaptor::getAppSetting(const QString &in0)
{
    // handle method call com.deepin.dde.Notification.getAppSetting
    QString out0;
    QMetaObject::invokeMethod(parent(), "getAppSetting", Q_RETURN_ARG(QString, out0), Q_ARG(QString, in0));
    return out0;
}

uint NotificationAdaptor::recordCount()
{
    // handle method call com.deepin.dde.Notification.recordCount
    uint out0;
    QMetaObject::invokeMethod(parent(), "recordCount", Q_RETURN_ARG(uint, out0));
    return out0;
}

void NotificationAdaptor::setAppSetting(const QString &in0)
{
    // handle method call com.deepin.dde.Notification.setAppSetting
    QMetaObject::invokeMethod(parent(), "setAppSetting", Q_ARG(QString, in0));
}

