| 1 |
/* |
| 2 |
* This file was generated by qdbusxml2cpp version 0.7 |
| 3 |
* Command line was: qdbusxml2cpp -N -p fcitxqtinputmethodproxy -c FcitxQtInputMethodProxy interfaces/org.fcitx.Fcitx.InputMethod1.xml -i fcitxqtdbustypes.h -i fcitx5qt4dbusaddons_export.h |
| 4 |
* |
| 5 |
* qdbusxml2cpp is Copyright (C) 2015 The Qt Company Ltd. |
| 6 |
* |
| 7 |
* This is an auto-generated file. |
| 8 |
* Do not edit! All changes made to it will be lost. |
| 9 |
*/ |
| 10 |
|
| 11 |
#ifndef FCITXQTINPUTMETHODPROXY_H_1637715099 |
| 12 |
#define FCITXQTINPUTMETHODPROXY_H_1637715099 |
| 13 |
|
| 14 |
#include <QtCore/QObject> |
| 15 |
#include <QtCore/QByteArray> |
| 16 |
#include <QtCore/QList> |
| 17 |
#include <QtCore/QMap> |
| 18 |
#include <QtCore/QString> |
| 19 |
#include <QtCore/QStringList> |
| 20 |
#include <QtCore/QVariant> |
| 21 |
#include <QtDBus/QtDBus> |
| 22 |
#include "fcitxqtdbustypes.h" |
| 23 |
#include "fcitx5qt4dbusaddons_export.h" |
| 24 |
|
| 25 |
namespace fcitx { |
| 26 |
|
| 27 |
/* |
| 28 |
* Proxy class for interface org.fcitx.Fcitx.InputMethod1 |
| 29 |
*/ |
| 30 |
class FCITX5QT4DBUSADDONS_EXPORT FcitxQtInputMethodProxy: public QDBusAbstractInterface |
| 31 |
{ |
| 32 |
Q_OBJECT |
| 33 |
public: |
| 34 |
static inline const char *staticInterfaceName() |
| 35 |
{ return "org.fcitx.Fcitx.InputMethod1"; } |
| 36 |
|
| 37 |
public: |
| 38 |
FcitxQtInputMethodProxy(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0); |
| 39 |
|
| 40 |
~FcitxQtInputMethodProxy(); |
| 41 |
|
| 42 |
public Q_SLOTS: // METHODS |
| 43 |
inline QDBusPendingReply<QDBusObjectPath, QByteArray> CreateInputContext(FcitxQtStringKeyValueList in0) |
| 44 |
{ |
| 45 |
QList<QVariant> argumentList; |
| 46 |
argumentList << QVariant::fromValue(in0); |
| 47 |
return asyncCallWithArgumentList(QLatin1String("CreateInputContext"), argumentList); |
| 48 |
} |
| 49 |
inline QDBusReply<QDBusObjectPath> CreateInputContext(FcitxQtStringKeyValueList in0, QByteArray &out1) |
| 50 |
{ |
| 51 |
QList<QVariant> argumentList; |
| 52 |
argumentList << QVariant::fromValue(in0); |
| 53 |
QDBusMessage reply = callWithArgumentList(QDBus::Block, QLatin1String("CreateInputContext"), argumentList); |
| 54 |
if (reply.type() == QDBusMessage::ReplyMessage && reply.arguments().count() == 2) { |
| 55 |
out1 = qdbus_cast<QByteArray>(reply.arguments().at(1)); |
| 56 |
} |
| 57 |
return reply; |
| 58 |
} |
| 59 |
|
| 60 |
Q_SIGNALS: // SIGNALS |
| 61 |
}; |
| 62 |
|
| 63 |
} |
| 64 |
|
| 65 |
#endif |