unitconversion
This commit is contained in:
25
unitconversion/api/appinit.h
Normal file
25
unitconversion/api/appinit.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user