12345678910111213141516171819202122232425262728 |
- /**
- * Copyright (c) 2011 Nokia Corporation.
- */
- // Class header
- #include "loadhelper.h"
- // Internal includes
- #include "qmlapplicationviewer.h"
- /*!
- \class LoadHelper
- \brief LoadHelper is a utility class for loading the main.qml file after splash.
- */
- LoadHelper::LoadHelper(QmlApplicationViewer *viewer, QObject *parent)
- : QObject(parent),
- m_viewer(viewer)
- {}
- void LoadHelper::loadMainQML()
- {
- if (m_viewer) {
- m_viewer->setMainQmlFile(QLatin1String("qml/RestaurantAppComponents/main.qml"));
- }
- }
|