~ubuntu-branches/ubuntu/utopic/ibus-qt/utopic

« back to all changes in this revision

Viewing changes to src/interfaces/qibusengineadaptor.h

  • Committer: Bazaar Package Importer
  • Author(s): LI Daobing
  • Date: 2010-04-10 16:25:47 UTC
  • mfrom: (5.2.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100410162547-9k8zunomsq7nre2c
Tags: 1.3.0-1
* New upstream release.
* debian/control: bump standards version to 3.8.4.
* debian/source/format: 3.0.
* Fix "FTBFS with binutils-gold" (Closes: #554862)
  - debian/patches/binutils-gold: added.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
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
 
4
 *
 
5
 * qdbusxml2cpp is Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
 
6
 *
 
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.
 
10
 */
 
11
 
 
12
#ifndef QIBUSENGINEADAPTOR_H_1268726783
 
13
#define QIBUSENGINEADAPTOR_H_1268726783
 
14
 
 
15
#include <QtCore/QObject>
 
16
#include <QtDBus/QtDBus>
 
17
class QByteArray;
 
18
template<class T> class QList;
 
19
template<class Key, class Value> class QMap;
 
20
class QString;
 
21
class QStringList;
 
22
class QVariant;
 
23
 
 
24
/*
 
25
 * Adaptor class for interface org.freedesktop.IBus.Engine
 
26
 */
 
27
class IBusEngineAdaptor: public QDBusAbstractAdaptor
 
28
{
 
29
    Q_OBJECT
 
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"
 
37
"    </method>\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"
 
43
"    </method>\n"
 
44
"    <signal name=\"UpdateAuxiliaryText\">\n"
 
45
"      <arg type=\"v\" name=\"text\"/>\n"
 
46
"      <arg type=\"b\" name=\"visible\"/>\n"
 
47
"    </signal>\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"
 
52
"    </signal>\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"
 
60
"    </signal>\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"
 
66
"    </method>\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"
 
73
"    </signal>\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"
 
79
"    </method>\n"
 
80
"    <signal name=\"HidePreeditText\"/>\n"
 
81
"    <signal name=\"CommitText\">\n"
 
82
"      <arg type=\"v\" name=\"text\"/>\n"
 
83
"    </signal>\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"
 
91
"    </signal>\n"
 
92
"    <signal name=\"RegisterProperties\">\n"
 
93
"      <arg type=\"v\" name=\"props\"/>\n"
 
94
"    </signal>\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"
 
99
"    </method>\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"
 
104
"    </method>\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"
 
109
"    </method>\n"
 
110
"    <signal name=\"PageUpLookupTable\"/>\n"
 
111
"  </interface>\n"
 
112
        "")
 
113
public:
 
114
    IBusEngineAdaptor(QObject *parent);
 
115
    virtual ~IBusEngineAdaptor();
 
116
 
 
117
public: // PROPERTIES
 
118
public Q_SLOTS: // METHODS
 
119
    void CandidateClicked(uint index, uint button, uint state);
 
120
    void CursorDown();
 
121
    void CursorUp();
 
122
    void Destroy();
 
123
    void Disable();
 
124
    void Enable();
 
125
    void FocusIn();
 
126
    void FocusOut();
 
127
    void PageDown();
 
128
    void PageUp();
 
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);
 
133
    void Reset();
 
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);
 
154
};
 
155
 
 
156
#endif