aboutsummaryrefslogtreecommitdiff
path: root/bindings.json
blob: 646a7f904d3cc84cd6bd261912096b761b842ed3 (plain) (blame)
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
94
95
96
97
98
{
    "generate_automocks": true,
    "cppFile": "src/Bindings.cpp",
    "rust": {
        "dir": "rust",
        "interfaceModule": "interface",
        "implementationModule": "implementation"
    },
    "objects": {
        "PasswordMaker" : {
            "type" : "Object",
            "properties" : {
                "i_say_sexy_things_to_myself_while_im_dancing" : {
                    "type" : "bool",
                    "write": true
                },
                "profiles" : {
                    "type" : "Profiles"
                },
                "settings" : {
                    "type" : "Settings"
                },
                "url" : {
                    "type" : "QString",
                    "write" : true
                },
                "used_text" : {
                    "type" : "QString",
                    "write" : true
                },
                "master_password" : {
                    "type" : "QString",
                    "write" : true
                },
                "generated_password" : {
                    "type" : "QString"
                },
                "generator_state" : {
                    "type" : "quint8"
                }
            },
            "functions" : {
                "store_settings" : {
                    "return" : "bool",
                    "arguments" : []
                },
                "profile_changed" : {
                    "return": "void",
                    "arguments" : []
                }
            }
        },
        "Settings" : {
            "type" : "Object",
            "properties" : {
                "clear_generated_password_seconds" : { "type" : "quint32", "optional": true, "write" : true },
                "clear_master_password_seconds" : { "type" : "quint32", "optional": true, "write" : true },
                "hide_generated_password" : { "type" : "bool", "write" :true }
            }
        },
        "Profiles" : {
            "type" : "List",
            "properties" : {
                "current_profile" : {
                    "type" : "quint32",
                    "write" : true
                },
                "current_profile_name" : {
                    "type" : "QString"
                }
            },
            "itemProperties" : {
                "name" : { "type" : "QString", "write" : true, "roles" : [[ "display", "edit"]] },
                "use_leet" : { "type" : "quint8", "write" : true, "roles" : [[],[],[],[],[],[],[],[],[], [ "display", "edit"]] },
                "leet_level" : { "type" : "quint8", "write" : true, "roles" : [[],[],[],[],[],[],[],[],[],[], [ "display", "edit"]] },
                "hash_algorithm" : { "type" : "quint8", "write" : true, "roles" : [[],[],[],[],[],[],[],[], [ "display", "edit"]] },
                "use_protocol" : { "type" : "bool", "write" : true, "roles" : [[], [ "display", "edit"]] },
                "use_subdomains" : { "type" : "bool", "write" : true, "roles" : [[],[], [ "display", "edit"]] },
                "use_domain" : { "type" : "bool", "write" : true, "roles" : [[],[],[], [ "display", "edit"]] },
                "use_port_path" : { "type" : "bool", "write" : true, "roles" : [[],[],[],[], [ "display", "edit"]] },
                "use_user_info" : { "type" : "bool", "write" : true, "roles" : [[],[],[],[],[], [ "display", "edit"]] },
                "use_undefined_as_protocol_fallback" : { "type" : "bool", "write" : true, "roles" : [[],[],[],[],[],[], [ "display", "edit"]] },
                "password_length" : { "type" : "quint32", "write" : true, "roles" : [[],[],[],[],[],[],[], [ "display", "edit"]] },
                "username" : { "type" : "QString", "write" : true, "roles" : [[],[],[],[],[],[],[],[],[],[],[],[], [ "display", "edit"]] },
                "modifier" : { "type" : "QString", "write" : true, "roles" : [[],[],[],[],[],[],[],[],[],[],[],[],[], [ "display", "edit"]] },
                "characters" : { "type" : "QString", "write" : true, "roles" : [[],[],[],[],[],[],[],[],[],[],[], [ "display", "edit"]] },
                "prefix" : { "type" : "QString", "write" : true, "roles" : [[],[],[],[],[],[],[],[],[],[],[],[],[],[], [ "display", "edit"]] },
                "suffix" : { "type" : "QString", "write" : true, "roles" : [[],[],[],[],[],[],[],[],[],[],[],[],[],[],[], [ "display", "edit"]] }
            },
            "functions" : {
                "store" : {
                    "return" : "bool",
                    "arguments" : []
                }
            }
        }
    }
}