Files
sqlitebrowser/src/Application.h
Martin Kleusberg ba75bd16fe Use common format for all include guards and avoid leading underscores
Use a common format for all include guards, make sure each header file
has one and make sure it's named after the file name.

And as a random extra in this commit: Make sure the gen_version.h file
generated by cmake ends with a line break.

Closes #59.
2014-07-31 21:32:58 +02:00

30 lines
506 B
C++

#ifndef APPLICATION_H
#define APPLICATION_H
#include <QApplication>
class MainWindow;
class QTranslator;
class Application : public QApplication
{
Q_OBJECT
public:
explicit Application(int& argc, char** argv);
virtual ~Application();
bool dontShowMainWindow() { return m_dontShowMainWindow; }
protected:
bool event(QEvent* event);
private:
bool m_dontShowMainWindow;
MainWindow* m_mainWindow;
QTranslator* m_translatorQt;
QTranslator* m_translatorApp;
};
#endif