mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
34 lines
598 B
C++
34 lines
598 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; }
|
|
|
|
MainWindow* mainWindow() { return m_mainWindow; }
|
|
|
|
static QString versionString();
|
|
|
|
protected:
|
|
bool event(QEvent* event);
|
|
|
|
private:
|
|
bool m_dontShowMainWindow;
|
|
MainWindow* m_mainWindow;
|
|
QTranslator* m_translatorQt;
|
|
QTranslator* m_translatorApp;
|
|
};
|
|
|
|
#endif
|