IBus: New version of IBus.InputContext DBus declaration file

Task-number: QTBUG-37540
Change-Id: I9977198b15c0f827b7483f4131c45fe2a86e8ef5
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
This commit is contained in:
Trung Ngo 2014-03-15 23:54:48 +07:00 committed by The Qt Project
parent d6f58e5e17
commit db665477e9
3 changed files with 23 additions and 4 deletions

View File

@ -35,6 +35,11 @@
<method name="GetEngine">
<arg name="desc" direction="out" type="v"/>
</method>
<method name="SetSurroundingText">
<arg name="text" direction="in" type="v"/>
<arg name="cursor_pos" direction="in" type="u"/>
<arg name="anchor_pos" direction="in" type="u"/>
</method>
<method name="Destroy"/>
<signal name="CommitText">
<arg name="text" type="v"/>
@ -75,6 +80,11 @@
<signal name="UpdateProperty">
<arg name="prop" type="v"/>
</signal>
<signal name="RequireSurroundingText"/>
<signal name="DeleteSurroundingText">
<arg name="offset" type="i"/>
<arg name="n_chars" type="u"/>
</signal>
</interface>
</node>

View File

@ -1,5 +1,5 @@
/*
* This file was generated by qdbusxml2cpp version 0.7
* This file was generated by qdbusxml2cpp version 0.8
* Command line was: qdbusxml2cpp -N -p qibusinputcontextproxy -c QIBusInputContextProxy interfaces/org.freedesktop.IBus.InputContext.xml
*
* qdbusxml2cpp is Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).

View File

@ -1,5 +1,5 @@
/*
* This file was generated by qdbusxml2cpp version 0.7
* This file was generated by qdbusxml2cpp version 0.8
* Command line was: qdbusxml2cpp -N -p qibusinputcontextproxy -c QIBusInputContextProxy interfaces/org.freedesktop.IBus.InputContext.xml
*
* qdbusxml2cpp is Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
@ -8,8 +8,8 @@
* Do not edit! All changes made to it will be lost.
*/
#ifndef QIBUSINPUTCONTEXTPROXY_H_1308831153
#define QIBUSINPUTCONTEXTPROXY_H_1308831153
#ifndef QIBUSINPUTCONTEXTPROXY_H_1394889529
#define QIBUSINPUTCONTEXTPROXY_H_1394889529
#include <QtCore/QObject>
#include <QtCore/QByteArray>
@ -119,10 +119,18 @@ public Q_SLOTS: // METHODS
return asyncCallWithArgumentList(QLatin1String("SetEngine"), argumentList);
}
inline QDBusPendingReply<> SetSurroundingText(const QDBusVariant &text, uint cursor_pos, uint anchor_pos)
{
QList<QVariant> argumentList;
argumentList << QVariant::fromValue(text) << QVariant::fromValue(cursor_pos) << QVariant::fromValue(anchor_pos);
return asyncCallWithArgumentList(QLatin1String("SetSurroundingText"), argumentList);
}
Q_SIGNALS: // SIGNALS
void CommitText(const QDBusVariant &text);
void CursorDownLookupTable();
void CursorUpLookupTable();
void DeleteSurroundingText(int offset, uint n_chars);
void Disabled();
void Enabled();
void ForwardKeyEvent(uint keyval, uint keycode, uint state);
@ -132,6 +140,7 @@ Q_SIGNALS: // SIGNALS
void PageDownLookupTable();
void PageUpLookupTable();
void RegisterProperties(const QDBusVariant &props);
void RequireSurroundingText();
void ShowAuxiliaryText();
void ShowLookupTable();
void ShowPreeditText();