/*
 * 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.
 * This file may have been hand-edited. Look for HAND-EDIT comments
 * before re-generating it.
 */

#ifndef MINPUTMETHODSERVER1INTERFACEADAPTOR_H
#define MINPUTMETHODSERVER1INTERFACEADAPTOR_H

#include <QtCore/QObject>
#include <QtDBus/QtDBus>
#include "dbusinputcontextconnection.h"
QT_BEGIN_NAMESPACE
class QByteArray;
template<class T> class QList;
template<class Key, class Value> class QMap;
class QString;
class QStringList;
class QVariant;
QT_END_NAMESPACE

/*
 * Adaptor class for interface com.meego.inputmethod.uiserver1
 */
class Uiserver1Adaptor: public QDBusAbstractAdaptor
{
    Q_OBJECT
    Q_CLASSINFO("D-Bus Interface", "com.meego.inputmethod.uiserver1")
    Q_CLASSINFO("D-Bus Introspection", ""
"  <interface name=\"com.meego.inputmethod.uiserver1\">\n"
"    <method name=\"activateContext\"/>\n"
"    <method name=\"showInputMethod\"/>\n"
"    <method name=\"hideInputMethod\"/>\n"
"    <method name=\"mouseClickedOnPreedit\">\n"
"      <arg type=\"i\" name=\"posX\"/>\n"
"      <arg type=\"i\" name=\"posY\"/>\n"
"      <arg type=\"i\" name=\"preeditRectX\"/>\n"
"      <arg type=\"i\" name=\"preeditRectY\"/>\n"
"      <arg type=\"i\" name=\"preeditRectWidth\"/>\n"
"      <arg type=\"i\" name=\"preeditRectHeight\"/>\n"
"    </method>\n"
"    <method name=\"setPreedit\">\n"
"      <arg type=\"s\" name=\"text\"/>\n"
"      <arg type=\"i\" name=\"cursorPos\"/>\n"
"    </method>\n"
"    <method name=\"updateWidgetInformation\">\n"
"      <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n"
"      <arg type=\"a{sv}\" name=\"stateInformation\"/>\n"
"      <arg type=\"b\" name=\"focusChanged\"/>\n"
"    </method>\n"
"    <method name=\"reset\"/>\n"
"    <method name=\"appOrientationAboutToChange\">\n"
"      <arg type=\"i\" name=\"angle\"/>\n"
"    </method>\n"
"    <method name=\"appOrientationChanged\">\n"
"      <arg type=\"i\" name=\"angle\"/>\n"
"    </method>\n"
"    <method name=\"setCopyPasteState\">\n"
"      <arg type=\"b\" name=\"copyAvailable\"/>\n"
"      <arg type=\"b\" name=\"pasteAvailable\"/>\n"
"    </method>\n"
"    <method name=\"processKeyEvent\">\n"
"      <arg type=\"i\" name=\"keyType\"/>\n"
"      <arg type=\"i\" name=\"keyCode\"/>\n"
"      <arg type=\"i\" name=\"modifiers\"/>\n"
"      <arg type=\"s\" name=\"text\"/>\n"
"      <arg type=\"b\" name=\"autoRepeat\"/>\n"
"      <arg type=\"i\" name=\"count\"/>\n"
"      <arg type=\"u\" name=\"nativeScanCode\"/>\n"
"      <arg type=\"u\" name=\"nativeModifiers\"/>\n"
"      <arg type=\"u\" name=\"time\"/>\n"
"    </method>\n"
"    <method name=\"registerAttributeExtension\">\n"
"      <arg type=\"i\" name=\"id\"/>\n"
"      <arg type=\"s\" name=\"fileName\"/>\n"
"    </method>\n"
"    <method name=\"unregisterAttributeExtension\">\n"
"      <arg type=\"i\" name=\"id\"/>\n"
"    </method>\n"
"    <method name=\"setExtendedAttribute\">\n"
"      <arg type=\"i\" name=\"id\"/>\n"
"      <arg type=\"s\" name=\"target\"/>\n"
"      <arg type=\"s\" name=\"targetItem\"/>\n"
"      <arg type=\"s\" name=\"attribute\"/>\n"
"      <arg type=\"v\" name=\"value\"/>\n"
"    </method>\n"
"    <method name=\"loadPluginSettings\">\n"
"      <arg type=\"s\" name=\"descriptionLanguage\"/>\n"
"    </method>\n"
"    <signal name=\"invokeAction\">\n"
"      <arg type=\"s\" name=\"action\"/>\n"
"      <arg type=\"s\" name=\"sequence\"/>\n"
"    </signal>\n"
"  </interface>\n"
        "")
public:
    Uiserver1Adaptor(DBusInputContextConnection *parent);
    virtual ~Uiserver1Adaptor();

    inline DBusInputContextConnection *parent() const
    { return static_cast<DBusInputContextConnection *>(QObject::parent()); }

public: // PROPERTIES
public Q_SLOTS: // METHODS
    void activateContext();
    void appOrientationAboutToChange(int angle);
    void appOrientationChanged(int angle);
    void hideInputMethod();
    void loadPluginSettings(const QString &descriptionLanguage);
    void mouseClickedOnPreedit(int posX, int posY, int preeditRectX, int preeditRectY, int preeditRectWidth, int preeditRectHeight);
    void processKeyEvent(int keyType, int keyCode, int modifiers, const QString &text, bool autoRepeat, int count, uint nativeScanCode, uint nativeModifiers, uint time);
    void registerAttributeExtension(int id, const QString &fileName);
    void reset();
    void setCopyPasteState(bool copyAvailable, bool pasteAvailable);
    void setExtendedAttribute(int id, const QString &target, const QString &targetItem, const QString &attribute, const QDBusVariant &value);
    void setPreedit(const QString &text, int cursorPos);
    void showInputMethod();
    void unregisterAttributeExtension(int id);
    void updateWidgetInformation(const QVariantMap &stateInformation, bool focusChanged);
Q_SIGNALS: // SIGNALS
    void invokeAction(const QString &action, const QString &sequence);
};

#endif
