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

« back to all changes in this revision

Viewing changes to src/interfaces/qibuspaneladaptor.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 qibuspaneladaptor -c IBusPanelAdaptor -v org.freedesktop.IBus.Panel.xml org.freedesktop.IBus.Panel
 
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 QIBUSPANELADAPTOR_H_1268726783
 
13
#define QIBUSPANELADAPTOR_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.Panel
 
26
 */
 
27
class IBusPanelAdaptor: public QDBusAbstractAdaptor
 
28
{
 
29
    Q_OBJECT
 
30
    Q_CLASSINFO("D-Bus Interface", "org.freedesktop.IBus.Panel")
 
31
    Q_CLASSINFO("D-Bus Introspection", ""
 
32
"  <interface name=\"org.freedesktop.IBus.Panel\">\n"
 
33
"    <method name=\"UpdateLookupTable\">\n"
 
34
"      <arg direction=\"in\" type=\"v\" name=\"lookup_table\"/>\n"
 
35
"      <arg direction=\"in\" type=\"b\" name=\"visible\"/>\n"
 
36
"    </method>\n"
 
37
"    <method name=\"StartSetup\"/>\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
"    <method name=\"UpdateAuxiliaryText\">\n"
 
45
"      <arg direction=\"in\" type=\"v\" name=\"text\"/>\n"
 
46
"      <arg direction=\"in\" type=\"b\" name=\"visible\"/>\n"
 
47
"    </method>\n"
 
48
"    <method name=\"FocusOut\">\n"
 
49
"      <arg direction=\"in\" type=\"o\" name=\"ic\"/>\n"
 
50
"    </method>\n"
 
51
"    <signal name=\"CandidateClicked\">\n"
 
52
"      <arg type=\"u\" name=\"index\"/>\n"
 
53
"      <arg type=\"u\" name=\"button\"/>\n"
 
54
"      <arg type=\"u\" name=\"state\"/>\n"
 
55
"    </signal>\n"
 
56
"    <method name=\"HideAuxiliaryText\"/>\n"
 
57
"    <method name=\"Destroy\"/>\n"
 
58
"    <method name=\"PageDownLookupTable\"/>\n"
 
59
"    <method name=\"StateChanged\"/>\n"
 
60
"    <method name=\"HideLookupTable\"/>\n"
 
61
"    <signal name=\"PageUp\"/>\n"
 
62
"    <method name=\"ShowPreeditText\"/>\n"
 
63
"    <signal name=\"CursorUp\"/>\n"
 
64
"    <method name=\"Reset\"/>\n"
 
65
"    <method name=\"UpdateProperty\">\n"
 
66
"      <arg direction=\"in\" type=\"v\" name=\"prop\"/>\n"
 
67
"    </method>\n"
 
68
"    <method name=\"HidePreeditText\"/>\n"
 
69
"    <method name=\"CursorUpLookupTable\"/>\n"
 
70
"    <method name=\"ShowLookupTable\"/>\n"
 
71
"    <method name=\"UpdatePreeditText\">\n"
 
72
"      <arg direction=\"in\" type=\"v\" name=\"text\"/>\n"
 
73
"      <arg direction=\"in\" type=\"u\" name=\"cursor_pos\"/>\n"
 
74
"      <arg direction=\"in\" type=\"b\" name=\"visible\"/>\n"
 
75
"    </method>\n"
 
76
"    <method name=\"RegisterProperties\">\n"
 
77
"      <arg direction=\"in\" type=\"v\" name=\"props\"/>\n"
 
78
"    </method>\n"
 
79
"    <signal name=\"CursorDown\"/>\n"
 
80
"    <method name=\"CursorDownLookupTable\"/>\n"
 
81
"    <signal name=\"PropertyActivate\">\n"
 
82
"      <arg type=\"s\" name=\"prop_name\"/>\n"
 
83
"      <arg type=\"i\" name=\"prop_state\"/>\n"
 
84
"    </signal>\n"
 
85
"    <method name=\"ShowAuxiliaryText\"/>\n"
 
86
"    <signal name=\"PageDown\"/>\n"
 
87
"    <method name=\"HideLanguageBar\"/>\n"
 
88
"    <signal name=\"PropertyHide\">\n"
 
89
"      <arg type=\"s\" name=\"prop_name\"/>\n"
 
90
"    </signal>\n"
 
91
"    <method name=\"FocusIn\">\n"
 
92
"      <arg direction=\"in\" type=\"o\" name=\"ic\"/>\n"
 
93
"    </method>\n"
 
94
"    <signal name=\"PropertyShow\">\n"
 
95
"      <arg type=\"s\" name=\"prop_name\"/>\n"
 
96
"    </signal>\n"
 
97
"    <method name=\"PageUpLookupTable\"/>\n"
 
98
"    <method name=\"ShowLanguageBar\"/>\n"
 
99
"  </interface>\n"
 
100
        "")
 
101
public:
 
102
    IBusPanelAdaptor(QObject *parent);
 
103
    virtual ~IBusPanelAdaptor();
 
104
 
 
105
public: // PROPERTIES
 
106
public Q_SLOTS: // METHODS
 
107
    void CursorDownLookupTable();
 
108
    void CursorUpLookupTable();
 
109
    void Destroy();
 
110
    void FocusIn(const QDBusObjectPath &ic);
 
111
    void FocusOut(const QDBusObjectPath &ic);
 
112
    void HideAuxiliaryText();
 
113
    void HideLanguageBar();
 
114
    void HideLookupTable();
 
115
    void HidePreeditText();
 
116
    void PageDownLookupTable();
 
117
    void PageUpLookupTable();
 
118
    void RegisterProperties(const QDBusVariant &props);
 
119
    void Reset();
 
120
    void SetCursorLocation(int x, int y, int w, int h);
 
121
    void ShowAuxiliaryText();
 
122
    void ShowLanguageBar();
 
123
    void ShowLookupTable();
 
124
    void ShowPreeditText();
 
125
    void StartSetup();
 
126
    void StateChanged();
 
127
    void UpdateAuxiliaryText(const QDBusVariant &text, bool visible);
 
128
    void UpdateLookupTable(const QDBusVariant &lookup_table, bool visible);
 
129
    void UpdatePreeditText(const QDBusVariant &text, uint cursor_pos, bool visible);
 
130
    void UpdateProperty(const QDBusVariant &prop);
 
131
Q_SIGNALS: // SIGNALS
 
132
    void CandidateClicked(uint index, uint button, uint state);
 
133
    void CursorDown();
 
134
    void CursorUp();
 
135
    void PageDown();
 
136
    void PageUp();
 
137
    void PropertyActivate(const QString &prop_name, int prop_state);
 
138
    void PropertyHide(const QString &prop_name);
 
139
    void PropertyShow(const QString &prop_name);
 
140
};
 
141
 
 
142
#endif