Generate plugins.qmltypes files for the plugins we install

Reviewers: #plasma, #frameworks, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: davidedmundson, hein, plasma-devel

Tags: #plasma, #frameworks

Differential Revision: https://phabricator.kde.org/D5088
This commit is contained in:
Aleix Pol 2017-04-10 15:02:50 +02:00
parent bef0612029
commit 2df613f938
11 changed files with 2349 additions and 0 deletions

View File

@ -22,6 +22,7 @@ include(ECMSetupVersion)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(ECMQtDeclareLoggingCategory)
include(KDEPackageAppTemplates)
include(ECMGenerateQmlTypes)
ecm_setup_version(PROJECT
VARIABLE_PREFIX PLASMA

View File

@ -25,3 +25,5 @@ target_link_libraries(calendarplugin
install(TARGETS calendarplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/calendar)
install(DIRECTORY qml/ DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/calendar)
ecm_generate_qmltypes(org.kde.plasma.calendar 2.0 DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/calendar)

View File

@ -0,0 +1,413 @@
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:
// 'qmlplugindump -nonrelocatable org.kde.plasma.calendar 2.0 /home/apol/devel/kde5/lib64/qml -output /home/apol/devel/frameworks/plasma-framework/src/declarativeimports/calendar/plugins.qmltypes'
Module {
dependencies: []
Component {
name: "Calendar"
prototype: "QObject"
exports: ["org.kde.plasma.calendar/Calendar 2.0"]
exportMetaObjectRevisions: [0]
Enum {
name: "Type"
values: {
"Holiday": 1,
"Event": 2,
"Todo": 4,
"Journal": 8
}
}
Enum {
name: "DateMatchingPrecision"
values: {
"MatchYear": 0,
"MatchYearAndMonth": 1,
"MatchYearMonthAndDay": 2
}
}
Property { name: "displayedDate"; type: "QDate" }
Property { name: "today"; type: "QDate" }
Property { name: "types"; type: "int" }
Property { name: "weeksModel"; type: "QJsonArray"; isReadonly: true }
Property { name: "days"; type: "int" }
Property { name: "weeks"; type: "int" }
Property { name: "firstDayOfWeek"; type: "int" }
Property { name: "year"; type: "int"; isReadonly: true }
Property { name: "errorMessage"; type: "string"; isReadonly: true }
Property { name: "monthName"; type: "string"; isReadonly: true }
Property { name: "daysModel"; type: "QAbstractListModel"; isReadonly: true; isPointer: true }
Method { name: "updateData" }
Method { name: "nextMonth" }
Method { name: "previousMonth" }
Method { name: "nextYear" }
Method { name: "previousYear" }
Method { name: "nextDecade" }
Method { name: "previousDecade" }
Method {
name: "dayName"
type: "string"
Parameter { name: "weekday"; type: "int" }
}
Method { name: "currentWeek"; type: "int" }
Method { name: "resetToToday" }
Method {
name: "goToMonth"
Parameter { name: "month"; type: "int" }
}
Method {
name: "goToYear"
Parameter { name: "year"; type: "int" }
}
}
Component {
name: "CalendarData"
prototype: "QObject"
exports: ["org.kde.plasma.calendar/CalendarData 2.0"]
exportMetaObjectRevisions: [0]
Enum {
name: "Type"
values: {
"Holiday": 1,
"Event": 2,
"Todo": 4,
"Journal": 8
}
}
Property { name: "startDate"; type: "QDate" }
Property { name: "endDate"; type: "QDate" }
Property { name: "errorMessage"; type: "string"; isReadonly: true }
Property { name: "loading"; type: "bool"; isReadonly: true }
Signal { name: "typesChanged" }
}
Component {
name: "DaysModel"
prototype: "QAbstractListModel"
Signal {
name: "agendaUpdated"
Parameter { name: "updatedDate"; type: "QDate" }
}
Method { name: "update" }
Method {
name: "setPluginsManager"
Parameter { name: "manager"; type: "QObject"; isPointer: true }
}
Method {
name: "eventsForDate"
type: "QList<QObject*>"
Parameter { name: "date"; type: "QDate" }
}
}
Component {
name: "EventDataDecorator"
prototype: "QObject"
exports: ["org.kde.plasma.calendar/EventDataDecorator 2.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Property { name: "startDateTime"; type: "QDateTime"; isReadonly: true }
Property { name: "endDateTime"; type: "QDateTime"; isReadonly: true }
Property { name: "isAllDay"; type: "bool"; isReadonly: true }
Property { name: "isMinor"; type: "bool"; isReadonly: true }
Property { name: "title"; type: "string"; isReadonly: true }
Property { name: "description"; type: "string"; isReadonly: true }
Property { name: "eventColor"; type: "string"; isReadonly: true }
Property { name: "eventType"; type: "string"; isReadonly: true }
Signal { name: "eventDataChanged" }
}
Component {
name: "EventPluginsManager"
prototype: "QObject"
exports: ["org.kde.plasma.calendar/EventPluginsManager 2.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Property { name: "model"; type: "QAbstractListModel"; isReadonly: true; isPointer: true }
Property { name: "enabledPlugins"; type: "QStringList" }
Signal { name: "pluginsChanged" }
Signal {
name: "dataReady"
Parameter { name: "data"; type: "QMultiHash<QDate,CalendarEvents::EventData>" }
}
Signal {
name: "eventModified"
Parameter { name: "modifiedEvent"; type: "CalendarEvents::EventData" }
}
Signal {
name: "eventRemoved"
Parameter { name: "uid"; type: "string" }
}
Method {
name: "populateEnabledPluginsList"
Parameter { name: "pluginsList"; type: "QStringList" }
}
}
Component {
name: "QAbstractItemModel"
prototype: "QObject"
Enum {
name: "LayoutChangeHint"
values: {
"NoLayoutChangeHint": 0,
"VerticalSortHint": 1,
"HorizontalSortHint": 2
}
}
Signal {
name: "dataChanged"
Parameter { name: "topLeft"; type: "QModelIndex" }
Parameter { name: "bottomRight"; type: "QModelIndex" }
Parameter { name: "roles"; type: "QVector<int>" }
}
Signal {
name: "dataChanged"
Parameter { name: "topLeft"; type: "QModelIndex" }
Parameter { name: "bottomRight"; type: "QModelIndex" }
}
Signal {
name: "headerDataChanged"
Parameter { name: "orientation"; type: "Qt::Orientation" }
Parameter { name: "first"; type: "int" }
Parameter { name: "last"; type: "int" }
}
Signal {
name: "layoutChanged"
Parameter { name: "parents"; type: "QList<QPersistentModelIndex>" }
Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" }
}
Signal {
name: "layoutChanged"
Parameter { name: "parents"; type: "QList<QPersistentModelIndex>" }
}
Signal { name: "layoutChanged" }
Signal {
name: "layoutAboutToBeChanged"
Parameter { name: "parents"; type: "QList<QPersistentModelIndex>" }
Parameter { name: "hint"; type: "QAbstractItemModel::LayoutChangeHint" }
}
Signal {
name: "layoutAboutToBeChanged"
Parameter { name: "parents"; type: "QList<QPersistentModelIndex>" }
}
Signal { name: "layoutAboutToBeChanged" }
Signal {
name: "rowsAboutToBeInserted"
Parameter { name: "parent"; type: "QModelIndex" }
Parameter { name: "first"; type: "int" }
Parameter { name: "last"; type: "int" }
}
Signal {
name: "rowsInserted"
Parameter { name: "parent"; type: "QModelIndex" }
Parameter { name: "first"; type: "int" }
Parameter { name: "last"; type: "int" }
}
Signal {
name: "rowsAboutToBeRemoved"
Parameter { name: "parent"; type: "QModelIndex" }
Parameter { name: "first"; type: "int" }
Parameter { name: "last"; type: "int" }
}
Signal {
name: "rowsRemoved"
Parameter { name: "parent"; type: "QModelIndex" }
Parameter { name: "first"; type: "int" }
Parameter { name: "last"; type: "int" }
}
Signal {
name: "columnsAboutToBeInserted"
Parameter { name: "parent"; type: "QModelIndex" }
Parameter { name: "first"; type: "int" }
Parameter { name: "last"; type: "int" }
}
Signal {
name: "columnsInserted"
Parameter { name: "parent"; type: "QModelIndex" }
Parameter { name: "first"; type: "int" }
Parameter { name: "last"; type: "int" }
}
Signal {
name: "columnsAboutToBeRemoved"
Parameter { name: "parent"; type: "QModelIndex" }
Parameter { name: "first"; type: "int" }
Parameter { name: "last"; type: "int" }
}
Signal {
name: "columnsRemoved"
Parameter { name: "parent"; type: "QModelIndex" }
Parameter { name: "first"; type: "int" }
Parameter { name: "last"; type: "int" }
}
Signal { name: "modelAboutToBeReset" }
Signal { name: "modelReset" }
Signal {
name: "rowsAboutToBeMoved"
Parameter { name: "sourceParent"; type: "QModelIndex" }
Parameter { name: "sourceStart"; type: "int" }
Parameter { name: "sourceEnd"; type: "int" }
Parameter { name: "destinationParent"; type: "QModelIndex" }
Parameter { name: "destinationRow"; type: "int" }
}
Signal {
name: "rowsMoved"
Parameter { name: "parent"; type: "QModelIndex" }
Parameter { name: "start"; type: "int" }
Parameter { name: "end"; type: "int" }
Parameter { name: "destination"; type: "QModelIndex" }
Parameter { name: "row"; type: "int" }
}
Signal {
name: "columnsAboutToBeMoved"
Parameter { name: "sourceParent"; type: "QModelIndex" }
Parameter { name: "sourceStart"; type: "int" }
Parameter { name: "sourceEnd"; type: "int" }
Parameter { name: "destinationParent"; type: "QModelIndex" }
Parameter { name: "destinationColumn"; type: "int" }
}
Signal {
name: "columnsMoved"
Parameter { name: "parent"; type: "QModelIndex" }
Parameter { name: "start"; type: "int" }
Parameter { name: "end"; type: "int" }
Parameter { name: "destination"; type: "QModelIndex" }
Parameter { name: "column"; type: "int" }
}
Method { name: "submit"; type: "bool" }
Method { name: "revert" }
Method {
name: "hasIndex"
type: "bool"
Parameter { name: "row"; type: "int" }
Parameter { name: "column"; type: "int" }
Parameter { name: "parent"; type: "QModelIndex" }
}
Method {
name: "hasIndex"
type: "bool"
Parameter { name: "row"; type: "int" }
Parameter { name: "column"; type: "int" }
}
Method {
name: "index"
type: "QModelIndex"
Parameter { name: "row"; type: "int" }
Parameter { name: "column"; type: "int" }
Parameter { name: "parent"; type: "QModelIndex" }
}
Method {
name: "index"
type: "QModelIndex"
Parameter { name: "row"; type: "int" }
Parameter { name: "column"; type: "int" }
}
Method {
name: "parent"
type: "QModelIndex"
Parameter { name: "child"; type: "QModelIndex" }
}
Method {
name: "sibling"
type: "QModelIndex"
Parameter { name: "row"; type: "int" }
Parameter { name: "column"; type: "int" }
Parameter { name: "idx"; type: "QModelIndex" }
}
Method {
name: "rowCount"
type: "int"
Parameter { name: "parent"; type: "QModelIndex" }
}
Method { name: "rowCount"; type: "int" }
Method {
name: "columnCount"
type: "int"
Parameter { name: "parent"; type: "QModelIndex" }
}
Method { name: "columnCount"; type: "int" }
Method {
name: "hasChildren"
type: "bool"
Parameter { name: "parent"; type: "QModelIndex" }
}
Method { name: "hasChildren"; type: "bool" }
Method {
name: "data"
type: "QVariant"
Parameter { name: "index"; type: "QModelIndex" }
Parameter { name: "role"; type: "int" }
}
Method {
name: "data"
type: "QVariant"
Parameter { name: "index"; type: "QModelIndex" }
}
Method {
name: "setData"
type: "bool"
Parameter { name: "index"; type: "QModelIndex" }
Parameter { name: "value"; type: "QVariant" }
Parameter { name: "role"; type: "int" }
}
Method {
name: "setData"
type: "bool"
Parameter { name: "index"; type: "QModelIndex" }
Parameter { name: "value"; type: "QVariant" }
}
Method {
name: "headerData"
type: "QVariant"
Parameter { name: "section"; type: "int" }
Parameter { name: "orientation"; type: "Qt::Orientation" }
Parameter { name: "role"; type: "int" }
}
Method {
name: "headerData"
type: "QVariant"
Parameter { name: "section"; type: "int" }
Parameter { name: "orientation"; type: "Qt::Orientation" }
}
Method {
name: "fetchMore"
Parameter { name: "parent"; type: "QModelIndex" }
}
Method {
name: "canFetchMore"
type: "bool"
Parameter { name: "parent"; type: "QModelIndex" }
}
Method {
name: "flags"
type: "Qt::ItemFlags"
Parameter { name: "index"; type: "QModelIndex" }
}
Method {
name: "match"
type: "QModelIndexList"
Parameter { name: "start"; type: "QModelIndex" }
Parameter { name: "role"; type: "int" }
Parameter { name: "value"; type: "QVariant" }
Parameter { name: "hits"; type: "int" }
Parameter { name: "flags"; type: "Qt::MatchFlags" }
}
Method {
name: "match"
type: "QModelIndexList"
Parameter { name: "start"; type: "QModelIndex" }
Parameter { name: "role"; type: "int" }
Parameter { name: "value"; type: "QVariant" }
Parameter { name: "hits"; type: "int" }
}
Method {
name: "match"
type: "QModelIndexList"
Parameter { name: "start"; type: "QModelIndex" }
Parameter { name: "role"; type: "int" }
Parameter { name: "value"; type: "QVariant" }
}
}
Component { name: "QAbstractListModel"; prototype: "QAbstractItemModel" }
}

View File

@ -67,3 +67,5 @@ install(TARGETS corebindingsplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/pla
install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/core)
install(FILES private/DefaultToolTip.qml DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/core/private)
ecm_generate_qmltypes(org.kde.plasma.core 2.0 DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/core)

File diff suppressed because it is too large Load Diff

View File

@ -28,3 +28,4 @@ install(TARGETS plasmacomponentsplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde
install(DIRECTORY qml/ DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/components)
ecm_generate_qmltypes(org.kde.plasma.components 2.0 DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/components)

View File

@ -0,0 +1,366 @@
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:
// 'qmlplugindump -nonrelocatable org.kde.plasma.components 2.0 /home/apol/devel/kde5/lib64/qml -output /home/apol/devel/frameworks/plasma-framework/src/declarativeimports/plasmacomponents/plugins.qmltypes'
Module {
dependencies: []
Component {
name: "DialogStatus"
prototype: "QObject"
exports: ["org.kde.plasma.components/DialogStatus 2.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Enum {
name: "Status"
values: {
"Opening": 0,
"Open": 1,
"Closing": 2,
"Closed": 3
}
}
}
Component {
name: "PageOrientation"
prototype: "QObject"
exports: ["org.kde.plasma.components/PageOrientation 2.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Enum {
name: "Orientation"
values: {
"Automatic": 0,
"LockPortrait": 1,
"LockLandscape": 2,
"LockPrevious": 3,
"Manual": 4
}
}
}
Component {
name: "PageStatus"
prototype: "QObject"
exports: ["org.kde.plasma.components/PageStatus 2.0"]
isCreatable: false
exportMetaObjectRevisions: [0]
Enum {
name: "Status"
values: {
"Inactive": 0,
"Activating": 1,
"Active": 2,
"Deactivating": 3
}
}
}
Component {
name: "Plasma::QRangeModel"
prototype: "QObject"
exports: ["org.kde.plasma.components/RangeModel 2.0"]
exportMetaObjectRevisions: [0]
Property { name: "value"; type: "double" }
Property { name: "minimumValue"; type: "double" }
Property { name: "maximumValue"; type: "double" }
Property { name: "stepSize"; type: "double" }
Property { name: "position"; type: "double" }
Property { name: "positionAtMinimum"; type: "double" }
Property { name: "positionAtMaximum"; type: "double" }
Property { name: "inverted"; type: "bool" }
Signal {
name: "valueChanged"
Parameter { name: "value"; type: "double" }
}
Signal {
name: "positionChanged"
Parameter { name: "position"; type: "double" }
}
Signal {
name: "stepSizeChanged"
Parameter { name: "stepSize"; type: "double" }
}
Signal {
name: "invertedChanged"
Parameter { name: "inverted"; type: "bool" }
}
Signal {
name: "minimumChanged"
Parameter { name: "min"; type: "double" }
}
Signal {
name: "maximumChanged"
Parameter { name: "max"; type: "double" }
}
Signal {
name: "positionAtMinimumChanged"
Parameter { name: "min"; type: "double" }
}
Signal {
name: "positionAtMaximumChanged"
Parameter { name: "max"; type: "double" }
}
Method { name: "toMinimum" }
Method { name: "toMaximum" }
Method {
name: "setValue"
Parameter { name: "value"; type: "double" }
}
Method {
name: "setPosition"
Parameter { name: "position"; type: "double" }
}
Method {
name: "valueForPosition"
type: "double"
Parameter { name: "position"; type: "double" }
}
Method {
name: "positionForValue"
type: "double"
Parameter { name: "value"; type: "double" }
}
}
Component {
name: "QMenuItem"
defaultProperty: "data"
prototype: "QQuickItem"
exports: ["org.kde.plasma.components/MenuItem 2.0"]
exportMetaObjectRevisions: [0]
Property { name: "parent"; type: "QObject"; isPointer: true }
Property { name: "separator"; type: "bool" }
Property { name: "section"; type: "bool" }
Property { name: "text"; type: "string" }
Property { name: "icon"; type: "QVariant" }
Property { name: "action"; type: "QAction"; isPointer: true }
Property { name: "checkable"; type: "bool" }
Property { name: "checked"; type: "bool" }
Signal { name: "clicked" }
Signal {
name: "toggled"
Parameter { name: "checked"; type: "bool" }
}
}
Component {
name: "QMenuProxy"
defaultProperty: "content"
prototype: "QObject"
exports: ["org.kde.plasma.components/Menu 2.0"]
exportMetaObjectRevisions: [0]
Property { name: "content"; type: "QMenuItem"; isList: true; isReadonly: true }
Property { name: "transientParent"; type: "QWindow"; isPointer: true }
Property { name: "visualParent"; type: "QObject"; isPointer: true }
Property { name: "status"; type: "DialogStatus::Status"; isReadonly: true }
Property { name: "placement"; type: "Plasma::Types::PopupPlacement" }
Property { name: "minimumWidth"; type: "int" }
Property { name: "maximumWidth"; type: "int" }
Signal {
name: "triggered"
Parameter { name: "item"; type: "QMenuItem"; isPointer: true }
}
Signal {
name: "triggeredIndex"
Parameter { name: "index"; type: "int" }
}
Method {
name: "open"
Parameter { name: "x"; type: "int" }
Parameter { name: "y"; type: "int" }
}
Method {
name: "open"
Parameter { name: "x"; type: "int" }
}
Method { name: "open" }
Method { name: "openRelative" }
Method { name: "close" }
Method { name: "clearMenuItems" }
Method {
name: "addMenuItem"
Parameter { name: "text"; type: "string" }
}
Method {
name: "addMenuItem"
Parameter { name: "item"; type: "QMenuItem"; isPointer: true }
Parameter { name: "before"; type: "QMenuItem"; isPointer: true }
}
Method {
name: "addMenuItem"
Parameter { name: "item"; type: "QMenuItem"; isPointer: true }
}
Method {
name: "addSection"
Parameter { name: "text"; type: "string" }
}
Method {
name: "removeMenuItem"
Parameter { name: "item"; type: "QMenuItem"; isPointer: true }
}
}
Component {
name: "QQuickItem"
defaultProperty: "data"
prototype: "QObject"
Enum {
name: "TransformOrigin"
values: {
"TopLeft": 0,
"Top": 1,
"TopRight": 2,
"Left": 3,
"Center": 4,
"Right": 5,
"BottomLeft": 6,
"Bottom": 7,
"BottomRight": 8
}
}
Property { name: "parent"; type: "QQuickItem"; isPointer: true }
Property { name: "data"; type: "QObject"; isList: true; isReadonly: true }
Property { name: "resources"; type: "QObject"; isList: true; isReadonly: true }
Property { name: "children"; type: "QQuickItem"; isList: true; isReadonly: true }
Property { name: "x"; type: "double" }
Property { name: "y"; type: "double" }
Property { name: "z"; type: "double" }
Property { name: "width"; type: "double" }
Property { name: "height"; type: "double" }
Property { name: "opacity"; type: "double" }
Property { name: "enabled"; type: "bool" }
Property { name: "visible"; type: "bool" }
Property { name: "visibleChildren"; type: "QQuickItem"; isList: true; isReadonly: true }
Property { name: "states"; type: "QQuickState"; isList: true; isReadonly: true }
Property { name: "transitions"; type: "QQuickTransition"; isList: true; isReadonly: true }
Property { name: "state"; type: "string" }
Property { name: "childrenRect"; type: "QRectF"; isReadonly: true }
Property { name: "anchors"; type: "QQuickAnchors"; isReadonly: true; isPointer: true }
Property { name: "left"; type: "QQuickAnchorLine"; isReadonly: true }
Property { name: "right"; type: "QQuickAnchorLine"; isReadonly: true }
Property { name: "horizontalCenter"; type: "QQuickAnchorLine"; isReadonly: true }
Property { name: "top"; type: "QQuickAnchorLine"; isReadonly: true }
Property { name: "bottom"; type: "QQuickAnchorLine"; isReadonly: true }
Property { name: "verticalCenter"; type: "QQuickAnchorLine"; isReadonly: true }
Property { name: "baseline"; type: "QQuickAnchorLine"; isReadonly: true }
Property { name: "baselineOffset"; type: "double" }
Property { name: "clip"; type: "bool" }
Property { name: "focus"; type: "bool" }
Property { name: "activeFocus"; type: "bool"; isReadonly: true }
Property { name: "activeFocusOnTab"; revision: 1; type: "bool" }
Property { name: "rotation"; type: "double" }
Property { name: "scale"; type: "double" }
Property { name: "transformOrigin"; type: "TransformOrigin" }
Property { name: "transformOriginPoint"; type: "QPointF"; isReadonly: true }
Property { name: "transform"; type: "QQuickTransform"; isList: true; isReadonly: true }
Property { name: "smooth"; type: "bool" }
Property { name: "antialiasing"; type: "bool" }
Property { name: "implicitWidth"; type: "double" }
Property { name: "implicitHeight"; type: "double" }
Property { name: "layer"; type: "QQuickItemLayer"; isReadonly: true; isPointer: true }
Signal {
name: "childrenRectChanged"
Parameter { type: "QRectF" }
}
Signal {
name: "baselineOffsetChanged"
Parameter { type: "double" }
}
Signal {
name: "stateChanged"
Parameter { type: "string" }
}
Signal {
name: "focusChanged"
Parameter { type: "bool" }
}
Signal {
name: "activeFocusChanged"
Parameter { type: "bool" }
}
Signal {
name: "activeFocusOnTabChanged"
revision: 1
Parameter { type: "bool" }
}
Signal {
name: "parentChanged"
Parameter { type: "QQuickItem"; isPointer: true }
}
Signal {
name: "transformOriginChanged"
Parameter { type: "TransformOrigin" }
}
Signal {
name: "smoothChanged"
Parameter { type: "bool" }
}
Signal {
name: "antialiasingChanged"
Parameter { type: "bool" }
}
Signal {
name: "clipChanged"
Parameter { type: "bool" }
}
Signal {
name: "windowChanged"
revision: 1
Parameter { name: "window"; type: "QQuickWindow"; isPointer: true }
}
Method { name: "update" }
Method {
name: "grabToImage"
revision: 2
type: "bool"
Parameter { name: "callback"; type: "QJSValue" }
Parameter { name: "targetSize"; type: "QSize" }
}
Method {
name: "grabToImage"
revision: 2
type: "bool"
Parameter { name: "callback"; type: "QJSValue" }
}
Method {
name: "contains"
type: "bool"
Parameter { name: "point"; type: "QPointF" }
}
Method {
name: "mapFromItem"
Parameter { type: "QQmlV4Function"; isPointer: true }
}
Method {
name: "mapToItem"
Parameter { type: "QQmlV4Function"; isPointer: true }
}
Method {
name: "mapFromGlobal"
revision: 7
Parameter { type: "QQmlV4Function"; isPointer: true }
}
Method {
name: "mapToGlobal"
revision: 7
Parameter { type: "QQmlV4Function"; isPointer: true }
}
Method { name: "forceActiveFocus" }
Method {
name: "forceActiveFocus"
Parameter { name: "reason"; type: "Qt::FocusReason" }
}
Method {
name: "nextItemInFocusChain"
revision: 1
type: "QQuickItem*"
Parameter { name: "forward"; type: "bool" }
}
Method { name: "nextItemInFocusChain"; revision: 1; type: "QQuickItem*" }
Method {
name: "childAt"
type: "QQuickItem*"
Parameter { name: "x"; type: "double" }
Parameter { name: "y"; type: "double" }
}
}
}

View File

@ -26,6 +26,8 @@ install(TARGETS plasmaextracomponentsplugin DESTINATION ${KDE_INSTALL_QMLDIR}/or
install(DIRECTORY qml/ DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/extras)
ecm_generate_qmltypes(org.kde.plasma.extras 2.0 DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/extras)
# The platform specific stuff, overwrites a copy of the desktop one
# it does install some files on top of the old ones, has to be done

View File

@ -0,0 +1,25 @@
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:
// 'qmlplugindump -nonrelocatable org.kde.plasma.extras 2.0 /home/apol/devel/kde5/lib64/qml -output /home/apol/devel/frameworks/plasma-framework/src/declarativeimports/plasmaextracomponents/plugins.qmltypes'
Module {
dependencies: []
Component {
name: "FallbackComponent"
prototype: "QObject"
exports: ["org.kde.plasma.extras/FallbackComponent 2.0"]
exportMetaObjectRevisions: [0]
Property { name: "basePath"; type: "string" }
Property { name: "candidates"; type: "QStringList" }
Method {
name: "filePath"
type: "string"
Parameter { name: "key"; type: "string" }
}
Method { name: "filePath"; type: "string" }
}
}

View File

@ -21,3 +21,4 @@ target_link_libraries(
install(TARGETS platformcomponentsplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/platformcomponents)
install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/platformcomponents)
ecm_generate_qmltypes(org.kde.plasma.platformcomponents 2.0 DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/platformcomponents)

View File

@ -0,0 +1,37 @@
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:
// 'qmlplugindump -nonrelocatable org.kde.plasma.platformcomponents 2.0 /home/apol/devel/kde5/lib64/qml -output /home/apol/devel/frameworks/plasma-framework/src/declarativeimports/platformcomponents/plugins.qmltypes'
Module {
dependencies: []
Component {
name: "Application"
prototype: "QObject"
exports: ["org.kde.plasma.platformcomponents/Application 2.0"]
exportMetaObjectRevisions: [0]
Property { name: "application"; type: "string" }
Property { name: "running"; type: "bool" }
Signal {
name: "applicationChanged"
Parameter { name: "application"; type: "string" }
}
Signal {
name: "runningChanged"
Parameter { name: "running"; type: "bool" }
}
Method { name: "start" }
Method { name: "terminate" }
}
Component {
name: "IconDialog"
prototype: "QObject"
exports: ["org.kde.plasma.platformcomponents/IconDialog 2.0"]
exportMetaObjectRevisions: [0]
Method { name: "openDialog"; type: "string" }
Method { name: "closeDialog" }
}
}