1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Command line was: qdbusxml2cpp -N -p qibusinputcontextproxy -c QIBusInputContextProxy interfaces/org.freedesktop.IBus.InputContext.xml
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 QIBUSINPUTCONTEXTPROXY_H_1394889529
12#define QIBUSINPUTCONTEXTPROXY_H_1394889529
13
14#include <QObject>
15#include <QByteArray>
16#include <QList>
17#include <QMap>
18#include <QString>
19#include <QStringList>
20#include <QVariant>
21#include <QDBusAbstractInterface>
22#include <QDBusPendingReply>
23
24
25/*
26 * Proxy class for interface org.freedesktop.IBus.InputContext
27 */
28class QIBusInputContextProxy: public QDBusAbstractInterface
29{
30 Q_OBJECT
31public:
32 static inline const char *staticInterfaceName()
33 { return "org.freedesktop.IBus.InputContext"; }
34
35public:
36 QIBusInputContextProxy(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
37
38 ~QIBusInputContextProxy();
39
40public Q_SLOTS: // METHODS
41 inline QDBusPendingReply<> Destroy()
42 {
43 QList<QVariant> argumentList;
44 return asyncCallWithArgumentList(method: QLatin1String("Destroy"), args: argumentList);
45 }
46
47 inline QDBusPendingReply<> Disable()
48 {
49 QList<QVariant> argumentList;
50 return asyncCallWithArgumentList(method: QLatin1String("Disable"), args: argumentList);
51 }
52
53 inline QDBusPendingReply<> Enable()
54 {
55 QList<QVariant> argumentList;
56 return asyncCallWithArgumentList(method: QLatin1String("Enable"), args: argumentList);
57 }
58
59 inline QDBusPendingReply<> FocusIn()
60 {
61 QList<QVariant> argumentList;
62 return asyncCallWithArgumentList(method: QLatin1String("FocusIn"), args: argumentList);
63 }
64
65 inline QDBusPendingReply<> FocusOut()
66 {
67 QList<QVariant> argumentList;
68 return asyncCallWithArgumentList(method: QLatin1String("FocusOut"), args: argumentList);
69 }
70
71 inline QDBusPendingReply<QDBusVariant> GetEngine()
72 {
73 QList<QVariant> argumentList;
74 return asyncCallWithArgumentList(method: QLatin1String("GetEngine"), args: argumentList);
75 }
76
77 inline QDBusPendingReply<bool> IsEnabled()
78 {
79 QList<QVariant> argumentList;
80 return asyncCallWithArgumentList(method: QLatin1String("IsEnabled"), args: argumentList);
81 }
82
83 inline QDBusPendingReply<bool> ProcessKeyEvent(uint keyval, uint keycode, uint state)
84 {
85 QList<QVariant> argumentList;
86 argumentList << QVariant::fromValue(value: keyval) << QVariant::fromValue(value: keycode) << QVariant::fromValue(value: state);
87 return asyncCallWithArgumentList(method: QLatin1String("ProcessKeyEvent"), args: argumentList);
88 }
89
90 inline QDBusPendingReply<> PropertyActivate(const QString &name, int state)
91 {
92 QList<QVariant> argumentList;
93 argumentList << QVariant::fromValue(value: name) << QVariant::fromValue(value: state);
94 return asyncCallWithArgumentList(method: QLatin1String("PropertyActivate"), args: argumentList);
95 }
96
97 inline QDBusPendingReply<> Reset()
98 {
99 QList<QVariant> argumentList;
100 return asyncCallWithArgumentList(method: QLatin1String("Reset"), args: argumentList);
101 }
102
103 inline QDBusPendingReply<> SetCapabilities(uint caps)
104 {
105 QList<QVariant> argumentList;
106 argumentList << QVariant::fromValue(value: caps);
107 return asyncCallWithArgumentList(method: QLatin1String("SetCapabilities"), args: argumentList);
108 }
109
110 inline QDBusPendingReply<> SetCursorLocation(int x, int y, int w, int h)
111 {
112 QList<QVariant> argumentList;
113 argumentList << QVariant::fromValue(value: x) << QVariant::fromValue(value: y) << QVariant::fromValue(value: w) << QVariant::fromValue(value: h);
114 return asyncCallWithArgumentList(method: QLatin1String("SetCursorLocation"), args: argumentList);
115 }
116
117 inline QDBusPendingReply<> SetCursorLocationRelative(int x, int y, int w, int h)
118 {
119 QList<QVariant> argumentList;
120 argumentList << QVariant::fromValue(value: x) << QVariant::fromValue(value: y) << QVariant::fromValue(value: w) << QVariant::fromValue(value: h);
121 return asyncCallWithArgumentList(method: QLatin1String("SetCursorLocationRelative"), args: argumentList);
122 }
123
124 inline QDBusPendingReply<> SetEngine(const QString &name)
125 {
126 QList<QVariant> argumentList;
127 argumentList << QVariant::fromValue(value: name);
128 return asyncCallWithArgumentList(method: QLatin1String("SetEngine"), args: argumentList);
129 }
130
131 inline QDBusPendingReply<> SetSurroundingText(const QDBusVariant &text, uint cursor_pos, uint anchor_pos)
132 {
133 QList<QVariant> argumentList;
134 argumentList << QVariant::fromValue(value: text) << QVariant::fromValue(value: cursor_pos) << QVariant::fromValue(value: anchor_pos);
135 return asyncCallWithArgumentList(method: QLatin1String("SetSurroundingText"), args: argumentList);
136 }
137
138Q_SIGNALS: // SIGNALS
139 void CommitText(const QDBusVariant &text);
140 void CursorDownLookupTable();
141 void CursorUpLookupTable();
142 void DeleteSurroundingText(int offset, uint n_chars);
143 void Disabled();
144 void Enabled();
145 void ForwardKeyEvent(uint keyval, uint keycode, uint state);
146 void HideAuxiliaryText();
147 void HideLookupTable();
148 void HidePreeditText();
149 void PageDownLookupTable();
150 void PageUpLookupTable();
151 void RegisterProperties(const QDBusVariant &props);
152 void RequireSurroundingText();
153 void ShowAuxiliaryText();
154 void ShowLookupTable();
155 void ShowPreeditText();
156 void UpdateAuxiliaryText(const QDBusVariant &text, bool visible);
157 void UpdateLookupTable(const QDBusVariant &table, bool visible);
158 void UpdatePreeditText(const QDBusVariant &text, uint cursor_pos, bool visible);
159 void UpdateProperty(const QDBusVariant &prop);
160};
161
162#endif
163

source code of qtbase/src/plugins/platforminputcontexts/ibus/qibusinputcontextproxy.h