diff options
4 files changed, 4 insertions, 11 deletions
diff --git a/demos/declarative/phonebrowser/content/MediaButton.qml b/demos/declarative/phonebrowser/content/MediaButton.qml index 7aec2e4..cad36bd 100644 --- a/demos/declarative/phonebrowser/content/MediaButton.qml +++ b/demos/declarative/phonebrowser/content/MediaButton.qml @@ -1,10 +1,8 @@ Item { property var text + signal clicked id: Container - signals: Signal { - name: "clicked" - } Image { id: Image source: "pics/button.png" diff --git a/demos/declarative/phonebrowser/content/PhoneInfoContainer.qml b/demos/declarative/phonebrowser/content/PhoneInfoContainer.qml index 597c3ee..ea20d4e 100644 --- a/demos/declarative/phonebrowser/content/PhoneInfoContainer.qml +++ b/demos/declarative/phonebrowser/content/PhoneInfoContainer.qml @@ -8,8 +8,7 @@ Flipable { property var phoneSpecifications : "" property var phoneUrl : "" property var rating : 2 - - signals: Signal { name: "closed" } + signal closed axis: Axis { startX: Container.width / 2; endX: Container.width / 2; endY: 1 } diff --git a/demos/declarative/phonebrowser/content/Star.qml b/demos/declarative/phonebrowser/content/Star.qml index d53c529..cdbb28b 100644 --- a/demos/declarative/phonebrowser/content/Star.qml +++ b/demos/declarative/phonebrowser/content/Star.qml @@ -1,14 +1,12 @@ Item { property var rating property var on + signal clicked id: Container width: 24 height: 24 - signals: Signal { - name: "clicked" - } Image { id: Image source: "pics/ghns_star.png" diff --git a/examples/declarative/listview/content/MediaButton.qml b/examples/declarative/listview/content/MediaButton.qml index 7aec2e4..cad36bd 100644 --- a/examples/declarative/listview/content/MediaButton.qml +++ b/examples/declarative/listview/content/MediaButton.qml @@ -1,10 +1,8 @@ Item { property var text + signal clicked id: Container - signals: Signal { - name: "clicked" - } Image { id: Image source: "pics/button.png" |