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

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