Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
69 lines
2.1 KiB
C++
69 lines
2.1 KiB
C++
/*
|
|
* This file was generated by qdbusxml2cpp version 0.8
|
|
* Command line was: qdbusxml2cpp -N -p fcitxqtinputmethodproxy -c
|
|
* FcitxQtInputMethodProxy interfaces/org.fcitx.Fcitx.InputMethod1.xml -i
|
|
* fcitxqtdbustypes.h -i fcitx5qt6dbusaddons_export.h
|
|
*
|
|
* qdbusxml2cpp is Copyright (C) 2023 The Qt Company Ltd and other contributors.
|
|
*
|
|
* This is an auto-generated file.
|
|
* Do not edit! All changes made to it will be lost.
|
|
*/
|
|
|
|
#ifndef FCITXQTINPUTMETHODPROXY_H
|
|
#define FCITXQTINPUTMETHODPROXY_H
|
|
|
|
#include <QtCore/QObject>
|
|
#include <QtCore/QByteArray>
|
|
#include <QtCore/QList>
|
|
#include <QtCore/QMap>
|
|
#include <QtCore/QString>
|
|
#include <QtCore/QStringList>
|
|
#include <QtCore/QVariant>
|
|
#include <QtDBus/QtDBus>
|
|
#include "fcitxqtdbustypes.h"
|
|
#include "fcitx5qt6dbusaddons_export.h"
|
|
|
|
namespace fcitx {
|
|
|
|
/*
|
|
* Proxy class for interface org.fcitx.Fcitx.InputMethod1
|
|
*/
|
|
class FCITX5QT6DBUSADDONS_EXPORT FcitxQtInputMethodProxy: public QDBusAbstractInterface
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
static inline const char *staticInterfaceName()
|
|
{ return "org.fcitx.Fcitx.InputMethod1"; }
|
|
|
|
public:
|
|
FcitxQtInputMethodProxy(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
|
|
|
|
~FcitxQtInputMethodProxy();
|
|
|
|
public Q_SLOTS: // METHODS
|
|
inline QDBusPendingReply<QDBusObjectPath, QByteArray> CreateInputContext(FcitxQtStringKeyValueList in0)
|
|
{
|
|
QList<QVariant> argumentList;
|
|
argumentList << QVariant::fromValue(in0);
|
|
return asyncCallWithArgumentList(QStringLiteral("CreateInputContext"), argumentList);
|
|
}
|
|
inline QDBusReply<QDBusObjectPath> CreateInputContext(FcitxQtStringKeyValueList in0, QByteArray &out1)
|
|
{
|
|
QList<QVariant> argumentList;
|
|
argumentList << QVariant::fromValue(in0);
|
|
QDBusMessage reply = callWithArgumentList(QDBus::Block, QStringLiteral("CreateInputContext"), argumentList);
|
|
if (reply.type() == QDBusMessage::ReplyMessage &&
|
|
reply.arguments().size() == 2) {
|
|
out1 = qdbus_cast<QByteArray>(reply.arguments().at(1));
|
|
}
|
|
return reply;
|
|
}
|
|
|
|
Q_SIGNALS: // SIGNALS
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|