cutter/src/CutterApplication.h

42 lines
678 B
C
Raw Normal View History

#ifndef CUTTERAPPLICATION_H
#define CUTTERAPPLICATION_H
#include <QEvent>
#include <QApplication>
#include <QList>
#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-03-21 20:32:32 +00:00
MainWindow *getMainWindow()
{
return mainWindow;
}
void loadPlugins();
protected:
bool event(QEvent *e);
private:
/*!
* \brief Load and translations depending on Language settings
* \return true on success
*/
bool loadTranslations();
private:
bool m_FileAlreadyDropped;
2018-02-27 13:06:04 +00:00
MainWindow *mainWindow;
};
#endif // CUTTERAPPLICATION_H