/usr/lib/x86_64-linux-gnu/qt5/qml/QtPurchasing/plugins.qmltypes is in qml-module-qtpurchasing 5.6.0~git20151023.2f454143-0ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | 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 QtPurchasing 1.0'
Module {
Component {
name: "QInAppProductQmlType"
prototype: "QObject"
exports: ["Product 1.0"]
exportMetaObjectRevisions: [0]
Enum {
name: "Status"
values: {
"Uninitialized": 0,
"PendingRegistration": 1,
"Registered": 2,
"Unknown": 3
}
}
Enum {
name: "ProductType"
values: {
"Consumable": 0,
"Unlockable": 1
}
}
Property { name: "identifier"; type: "string" }
Property { name: "type"; type: "ProductType" }
Property { name: "price"; type: "string"; isReadonly: true }
Property { name: "title"; type: "string"; isReadonly: true }
Property { name: "description"; type: "string"; isReadonly: true }
Property { name: "status"; type: "Status"; isReadonly: true }
Property { name: "store"; type: "QInAppStoreQmlType"; isPointer: true }
Signal {
name: "purchaseSucceeded"
Parameter { name: "transaction"; type: "QInAppTransaction"; isPointer: true }
}
Signal {
name: "purchaseFailed"
Parameter { name: "transaction"; type: "QInAppTransaction"; isPointer: true }
}
Signal {
name: "purchaseRestored"
Parameter { name: "transaction"; type: "QInAppTransaction"; isPointer: true }
}
Method { name: "purchase" }
Method { name: "resetStatus" }
}
Component {
name: "QInAppStoreQmlType"
defaultProperty: "products"
prototype: "QObject"
exports: ["Store 1.0"]
exportMetaObjectRevisions: [0]
Property { name: "products"; type: "QInAppProductQmlType"; isList: true; isReadonly: true }
Method { name: "restorePurchases" }
}
Component {
name: "QInAppTransaction"
prototype: "QObject"
exports: ["Transaction 1.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Enum {
name: "TransactionStatus"
values: {
"Unknown": 0,
"PurchaseApproved": 1,
"PurchaseFailed": 2,
"PurchaseRestored": 3
}
}
Enum {
name: "FailureReason"
values: {
"NoFailure": 0,
"CanceledByUser": 1,
"ErrorOccurred": 2
}
}
Property { name: "status"; type: "TransactionStatus"; isReadonly: true }
Property { name: "product"; type: "QInAppProduct"; isReadonly: true; isPointer: true }
Property { name: "orderId"; type: "string"; isReadonly: true }
Property { name: "failureReason"; type: "FailureReason"; isReadonly: true }
Property { name: "errorString"; type: "string"; isReadonly: true }
Property { name: "timestamp"; type: "QDateTime"; isReadonly: true }
Method { name: "finalize" }
Method {
name: "platformProperty"
type: "string"
Parameter { name: "propertyName"; type: "string" }
}
}
}
|