~ubuntu-sdk-team/ubuntu-ui-toolkit/hideAndReposition

« back to all changes in this revision

Viewing changes to components.api

Removing dependency towards Unity. Action, ActionContext and ActionManager QML API transferred to UI Toolkit. Fixes: https://bugs.launchpad.net/bugs/1234339, https://bugs.launchpad.net/bugs/1294298.

Approved by Christian Dywan, PS Jenkins bot, Antti Kaijanmäki.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
    property bool hovered
7
7
    property bool __acceptEvents
8
8
    property internal __mouseArea
9
 
Action 0.1 1.0
10
 
UnityActions.Action
11
 
    property url iconSource
12
 
    property string iconName
13
 
    property bool visible
14
 
    property Component itemHint
15
9
ActionItem 0.1 1.0
16
10
StyledItem
17
11
    property Action action
202
196
    property bool useDeprecatedToolbar
203
197
    default property internal contentsItem
204
198
    property list<Action> actions
205
 
    property UnityActions.ActionManager actionManager
 
199
    property ActionManager actionManager
206
200
Object 0.1 1.0
207
201
QtObject
208
202
    default property internal children
758
752
    exports: ["SortBehavior 1.1"]
759
753
    Property { name: "property"; type: "string" }
760
754
    Property { name: "order"; type: "Qt::SortOrder" }
 
755
    name: "UCAction"
 
756
    prototype: "QObject"
 
757
    exports: ["Action 0.1", "Action 1.0"]
 
758
    name: "Type"
 
759
    Property { name: "name"; type: "string" }
 
760
    Property { name: "text"; type: "string" }
 
761
    Property { name: "iconName"; type: "string" }
 
762
    Property { name: "description"; type: "string" }
 
763
    Property { name: "keywords"; type: "string" }
 
764
    Property { name: "enabled"; type: "bool" }
 
765
    Property { name: "parameterType"; type: "Type" }
 
766
    Property { name: "iconSource"; type: "QUrl" }
 
767
    Property { name: "visible"; type: "bool" }
 
768
    Property { name: "itemHint"; type: "QQmlComponent"; isPointer: true }
 
769
    Signal {
 
770
    name: "triggered"
 
771
    Parameter { name: "value"; type: "QVariant" }
 
772
    Method {
 
773
    name: "trigger"
 
774
    Parameter { name: "value"; type: "QVariant" }
 
775
    Method { name: "trigger" }
 
776
    name: "UCActionContext"
 
777
    prototype: "QObject"
 
778
    exports: ["ActionContext 0.1", "ActionContext 1.0"]
 
779
    Property { name: "actions"; type: "QObject"; isList: true; isReadonly: true }
 
780
    Property { name: "active"; type: "bool" }
 
781
    Signal {
 
782
    name: "activeChanged"
 
783
    Parameter { type: "bool" }
 
784
    Method {
 
785
    name: "addAction"
 
786
    Parameter { name: "action"; type: "QObject"; isPointer: true }
 
787
    Method {
 
788
    name: "removeAction"
 
789
    Parameter { name: "action"; type: "QObject"; isPointer: true }
 
790
    name: "UCActionManager"
 
791
    prototype: "QObject"
 
792
    exports: ["ActionManager 0.1", "ActionManager 1.0"]
 
793
    Property { name: "actions"; type: "QObject"; isList: true; isReadonly: true }
 
794
    Property { name: "localContexts"; type: "QObject"; isList: true; isReadonly: true }
 
795
    Property { name: "globalContext"; type: "UCActionContext"; isReadonly: true; isPointer: true }
 
796
    Signal { name: "quit" }
 
797
    Method {
 
798
    name: "addAction"
 
799
    Parameter { name: "action"; type: "QObject"; isPointer: true }
 
800
    Method {
 
801
    name: "removeAction"
 
802
    Parameter { name: "action"; type: "QObject"; isPointer: true }
 
803
    Method {
 
804
    name: "addLocalContext"
 
805
    Parameter { name: "context"; type: "QObject"; isPointer: true }
 
806
    Method {
 
807
    name: "removeLocalContext"
 
808
    Parameter { name: "context"; type: "QObject"; isPointer: true }
761
809
    name: "UCAlarm"
762
810
    prototype: "QObject"
763
811
    exports: ["Alarm 0.1", "Alarm 1.0"]