/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -m -a minputmethodserver1interfaceadaptor -i dbusinputcontextconnection.h -l DBusInputContextConnection /home/builduser/maliit-framework/maliit-framework/src/framework/dbus_interfaces/minputmethodserver1interface.xml
 *
 * qdbusxml2cpp is Copyright (C) 2023 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#include "minputmethodserver1interfaceadaptor.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 Uiserver1Adaptor
 */

Uiserver1Adaptor::Uiserver1Adaptor(DBusInputContextConnection *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

void Uiserver1Adaptor::activateContext()
{
    // handle method call com.meego.inputmethod.uiserver1.activateContext
    parent()->activateContext();
}

void Uiserver1Adaptor::appOrientationAboutToChange(int angle)
{
    // handle method call com.meego.inputmethod.uiserver1.appOrientationAboutToChange
    parent()->appOrientationAboutToChange(angle);
}

void Uiserver1Adaptor::appOrientationChanged(int angle)
{
    // handle method call com.meego.inputmethod.uiserver1.appOrientationChanged
    parent()->appOrientationChanged(angle);
}

void Uiserver1Adaptor::hideInputMethod()
{
    // handle method call com.meego.inputmethod.uiserver1.hideInputMethod
    parent()->hideInputMethod();
}

void Uiserver1Adaptor::loadPluginSettings(const QString &descriptionLanguage)
{
    // handle method call com.meego.inputmethod.uiserver1.loadPluginSettings
    parent()->loadPluginSettings(descriptionLanguage);
}

void Uiserver1Adaptor::mouseClickedOnPreedit(int posX, int posY, int preeditRectX, int preeditRectY, int preeditRectWidth, int preeditRectHeight)
{
    // handle method call com.meego.inputmethod.uiserver1.mouseClickedOnPreedit
    parent()->mouseClickedOnPreedit(posX, posY, preeditRectX, preeditRectY, preeditRectWidth, preeditRectHeight);
}

void Uiserver1Adaptor::processKeyEvent(int keyType, int keyCode, int modifiers, const QString &text, bool autoRepeat, int count, uint nativeScanCode, uint nativeModifiers, uint time)
{
    // handle method call com.meego.inputmethod.uiserver1.processKeyEvent
    parent()->processKeyEvent(keyType, keyCode, modifiers, text, autoRepeat, count, nativeScanCode, nativeModifiers, time);
}

void Uiserver1Adaptor::registerAttributeExtension(int id, const QString &fileName)
{
    // handle method call com.meego.inputmethod.uiserver1.registerAttributeExtension
    parent()->registerAttributeExtension(id, fileName);
}

void Uiserver1Adaptor::reset()
{
    // handle method call com.meego.inputmethod.uiserver1.reset
    parent()->reset();
}

void Uiserver1Adaptor::setCopyPasteState(bool copyAvailable, bool pasteAvailable)
{
    // handle method call com.meego.inputmethod.uiserver1.setCopyPasteState
    parent()->setCopyPasteState(copyAvailable, pasteAvailable);
}

void Uiserver1Adaptor::setExtendedAttribute(int id, const QString &target, const QString &targetItem, const QString &attribute, const QDBusVariant &value)
{
    // handle method call com.meego.inputmethod.uiserver1.setExtendedAttribute
    parent()->setExtendedAttribute(id, target, targetItem, attribute, value);
}

void Uiserver1Adaptor::setPreedit(const QString &text, int cursorPos)
{
    // handle method call com.meego.inputmethod.uiserver1.setPreedit
    parent()->setPreedit(text, cursorPos);
}

void Uiserver1Adaptor::showInputMethod()
{
    // handle method call com.meego.inputmethod.uiserver1.showInputMethod
    parent()->showInputMethod();
}

void Uiserver1Adaptor::unregisterAttributeExtension(int id)
{
    // handle method call com.meego.inputmethod.uiserver1.unregisterAttributeExtension
    parent()->unregisterAttributeExtension(id);
}

void Uiserver1Adaptor::updateWidgetInformation(const QVariantMap &stateInformation, bool focusChanged)
{
    // handle method call com.meego.inputmethod.uiserver1.updateWidgetInformation
    parent()->updateWidgetInformation(stateInformation, focusChanged);
}


#include "minputmethodserver1interfaceadaptor.moc"
