loadhelper.h 547 B

1234567891011121314151617181920212223242526272829
  1. /**
  2. * Copyright (c) 2012 Nokia Corporation.
  3. */
  4. #ifndef LOADHELPER_H
  5. #define LOADHELPER_H
  6. #include <QObject>
  7. // Forward declarations
  8. class QmlApplicationViewer;
  9. class LoadHelper : public QObject
  10. {
  11. Q_OBJECT
  12. public:
  13. static LoadHelper *create(QmlApplicationViewer *viewer, QObject *parent = 0);
  14. explicit LoadHelper(QmlApplicationViewer *viewer, QObject *parent = 0);
  15. public slots:
  16. void loadMainQML();
  17. private: // Data
  18. QmlApplicationViewer *m_viewer; // Not owned
  19. };
  20. #endif // LOADHELPER_H