summaryrefslogtreecommitdiffstats
path: root/demos/declarative/contacts
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-07-02 02:41:09 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-07-02 02:41:09 (GMT)
commit305de45a8d184738dc07fb7e5c787b9dbb5b3c6b (patch)
tree69895c47e21836612460bf4d60ed3a6ac33b8ef7 /demos/declarative/contacts
parentcf8871a52244884943c2d798dbe93fb181728bcd (diff)
parent49c339cfebdab26e6239335a45ca9f3e852f254b (diff)
downloadQt-305de45a8d184738dc07fb7e5c787b9dbb5b3c6b.zip
Qt-305de45a8d184738dc07fb7e5c787b9dbb5b3c6b.tar.gz
Qt-305de45a8d184738dc07fb7e5c787b9dbb5b3c6b.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'demos/declarative/contacts')
-rw-r--r--demos/declarative/contacts/Button.qml2
-rw-r--r--demos/declarative/contacts/FieldText.qml2
-rw-r--r--demos/declarative/contacts/RemoveButton.qml2
3 files changed, 3 insertions, 3 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 {