2
* This file was generated by qdbusxml2cpp version 0.7
3
* Command line was: qdbusxml2cpp -a qibusengineadaptor -c IBusEngineAdaptor -v org.freedesktop.IBus.Engine.xml org.freedesktop.IBus.Engine
5
* qdbusxml2cpp is Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
7
* This is an auto-generated file.
8
* This file may have been hand-edited. Look for HAND-EDIT comments
9
* before re-generating it.
12
#ifndef QIBUSENGINEADAPTOR_H_1268726783
13
#define QIBUSENGINEADAPTOR_H_1268726783
15
#include <QtCore/QObject>
16
#include <QtDBus/QtDBus>
18
template<class T> class QList;
19
template<class Key, class Value> class QMap;
25
* Adaptor class for interface org.freedesktop.IBus.Engine
27
class IBusEngineAdaptor: public QDBusAbstractAdaptor
30
Q_CLASSINFO("D-Bus Interface", "org.freedesktop.IBus.Engine")
31
Q_CLASSINFO("D-Bus Introspection", ""
32
" <interface name=\"org.freedesktop.IBus.Engine\">\n"
33
" <method name=\"CandidateClicked\">\n"
34
" <arg direction=\"in\" type=\"u\" name=\"index\"/>\n"
35
" <arg direction=\"in\" type=\"u\" name=\"button\"/>\n"
36
" <arg direction=\"in\" type=\"u\" name=\"state\"/>\n"
38
" <method name=\"SetCursorLocation\">\n"
39
" <arg direction=\"in\" type=\"i\" name=\"x\"/>\n"
40
" <arg direction=\"in\" type=\"i\" name=\"y\"/>\n"
41
" <arg direction=\"in\" type=\"i\" name=\"w\"/>\n"
42
" <arg direction=\"in\" type=\"i\" name=\"h\"/>\n"
44
" <signal name=\"UpdateAuxiliaryText\">\n"
45
" <arg type=\"v\" name=\"text\"/>\n"
46
" <arg type=\"b\" name=\"visible\"/>\n"
48
" <method name=\"FocusOut\"/>\n"
49
" <signal name=\"UpdateLookupTable\">\n"
50
" <arg type=\"v\" name=\"lookup_table\"/>\n"
51
" <arg type=\"b\" name=\"visible\"/>\n"
53
" <signal name=\"HideAuxiliaryText\"/>\n"
54
" <method name=\"Destroy\"/>\n"
55
" <signal name=\"PageDownLookupTable\"/>\n"
56
" <signal name=\"ForwardKeyEvent\">\n"
57
" <arg type=\"u\" name=\"keyval\"/>\n"
58
" <arg type=\"u\" name=\"keycode\"/>\n"
59
" <arg type=\"u\" name=\"state\"/>\n"
61
" <method name=\"Enable\"/>\n"
62
" <signal name=\"ShowAuxiliaryText\"/>\n"
63
" <method name=\"PageUp\"/>\n"
64
" <method name=\"SetCapabilities\">\n"
65
" <arg direction=\"in\" type=\"u\" name=\"cap\"/>\n"
67
" <method name=\"Disable\"/>\n"
68
" <signal name=\"ShowPreeditText\"/>\n"
69
" <method name=\"CursorUp\"/>\n"
70
" <method name=\"Reset\"/>\n"
71
" <signal name=\"UpdateProperty\">\n"
72
" <arg type=\"v\" name=\"prop\"/>\n"
74
" <method name=\"ProcessKeyEvent\">\n"
75
" <arg direction=\"in\" type=\"u\" name=\"keyval\"/>\n"
76
" <arg direction=\"in\" type=\"u\" name=\"keycode\"/>\n"
77
" <arg direction=\"in\" type=\"u\" name=\"state\"/>\n"
78
" <arg direction=\"out\" type=\"b\"/>\n"
80
" <signal name=\"HidePreeditText\"/>\n"
81
" <signal name=\"CommitText\">\n"
82
" <arg type=\"v\" name=\"text\"/>\n"
84
" <signal name=\"CursorUpLookupTable\"/>\n"
85
" <method name=\"CursorDown\"/>\n"
86
" <signal name=\"UpdatePreeditText\">\n"
87
" <arg type=\"v\" name=\"text\"/>\n"
88
" <arg type=\"u\" name=\"cursor_pos\"/>\n"
89
" <arg type=\"b\" name=\"visible\"/>\n"
90
" <arg type=\"u\" name=\"mode\"/>\n"
92
" <signal name=\"RegisterProperties\">\n"
93
" <arg type=\"v\" name=\"props\"/>\n"
95
" <signal name=\"ShowLookupTable\"/>\n"
96
" <signal name=\"CursorDownLookupTable\"/>\n"
97
" <method name=\"PropertyShow\">\n"
98
" <arg direction=\"in\" type=\"s\" name=\"prop_name\"/>\n"
100
" <signal name=\"HideLookupTable\"/>\n"
101
" <method name=\"PageDown\"/>\n"
102
" <method name=\"PropertyHide\">\n"
103
" <arg direction=\"in\" type=\"s\" name=\"prop_name\"/>\n"
105
" <method name=\"FocusIn\"/>\n"
106
" <method name=\"PropertyActivate\">\n"
107
" <arg direction=\"in\" type=\"s\" name=\"prop_name\"/>\n"
108
" <arg direction=\"in\" type=\"i\" name=\"prop_state\"/>\n"
110
" <signal name=\"PageUpLookupTable\"/>\n"
114
IBusEngineAdaptor(QObject *parent);
115
virtual ~IBusEngineAdaptor();
117
public: // PROPERTIES
118
public Q_SLOTS: // METHODS
119
void CandidateClicked(uint index, uint button, uint state);
129
bool ProcessKeyEvent(uint keyval, uint keycode, uint state);
130
void PropertyActivate(const QString &prop_name, int prop_state);
131
void PropertyHide(const QString &prop_name);
132
void PropertyShow(const QString &prop_name);
134
void SetCapabilities(uint cap);
135
void SetCursorLocation(int x, int y, int w, int h);
136
Q_SIGNALS: // SIGNALS
137
void CommitText(const QDBusVariant &text);
138
void CursorDownLookupTable();
139
void CursorUpLookupTable();
140
void ForwardKeyEvent(uint keyval, uint keycode, uint state);
141
void HideAuxiliaryText();
142
void HideLookupTable();
143
void HidePreeditText();
144
void PageDownLookupTable();
145
void PageUpLookupTable();
146
void RegisterProperties(const QDBusVariant &props);
147
void ShowAuxiliaryText();
148
void ShowLookupTable();
149
void ShowPreeditText();
150
void UpdateAuxiliaryText(const QDBusVariant &text, bool visible);
151
void UpdateLookupTable(const QDBusVariant &lookup_table, bool visible);
152
void UpdatePreeditText(const QDBusVariant &text, uint cursor_pos, bool visible, uint mode);
153
void UpdateProperty(const QDBusVariant &prop);