cutter/src/CutterApplication.h
2018-03-21 21:33:40 +01:00

32 lines
483 B
C++

#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);
~CutterApplication();
MainWindow *getMainWindow()
{
return mainWindow;
}
protected:
bool event(QEvent *e);
private:
bool m_FileAlreadyDropped;
MainWindow *mainWindow;
};
#endif // CUTTERAPPLICATION_H