summaryrefslogtreecommitdiff
path: root/common/IUserInput.xml
blob: 1345ab7b31d2ac646cb89ae4ea958d274494d2ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">

<node>
  <interface name="conn.brw.IUserInput">
    <version>1.0.0</version>

    <doc>
      <line>User input interface</line>
    </doc>

    <method name="closeAlertDialog">
      <arg name="retval" type="(i)" direction="out"/>
      <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="conn::brw::ERROR_IDS" />
    </method>

    <method name="closeConfirmDialog">
      <arg name="a_eResult" type="(i)" direction="in"/>
      <arg name="retval" type="(i)" direction="out"/>
      <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="conn::brw::DIALOG_RESULT" />
      <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="conn::brw::ERROR_IDS" />
    </method>

    <method name="closePromptDialog">
      <arg name="a_strResultValue" type="s" direction="in"/>
      <arg name="a_eDialogResult" type="(i)" direction="in"/>
      <arg name="retval" type="(i)" direction="out"/>
      <annotation name="org.qtproject.QtDBus.QtTypeName.In1" value="conn::brw::DIALOG_RESULT" />
      <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="conn::brw::ERROR_IDS" />
    </method>

    <method name="selectOption">
      <arg name="a_oOptionList" type="a(bsb)" direction="in"/>
      <arg name="retval" type="(i)" direction="out"/>
      <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="const conn::brw::SelectableOptionList &amp;" />
      <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="conn::brw::ERROR_IDS" />
    </method>

    <method name="getPrevEnteredValues">
      <arg name="a_strInputName" type="s" direction="in"/>     
      <arg name="a_strInputValue" type="s" direction="in"/>
      <arg name="a_i32InputType" type="(i)" direction="in"/>
      <arg name="retval" type="(i)" direction="out"/>
      <arg name="a_oInputVariants" type="a(s)" direction="out"/>
      <annotation name="org.qtproject.QtDBus.QtTypeName.In2" value="conn::brw::INPUT_ELEMENT_TYPE" />
      <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="conn::brw::ERROR_IDS" />
      <annotation name="org.qtproject.QtDBus.QtTypeName.Out1" value="QStringList" />
    </method>
    
    <method name="inputText">
      <arg name="a_eResult" type="(i)" direction="in"/>
      <arg name="a_strInputValue" type="s" direction="in"/>
      <arg name="retval" type="(i)" direction="out"/>
      <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="conn::brw::DIALOG_RESULT" />
      <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="conn::brw::ERROR_IDS" />
    </method>

    <signal name="onAlertDialog">
      <arg name="a_strMessage" type="s"/>
    </signal>

    <signal name="onConfirmDialog">
      <arg name="a_strMessage" type="s"/>
    </signal>

    <signal name="onPromptDialog">
      <arg name="a_strMessage" type="s"/>
      <arg name="a_strDefaultValue" type="s"/>
    </signal>

    <signal name="onDialogCanceled" />

    <signal name="onSelect">
      <arg name="a_strSelectName" type="s"/>
      <arg name="a_oOptions" type="a(bsb)"/>
      <arg name="a_bMultiSelectionAllowed" type="b"/>
      <annotation name="org.qtproject.QtDBus.QtTypeName.In1" value="const conn::brw::SelectableOptionList &amp;" />
    </signal>

    <signal name="onInputText">
      <arg name="a_strInputName" type="s"/>
      <arg name="a_strDefaultInputValue" type="s"/>
      <arg name="a_i32InputValueType" type="(i)"/>  
      <arg name="a_s32MaxLength" type="i"/>
      <arg name="a_s32Max" type="i"/>
      <arg name="a_s32Min" type="i"/>
      <arg name="a_s32Step" type="i"/>
      <annotation name="org.qtproject.QtDBus.QtTypeName.In2" value="conn::brw::INPUT_ELEMENT_TYPE" />
    </signal>

    <signal name="onUserInputCanceled" />

  </interface>
</node>