/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp -m -a instanceadaptor -i nsplugin.h -l NSPluginInstance /usr/src/ports/kde-baseapps/kde-baseapps-16.08.3-1.i686/src/kde-baseapps-16.08.3/nsplugins/viewer/org.kde.nsplugins.instance.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 "instanceadaptor.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 InstanceAdaptor
 */

InstanceAdaptor::InstanceAdaptor(NSPluginInstance *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

void InstanceAdaptor::gotFocusIn()
{
    // handle method call org.kde.nsplugins.Instance.gotFocusIn
    parent()->gotFocusIn();
}

void InstanceAdaptor::gotFocusOut()
{
    // handle method call org.kde.nsplugins.Instance.gotFocusOut
    parent()->gotFocusOut();
}

void InstanceAdaptor::javascriptResult(int id, const QString &result)
{
    // handle method call org.kde.nsplugins.Instance.javascriptResult
    parent()->javascriptResult(id, result);
}

NSLiveConnectResult InstanceAdaptor::lcCall(qulonglong objid, const QString &field, const QStringList &args)
{
    // handle method call org.kde.nsplugins.Instance.lcCall
    return parent()->lcCall(objid, field, args);
}

NSLiveConnectResult InstanceAdaptor::lcGet(qulonglong objid, const QString &field)
{
    // handle method call org.kde.nsplugins.Instance.lcGet
    return parent()->lcGet(objid, field);
}

bool InstanceAdaptor::lcPut(qulonglong objid, const QString &field, const QString &value)
{
    // handle method call org.kde.nsplugins.Instance.lcPut
    return parent()->lcPut(objid, field, value);
}

void InstanceAdaptor::lcUnregister(qulonglong objid)
{
    // handle method call org.kde.nsplugins.Instance.lcUnregister
    parent()->lcUnregister(objid);
}

void InstanceAdaptor::resizePlugin(int pluginWinId, int w, int h)
{
    // handle method call org.kde.nsplugins.Instance.resizePlugin
    parent()->resizePlugin(pluginWinId, w, h);
}

void InstanceAdaptor::setupWindow(int winId, int w, int h)
{
    // handle method call org.kde.nsplugins.Instance.setupWindow
    parent()->setupWindow(winId, w, h);
}

void InstanceAdaptor::shutdown()
{
    // handle method call org.kde.nsplugins.Instance.shutdown
    parent()->shutdown();
}


#include "instanceadaptor.moc"
