Files
QWidgetDemo/pressureconversioncalculator/api/appinit.h
2020-11-16 16:25:43 +08:00

26 lines
399 B
C++

#ifndef APPINIT_H
#define APPINIT_H
#include <QObject>
class AppInit : public QObject
{
Q_OBJECT
public:
static AppInit *Instance();
explicit AppInit(QObject *parent = 0);
protected:
bool eventFilter(QObject *watched, QEvent *event);
private:
static QScopedPointer<AppInit> self;
signals:
public slots:
void start();
};
#endif // APPINIT_H