summaryrefslogtreecommitdiffstats
path: root/examples/declarative/extending
diff options
context:
space:
mode:
authorChristian Kamm <christian.d.kamm@nokia.com>2009-09-10 11:10:42 (GMT)
committerChristian Kamm <christian.d.kamm@nokia.com>2009-09-10 11:10:42 (GMT)
commit754c3ac2598a7c2b0f212f8aa3e281d63be6578e (patch)
tree53d7b8cd4973bd1001ceb6e9448641fbac06cba8 /examples/declarative/extending
parent087f3d86fccb0195e017c6ce8dfca710a94b723b (diff)
downloadQt-754c3ac2598a7c2b0f212f8aa3e281d63be6578e.zip
Qt-754c3ac2598a7c2b0f212f8aa3e281d63be6578e.tar.gz
Qt-754c3ac2598a7c2b0f212f8aa3e281d63be6578e.tar.bz2
Fix QML_DEFINE_EXTENDED_TYPE use in extending/extended example.
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Diffstat (limited to 'examples/declarative/extending')
-rw-r--r--examples/declarative/extending/extended/lineedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/extending/extended/lineedit.cpp b/examples/declarative/extending/extended/lineedit.cpp
index fe4fdc3..f11d22e 100644
--- a/examples/declarative/extending/extended/lineedit.cpp
+++ b/examples/declarative/extending/extended/lineedit.cpp
@@ -63,4 +63,4 @@ int LineEditExtension::setBottomMargin(int m)
}
QML_DECLARE_TYPE(QLineEdit);
-QML_DEFINE_EXTENDED_TYPE(QLineEdit, QLineEdit, LineEditExtension);
+QML_DEFINE_EXTENDED_TYPE(People, 1, 0, 0, QLineEdit, QLineEdit, LineEditExtension);