2018-02-10 18:04:31 +00:00
|
|
|
#ifndef CUTTERAPPLICATION_H
|
|
|
|
#define CUTTERAPPLICATION_H
|
|
|
|
|
|
|
|
#include <QEvent>
|
|
|
|
#include <QApplication>
|
|
|
|
|
|
|
|
#include "MainWindow.h"
|
|
|
|
|
|
|
|
|
|
|
|
class CutterApplication : public QApplication
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
CutterApplication(int &argc, char **argv);
|
2018-02-27 13:06:04 +00:00
|
|
|
~CutterApplication();
|
2018-02-10 18:04:31 +00:00
|
|
|
|
2018-02-27 13:06:04 +00:00
|
|
|
MainWindow *getMainWindow() { return mainWindow; }
|
2018-02-10 18:04:31 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
bool event(QEvent *e);
|
|
|
|
|
|
|
|
private:
|
|
|
|
bool m_FileAlreadyDropped;
|
2018-02-27 13:06:04 +00:00
|
|
|
MainWindow *mainWindow;
|
2018-02-10 18:04:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CUTTERAPPLICATION_H
|