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(QLatin1String("Destroy"), argumentList);
43 }
44
45 inline QDBusPendingReply<> Disable()
46 {
47 QList<QVariant> argumentList;
48 return asyncCallWithArgumentList(QLatin1String("Disable"), argumentList);
49 }
50
51 inline QDBusPendingReply<> Enable()
52 {
53 QList<QVariant> argumentList;
54 return asyncCallWithArgumentList(QLatin1String("Enable"), argumentList);
55 }
56
57 inline QDBusPendingReply<> FocusIn()
58 {
59 QList<QVariant> argumentList;
60 return asyncCallWithArgumentList(QLatin1String("FocusIn"), argumentList);
61 }
62
63 inline QDBusPendingReply<> FocusOut()
64 {
65 QList<QVariant> argumentList;
66 return asyncCallWithArgumentList(QLatin1String("FocusOut"), argumentList);
67 }
68
69 inline QDBusPendingReply<QDBusVariant> GetEngine()
70 {
71 QList<QVariant> argumentList;
72 return asyncCallWithArgumentList(QLatin1String("GetEngine"), argumentList);
73 }
74
75 inline QDBusPendingReply<bool> IsEnabled()
76 {
77 QList<QVariant> argumentList;
78 return asyncCallWithArgumentList(QLatin1String("IsEnabled"), argumentList);
79 }
80
81 inline QDBusPendingReply<bool> ProcessKeyEvent(uint keyval, uint keycode, uint state)
82 {
83 QList<QVariant> argumentList;
84 argumentList << QVariant::fromValue(keyval) << QVariant::fromValue(keycode) << QVariant::fromValue(state);
85 return asyncCallWithArgumentList(QLatin1String("ProcessKeyEvent"), argumentList);
86 }
87
88 inline QDBusPendingReply<> PropertyActivate(const QString &name, int state)
89 {
90 QList<QVariant> argumentList;
91 argumentList << QVariant::fromValue(name) << QVariant::fromValue(state);
92 return asyncCallWithArgumentList(QLatin1String("PropertyActivate"), argumentList);
93 }
94
95 inline QDBusPendingReply<> Reset()
96 {
97 QList<QVariant> argumentList;
98 return asyncCallWithArgumentList(QLatin1String("Reset"), argumentList);
99 }
100
101 inline QDBusPendingReply<> SetCapabilities(uint caps)
102 {
103 QList<QVariant> argumentList;
104 argumentList << QVariant::fromValue(caps);
105 return asyncCallWithArgumentList(QLatin1String("SetCapabilities"), argumentList);
106 }
107
108 inline QDBusPendingReply<> SetCursorLocation(int x, int y, int w, int h)
109 {
110 QList<QVariant> argumentList;
111 argumentList << QVariant::fromValue(x) << QVariant::fromValue(y) << QVariant::fromValue(w) << QVariant::fromValue(h);
112 return asyncCallWithArgumentList(QLatin1String("SetCursorLocation"), argumentList);
113 }
114
115 inline QDBusPendingReply<> SetEngine(const QString &name)
116 {
117 QList<QVariant> argumentList;
118 argumentList << QVariant::fromValue(name);
119 return asyncCallWithArgumentList(QLatin1String("SetEngine"), 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(text) << QVariant::fromValue(cursor_pos) << QVariant::fromValue(anchor_pos);
126 return asyncCallWithArgumentList(QLatin1String("SetSurroundingText"), 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