Globals.h 537 B

12345678910111213141516171819
  1. #ifndef KONVERGOENGINE_H
  2. #define KONVERGOENGINE_H
  3. #include <QQmlApplicationEngine>
  4. class KonvergoWindow;
  5. /////////////////////////////////////////////////////////////////////////////////////////
  6. namespace Globals
  7. {
  8. QQmlApplicationEngine* Engine();
  9. QVariant ContextProperty(const QString& property);
  10. void SetContextProperty(const QString& property, QObject* object);
  11. void SetContextProperty(const QString& property, const QVariant& value);
  12. void EngineDestroy();
  13. KonvergoWindow* MainWindow();
  14. };
  15. #endif // KONVERGOENGINE_H