summaryrefslogtreecommitdiffstats
path: root/examples/declarative/extending/binding/happybirthday.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/extending/binding/happybirthday.cpp')
-rw-r--r--examples/declarative/extending/binding/happybirthday.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/declarative/extending/binding/happybirthday.cpp b/examples/declarative/extending/binding/happybirthday.cpp
index 38f3c08..7d4d021 100644
--- a/examples/declarative/extending/binding/happybirthday.cpp
+++ b/examples/declarative/extending/binding/happybirthday.cpp
@@ -50,7 +50,7 @@ HappyBirthday::HappyBirthday(QObject *parent)
timer->start(1000);
}
-void HappyBirthday::setTarget(const QmlMetaProperty &p)
+void HappyBirthday::setTarget(const QDeclarativeMetaProperty &p)
{
m_target = p;
}
@@ -84,4 +84,3 @@ void HappyBirthday::advance()
m_target.write(m_lyrics.at(m_line));
}
-QML_DEFINE_TYPE(People, 1,0, HappyBirthday, HappyBirthday);