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: "qmenuitem.h"
        lineNumber: 16
        name: "QMenuItem"
        accessSemantics: "reference"
        prototype: "QObject"
        exports: [
            "org.kde.plasma.extras/QMenuItem 2.0",
            "org.kde.plasma.extras/MenuItem 2.0"
        ]
        exportMetaObjectRevisions: [512]
        Property {
            name: "parent"
            type: "QObject"
            isPointer: true
            read: "parent"
            write: "setParent"
            index: 0
            lineNumber: 25
        }
        Property {
            name: "separator"
            type: "bool"
            read: "separator"
            write: "setSeparator"
            notify: "separatorChanged"
            index: 1
            lineNumber: 30
        }
        Property {
            name: "section"
            type: "bool"
            read: "section"
            write: "setSection"
            notify: "sectionChanged"
            index: 2
            lineNumber: 34
        }
        Property {
            name: "text"
            type: "QString"
            read: "text"
            write: "setText"
            notify: "textChanged"
            index: 3
            lineNumber: 35
        }
        Property {
            name: "icon"
            type: "QVariant"
            read: "icon"
            write: "setIcon"
            notify: "iconChanged"
            index: 4
            lineNumber: 36
        }
        Property {
            name: "action"
            type: "QAction"
            isPointer: true
            read: "action"
            write: "setAction"
            notify: "actionChanged"
            index: 5
            lineNumber: 37
        }
        Property {
            name: "checkable"
            type: "bool"
            read: "checkable"
            write: "setCheckable"
            notify: "checkableChanged"
            index: 6
            lineNumber: 38
        }
        Property {
            name: "checked"
            type: "bool"
            read: "checked"
            write: "setChecked"
            notify: "toggled"
            index: 7
            lineNumber: 39
        }
        Property {
            name: "enabled"
            type: "bool"
            read: "isEnabled"
            write: "setEnabled"
            notify: "enabledChanged"
            index: 8
            lineNumber: 40
        }
        Property {
            name: "visible"
            type: "bool"
            read: "isVisible"
            write: "setVisible"
            notify: "visibleChanged"
            index: 9
            lineNumber: 41
        }
        Signal { name: "clicked"; lineNumber: 70 }
        Signal { name: "actionChanged"; lineNumber: 72 }
        Signal { name: "iconChanged"; lineNumber: 73 }
        Signal { name: "separatorChanged"; lineNumber: 74 }
        Signal { name: "sectionChanged"; lineNumber: 75 }
        Signal { name: "textChanged"; lineNumber: 76 }
        Signal {
            name: "toggled"
            lineNumber: 77
            Parameter { name: "checked"; type: "bool" }
        }
        Signal { name: "checkableChanged"; lineNumber: 78 }
        Signal { name: "enabledChanged"; lineNumber: 79 }
        Signal { name: "visibleChanged"; lineNumber: 80 }
    }
    Component {
        file: "qmenu.h"
        lineNumber: 59
        name: "QMenuProxy"
        accessSemantics: "reference"
        defaultProperty: "content"
        prototype: "QObject"
        exports: [
            "org.kde.plasma.extras/QMenuProxy 2.0",
            "org.kde.plasma.extras/Menu 2.0"
        ]
        exportMetaObjectRevisions: [512]
        Enum {
            name: "PopupPlacement"
            lineNumber: 114
            values: [
                "FloatingPopup",
                "TopPosedLeftAlignedPopup",
                "TopPosedRightAlignedPopup",
                "LeftPosedTopAlignedPopup",
                "LeftPosedBottomAlignedPopup",
                "BottomPosedLeftAlignedPopup",
                "BottomPosedRightAlignedPopup",
                "RightPosedTopAlignedPopup",
                "RightPosedBottomAlignedPopup"
            ]
        }
        Enum {
            name: "Status"
            lineNumber: 135
            values: ["Opening", "Open", "Closing", "Closed"]
        }
        Property {
            name: "content"
            type: "QMenuItem"
            isList: true
            read: "content"
            index: 0
            lineNumber: 65
            isReadonly: true
            isPropertyConstant: true
        }
        Property {
            name: "transientParent"
            type: "QWindow"
            isPointer: true
            read: "transientParent"
            write: "setTransientParent"
            notify: "transientParentChanged"
            index: 1
            lineNumber: 72
        }
        Property {
            name: "visualParent"
            type: "QObject"
            isPointer: true
            read: "visualParent"
            write: "setVisualParent"
            notify: "visualParentChanged"
            index: 2
            lineNumber: 79
        }
        Property {
            name: "status"
            type: "Status"
            read: "status"
            notify: "statusChanged"
            index: 3
            lineNumber: 80
            isReadonly: true
        }
        Property {
            name: "placement"
            type: "PopupPlacement"
            read: "placement"
            write: "setPlacement"
            notify: "placementChanged"
            index: 4
            lineNumber: 88
        }
        Property {
            name: "preferSeamlessEdges"
            type: "bool"
            read: "preferSeamlessEdges"
            write: "setPreferSeamlessEdges"
            notify: "preferSeamlessEdgesChanged"
            index: 5
            lineNumber: 95
        }
        Property {
            name: "minimumWidth"
            type: "int"
            read: "minimumWidth"
            write: "setMinimumWidth"
            notify: "minimumWidthChanged"
            index: 6
            lineNumber: 100
        }
        Property {
            name: "maximumWidth"
            type: "int"
            read: "maximumWidth"
            write: "setMaximumWidth"
            reset: "resetMaximumWidth"
            notify: "maximumWidthChanged"
            index: 7
            lineNumber: 107
        }
        Signal { name: "statusChanged"; lineNumber: 214 }
        Signal { name: "visualParentChanged"; lineNumber: 215 }
        Signal { name: "transientParentChanged"; lineNumber: 216 }
        Signal { name: "placementChanged"; lineNumber: 217 }
        Signal { name: "preferSeamlessEdgesChanged"; lineNumber: 218 }
        Signal { name: "minimumWidthChanged"; lineNumber: 219 }
        Signal { name: "maximumWidthChanged"; lineNumber: 220 }
        Signal {
            name: "triggered"
            lineNumber: 221
            Parameter { name: "item"; type: "QMenuItem"; isPointer: true }
        }
        Signal {
            name: "triggeredIndex"
            lineNumber: 222
            Parameter { name: "index"; type: "int" }
        }
        Method {
            name: "itemTriggered"
            lineNumber: 225
            Parameter { name: "item"; type: "QAction"; isPointer: true }
        }
        Method {
            name: "open"
            lineNumber: 173
            Parameter { name: "x"; type: "int" }
            Parameter { name: "y"; type: "int" }
        }
        Method {
            name: "open"
            isCloned: true
            lineNumber: 173
            Parameter { name: "x"; type: "int" }
        }
        Method { name: "open"; isCloned: true; lineNumber: 173 }
        Method { name: "openRelative"; lineNumber: 177 }
        Method { name: "close"; lineNumber: 181 }
        Method { name: "clearMenuItems"; lineNumber: 185 }
        Method {
            name: "addMenuItem"
            lineNumber: 189
            Parameter { name: "text"; type: "QString" }
        }
        Method {
            name: "addMenuItem"
            lineNumber: 197
            Parameter { name: "item"; type: "QMenuItem"; isPointer: true }
            Parameter { name: "before"; type: "QMenuItem"; isPointer: true }
        }
        Method {
            name: "addMenuItem"
            isCloned: true
            lineNumber: 197
            Parameter { name: "item"; type: "QMenuItem"; isPointer: true }
        }
        Method {
            name: "addSection"
            lineNumber: 201
            Parameter { name: "text"; type: "QString" }
        }
        Method {
            name: "removeMenuItem"
            lineNumber: 208
            Parameter { name: "item"; type: "QMenuItem"; isPointer: true }
        }
    }
}
