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: "activityinfo.h"
        name: "KActivities::Imports::ActivityInfo"
        accessSemantics: "reference"
        prototype: "QObject"
        exports: ["org.kde.activities/ActivityInfo 0.0"]
        exportMetaObjectRevisions: [0]
        Property {
            name: "activityId"
            type: "QString"
            read: "activityId"
            write: "setActivityId"
            notify: "activityIdChanged"
            index: 0
        }
        Property {
            name: "name"
            type: "QString"
            read: "name"
            write: "setName"
            notify: "nameChanged"
            index: 1
        }
        Property {
            name: "description"
            type: "QString"
            read: "description"
            write: "setDescription"
            notify: "descriptionChanged"
            index: 2
        }
        Property {
            name: "icon"
            type: "QString"
            read: "icon"
            write: "setIcon"
            notify: "iconChanged"
            index: 3
        }
        Property {
            name: "valid"
            type: "bool"
            read: "valid"
            notify: "validChanged"
            index: 4
            isReadonly: true
        }
        Signal {
            name: "activityIdChanged"
            Parameter { name: "id"; type: "QString" }
        }
        Signal {
            name: "nameChanged"
            Parameter { name: "name"; type: "QString" }
        }
        Signal {
            name: "descriptionChanged"
            Parameter { name: "description"; type: "QString" }
        }
        Signal {
            name: "iconChanged"
            Parameter { name: "icon"; type: "QString" }
        }
        Signal {
            name: "validChanged"
            Parameter { name: "valid"; type: "bool" }
        }
        Method {
            name: "setActivityId"
            Parameter { name: "id"; type: "QString" }
        }
        Method { name: "activityId"; type: "QString" }
        Method {
            name: "setName"
            Parameter { name: "name"; type: "QString" }
        }
        Method { name: "name"; type: "QString" }
        Method {
            name: "setDescription"
            Parameter { name: "description"; type: "QString" }
        }
        Method { name: "description"; type: "QString" }
        Method {
            name: "setIcon"
            Parameter { name: "icon"; type: "QString" }
        }
        Method { name: "icon"; type: "QString" }
        Method { name: "valid"; type: "bool" }
        Method {
            name: "setCurrentActivity"
            Parameter { name: "id"; type: "QString" }
        }
    }
    Component {
        file: "activitymodel.h"
        name: "KActivities::Imports::ActivityModel"
        accessSemantics: "reference"
        prototype: "QAbstractListModel"
        exports: ["org.kde.activities/ActivityModel 0.0"]
        exportMetaObjectRevisions: [0]
        Enum {
            name: "State"
            values: [
                "All",
                "Invalid",
                "Running",
                "Starting",
                "Stopped",
                "Stopping"
            ]
        }
        Property {
            name: "shownStates"
            type: "QString"
            read: "shownStates"
            write: "setShownStates"
            notify: "shownStatesChanged"
            index: 0
        }
        Signal {
            name: "shownStatesChanged"
            Parameter { name: "state"; type: "QString" }
        }
        Method {
            name: "setActivityName"
            Parameter { name: "id"; type: "QString" }
            Parameter { name: "name"; type: "QString" }
            Parameter { name: "callback"; type: "QJSValue" }
        }
        Method {
            name: "setActivityDescription"
            Parameter { name: "id"; type: "QString" }
            Parameter { name: "description"; type: "QString" }
            Parameter { name: "callback"; type: "QJSValue" }
        }
        Method {
            name: "setActivityIcon"
            Parameter { name: "id"; type: "QString" }
            Parameter { name: "icon"; type: "QString" }
            Parameter { name: "callback"; type: "QJSValue" }
        }
        Method {
            name: "setCurrentActivity"
            Parameter { name: "id"; type: "QString" }
            Parameter { name: "callback"; type: "QJSValue" }
        }
        Method {
            name: "addActivity"
            Parameter { name: "name"; type: "QString" }
            Parameter { name: "callback"; type: "QJSValue" }
        }
        Method {
            name: "removeActivity"
            Parameter { name: "id"; type: "QString" }
            Parameter { name: "callback"; type: "QJSValue" }
        }
        Method {
            name: "stopActivity"
            Parameter { name: "id"; type: "QString" }
            Parameter { name: "callback"; type: "QJSValue" }
        }
        Method {
            name: "startActivity"
            Parameter { name: "id"; type: "QString" }
            Parameter { name: "callback"; type: "QJSValue" }
        }
        Method {
            name: "setShownStates"
            Parameter { name: "states"; type: "QString" }
        }
        Method { name: "shownStates"; type: "QString" }
        Method {
            name: "onActivityNameChanged"
            Parameter { name: "name"; type: "QString" }
        }
        Method {
            name: "onActivityDescriptionChanged"
            Parameter { name: "description"; type: "QString" }
        }
        Method {
            name: "onActivityIconChanged"
            Parameter { name: "icon"; type: "QString" }
        }
        Method {
            name: "onActivityStateChanged"
            Parameter { name: "state"; type: "KActivities::Info::State" }
        }
        Method {
            name: "replaceActivities"
            Parameter { name: "activities"; type: "QStringList" }
        }
        Method {
            name: "onActivityAdded"
            Parameter { name: "id"; type: "QString" }
            Parameter { name: "notifyClients"; type: "bool" }
        }
        Method {
            name: "onActivityAdded"
            isCloned: true
            Parameter { name: "id"; type: "QString" }
        }
        Method {
            name: "onActivityRemoved"
            Parameter { name: "id"; type: "QString" }
        }
        Method {
            name: "onCurrentActivityChanged"
            Parameter { name: "id"; type: "QString" }
        }
        Method {
            name: "setServiceStatus"
            Parameter { name: "status"; type: "KActivities::Consumer::ServiceStatus" }
        }
    }
}
