qzxing/examples/QZXingLive/application.h

28 lines
394 B
C
Raw Normal View History

#ifndef APPLICATION_H
#define APPLICATION_H
#include <QQmlApplicationEngine>
#include <QObject>
class Application : public QObject
{
Q_OBJECT
public:
Application();
void checkPermissions();
public slots:
void initializeQML();
signals:
void onPermissionsGranted();
void onPermissionsDenied();
private:
QQmlApplicationEngine engine;
};
#endif // APPLICATION_H