summaryrefslogtreecommitdiffstats
path: root/examples/declarative/dynamic/qml/itemCreation.js
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-04-27 05:11:09 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-04-27 05:11:09 (GMT)
commitdb51f7d5452f645db252341d8a633a299b2ef2e1 (patch)
tree1be01d82f6ac68e159d3a9da9d86eac96835f82d /examples/declarative/dynamic/qml/itemCreation.js
parent09293f1d07b019dc7bfe95afb93364cc87774e82 (diff)
parentf0826662baaf7916f7b5f4fa9c8e9abab457731d (diff)
downloadQt-db51f7d5452f645db252341d8a633a299b2ef2e1.zip
Qt-db51f7d5452f645db252341d8a633a299b2ef2e1.tar.gz
Qt-db51f7d5452f645db252341d8a633a299b2ef2e1.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (29 commits) Plugins documentation. Fix update issue when an item has an effect and child. Fix QDeclarativeTextInput and QGraphicsView in regards of input methods hints. Disallow "Qt" as namespace import Don't "adjust" the z value of a delegate that has been cached. Correctly inherit extension properties Autotests More QDeclarativeNetworkAccessManagerFactory doc clarification. Fix QDeclarativeNetworkAccessManagerFactory docs. Don't crash on invalid model remove signal. Ensure scheduled layout can occur before testing. Fix remaining 4.6 type registrations (to 4.7). doc anchor margins vs. anchor (line) state/animation. These examples should not be included in this test Unify naming of settings / UI to be "Qt Qml Runtime" Improved error messages for type resolving, new debug option Link to example files from tutorial pages Add tutorial for writing QML extensions no export in plugin Add doc pages for qml examples. ...
Diffstat (limited to 'examples/declarative/dynamic/qml/itemCreation.js')
-rw-r--r--examples/declarative/dynamic/qml/itemCreation.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/dynamic/qml/itemCreation.js b/examples/declarative/dynamic/qml/itemCreation.js
index 4fa0d9f..98d48a8 100644
--- a/examples/declarative/dynamic/qml/itemCreation.js
+++ b/examples/declarative/dynamic/qml/itemCreation.js
@@ -32,7 +32,7 @@ function loadComponent() {
createItem();
itemComponent = Qt.createComponent(itemButton.file);
- //print(itemButton.file)
+ //console.log(itemButton.file)
if(itemComponent.isLoading){
component.statusChanged.connect(finishCreation);
}else{//Depending on the content, it can be ready or error immediately
@@ -51,8 +51,8 @@ function createItem() {
draggedItem.z = 4;//On top
} else if (itemComponent.isError) {
draggedItem = null;
- print("error creating component");
- print(component.errorsString());
+ console.log("error creating component");
+ console.log(component.errorsString());
}
}