diff options
Diffstat (limited to 'demos/declarative')
-rw-r--r-- | demos/declarative/contacts/Button.qml | 2 | ||||
-rw-r--r-- | demos/declarative/contacts/FieldText.qml | 2 | ||||
-rw-r--r-- | demos/declarative/contacts/RemoveButton.qml | 2 | ||||
-rw-r--r-- | demos/declarative/flickr/content/ImageDetails.qml | 2 | ||||
-rw-r--r-- | demos/declarative/flickr/content/MediaButton.qml | 2 | ||||
-rw-r--r-- | demos/declarative/flickr/content/Star.qml | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/demos/declarative/contacts/Button.qml b/demos/declarative/contacts/Button.qml index 09af769..629dce8 100644 --- a/demos/declarative/contacts/Button.qml +++ b/demos/declarative/contacts/Button.qml @@ -18,7 +18,7 @@ Item { MouseRegion { id: buttonMouseRegion anchors.fill: buttonRect - onClicked: { button.clicked.emit() } + onClicked: { button.clicked() } } states: [ State { diff --git a/demos/declarative/contacts/FieldText.qml b/demos/declarative/contacts/FieldText.qml index 561e3c3..c8bf932 100644 --- a/demos/declarative/contacts/FieldText.qml +++ b/demos/declarative/contacts/FieldText.qml @@ -20,7 +20,7 @@ Rect { fieldText.text = textEdit.text; fieldText.state=''; contacts.mouseGrabbed=false; - fieldText.confirmed.emit(); + fieldText.confirmed(); } function reset() { textEdit.text = fieldText.text; diff --git a/demos/declarative/contacts/RemoveButton.qml b/demos/declarative/contacts/RemoveButton.qml index 549c97a..00bce34 100644 --- a/demos/declarative/contacts/RemoveButton.qml +++ b/demos/declarative/contacts/RemoveButton.qml @@ -60,7 +60,7 @@ Rect { opacity: 0 MouseRegion { anchors.fill: parent - onClicked: { toggle(); removeButton.confirmed.emit() } + onClicked: { toggle(); removeButton.confirmed() } } } Text { diff --git a/demos/declarative/flickr/content/ImageDetails.qml b/demos/declarative/flickr/content/ImageDetails.qml index 0d781f8..6adb397 100644 --- a/demos/declarative/flickr/content/ImageDetails.qml +++ b/demos/declarative/flickr/content/ImageDetails.qml @@ -29,7 +29,7 @@ Flipable { MediaButton { id: BackButton; x: 630; y: 370; text: "Back" - onClicked: { Container.closed.emit() } + onClicked: { Container.closed() } } MediaButton { diff --git a/demos/declarative/flickr/content/MediaButton.qml b/demos/declarative/flickr/content/MediaButton.qml index 6392a13..49922f0 100644 --- a/demos/declarative/flickr/content/MediaButton.qml +++ b/demos/declarative/flickr/content/MediaButton.qml @@ -17,7 +17,7 @@ Item { MouseRegion { id: MouseRegion anchors.fill: Image - onClicked: { Container.clicked.emit(); } + onClicked: { Container.clicked(); } } Text { font.bold: true diff --git a/demos/declarative/flickr/content/Star.qml b/demos/declarative/flickr/content/Star.qml index 437450d..2c2807a 100644 --- a/demos/declarative/flickr/content/Star.qml +++ b/demos/declarative/flickr/content/Star.qml @@ -18,7 +18,7 @@ Item { } MouseRegion { anchors.fill: Container - onClicked: { Container.clicked.emit() } + onClicked: { Container.clicked() } } states: [ State { |