diff options
Diffstat (limited to 'examples/declarative/extending/signal/main.cpp')
-rw-r--r-- | examples/declarative/extending/signal/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/declarative/extending/signal/main.cpp b/examples/declarative/extending/signal/main.cpp index 9d8e253..afc1a66 100644 --- a/examples/declarative/extending/signal/main.cpp +++ b/examples/declarative/extending/signal/main.cpp @@ -39,8 +39,8 @@ ** ****************************************************************************/ #include <QCoreApplication> -#include <QmlEngine> -#include <QmlComponent> +#include <QDeclarativeEngine> +#include <QDeclarativeComponent> #include <QDebug> #include "birthdayparty.h" #include "person.h" @@ -56,8 +56,8 @@ int main(int argc, char ** argv) QML_REGISTER_TYPE(People, 1,0, Boy, Boy); QML_REGISTER_TYPE(People, 1,0, Girl, Girl); - QmlEngine engine; - QmlComponent component(&engine, ":example.qml"); + QDeclarativeEngine engine; + QDeclarativeComponent component(&engine, ":example.qml"); BirthdayParty *party = qobject_cast<BirthdayParty *>(component.create()); if (party && party->celebrant()) { |