/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp -m -a dockitemadaptor -i dockitem.h -l DockItem /usr/src/ports/kdeplasma-addons/kdeplasma-addons-4.14.3-3.x86_64/src/kdeplasma-addons-4.14.3/applets/icontasks/net.launchpad.DockItem.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 "dockitemadaptor.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 DockItemAdaptor
 */

DockItemAdaptor::DockItemAdaptor(DockItem *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

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

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

uint DockItemAdaptor::AddMenuItem(const QVariantMap &hints)
{
    // handle method call net.launchpad.DockItem.AddMenuItem
    return parent()->AddMenuItem(hints);
}

void DockItemAdaptor::RemoveMenuItem(uint id)
{
    // handle method call net.launchpad.DockItem.RemoveMenuItem
    parent()->RemoveMenuItem(id);
}

void DockItemAdaptor::UpdateDockItem(const QVariantMap &hints)
{
    // handle method call net.launchpad.DockItem.UpdateDockItem
    parent()->UpdateDockItem(hints);
}


#include "dockitemadaptor.moc"
