import QtQuick.tooling 1.2

// 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 qmltyperegistrar.

Module {
    Component {
        file: "pipewiresourceitem.h"
        lineNumber: 32
        name: "PipeWireSourceItem"
        accessSemantics: "reference"
        defaultProperty: "data"
        parentProperty: "parent"
        prototype: "QQuickItem"
        exports: ["org.kde.pipewire/PipeWireSourceItem 1.0"]
        exportMetaObjectRevisions: [256]
        Enum {
            name: "StreamState"
            isScoped: true
            lineNumber: 75
            values: [
                "Error",
                "Unconnected",
                "Connecting",
                "Paused",
                "Streaming"
            ]
        }
        Property {
            name: "state"
            type: "StreamState"
            read: "state"
            notify: "stateChanged"
            index: 0
            lineNumber: 38
            isReadonly: true
        }
        Property {
            name: "nodeId"
            type: "uint"
            read: "nodeId"
            write: "setNodeId"
            notify: "nodeIdChanged"
            index: 1
            lineNumber: 41
        }
        Property {
            name: "fd"
            type: "uint"
            read: "fd"
            write: "setFd"
            reset: "resetFd"
            notify: "fdChanged"
            index: 2
            lineNumber: 48
        }
        Property {
            name: "streamSize"
            type: "QSize"
            read: "streamSize"
            notify: "streamSizeChanged"
            index: 3
            lineNumber: 54
            isReadonly: true
        }
        Property {
            name: "allowDmaBuf"
            type: "bool"
            read: "allowDmaBuf"
            write: "setAllowDmaBuf"
            index: 4
            lineNumber: 59
        }
        Property {
            name: "usingDmaBuf"
            type: "bool"
            read: "usingDmaBuf"
            notify: "usingDmaBufChanged"
            index: 5
            lineNumber: 61
            isReadonly: true
        }
        Property {
            name: "ready"
            type: "bool"
            read: "isReady"
            notify: "readyChanged"
            index: 6
            lineNumber: 66
            isReadonly: true
        }
        Property {
            name: "paintedRect"
            type: "QRectF"
            read: "paintedRect"
            notify: "paintedRectChanged"
            index: 7
            lineNumber: 72
            isReadonly: true
        }
        Signal {
            name: "nodeIdChanged"
            lineNumber: 110
            Parameter { name: "nodeId"; type: "uint" }
        }
        Signal {
            name: "fdChanged"
            lineNumber: 111
            Parameter { name: "fd"; type: "uint" }
        }
        Signal { name: "streamSizeChanged"; lineNumber: 112 }
        Signal { name: "stateChanged"; lineNumber: 113 }
        Signal { name: "usingDmaBufChanged"; lineNumber: 114 }
        Signal { name: "readyChanged"; lineNumber: 115 }
        Signal { name: "paintedRectChanged"; lineNumber: 116 }
        Method { name: "invalidateSceneGraph"; lineNumber: 107 }
        Method { name: "updatePaintedRect"; lineNumber: 119 }
        Method { name: "error"; type: "QString"; isMethodConstant: true; lineNumber: 82 }
    }
}
