mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
29 lines
320 B
C
29 lines
320 B
C
|
#ifndef APP_H
|
||
|
#define APP_H
|
||
|
|
||
|
#include <QApplication>
|
||
|
|
||
|
class GUI;
|
||
|
class QTranslator;
|
||
|
|
||
|
class App : QApplication
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
App(int &argc, char **argv);
|
||
|
~App();
|
||
|
void run();
|
||
|
|
||
|
protected:
|
||
|
bool event(QEvent *event);
|
||
|
|
||
|
private:
|
||
|
int &_argc;
|
||
|
char **_argv;
|
||
|
GUI *_gui;
|
||
|
QTranslator *_translator;
|
||
|
};
|
||
|
|
||
|
#endif // APP_H
|