summaryrefslogtreecommitdiffstats
path: root/src/imports/localdevice/plugins.qmltypes
blob: 88acb66e6f64eeb1d969e8e3d9d929ec46a12703 (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
import QtQuick.tooling 1.1

// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by:
// 'qmlplugindump -nonrelocatable B2Qt.Utils 1.0 /system/qml/B2Qt/Utils/'

Module {
    Component {
        name: "B2QtDevice"
        prototype: "QObject"
        exports: ["B2Qt.Utils/B2QtDevice 1.0"]
        isCreatable: false
        isSingleton: true
        exportMetaObjectRevisions: [0]
        Property { name: "displayBrightness"; type: "uchar" }
        Property { name: "hostname"; type: "string" }
        Property { name: "ipAddress"; type: "string"; isReadonly: true }
        Property { name: "masterVolume"; type: "int" }
        Signal {
            name: "displayBrightnessChanged"
            Parameter { name: "newValue"; type: "uchar" }
        }
        Signal {
            name: "hostnameChanged"
            Parameter { name: "newName"; type: "string" }
        }
        Signal {
            name: "ipAddressChanged"
            Parameter { name: "newAddress"; type: "string" }
        }
        Signal {
            name: "masterVolumeChanged"
            Parameter { name: "newVolume"; type: "int" }
        }
        Method { name: "reboot" }
        Method { name: "powerOff" }
        Method {
            name: "setDisplayBrightness"
            type: "bool"
            Parameter { name: "value"; type: "uchar" }
        }
        Method {
            name: "setHostname"
            type: "bool"
            Parameter { name: "name"; type: "string" }
        }
        Method {
            name: "setMasterVolume"
            Parameter { name: "volume"; type: "int" }
        }
    }
}