52 #ifndef MAPPLICATION_H
53 #define MAPPLICATION_H
55 #include "../vpatterndb/vtranslatevars.h"
56 #include "../vmisc/def.h"
57 #include "../vmisc/vseamlymesettings.h"
58 #include "../vmisc/vabstractapplication.h"
68 #define qApp (static_cast<MApplication*>(VAbstractApplication::instance()))
80 virtual bool notify(QObject * receiver, QEvent *
event) Q_DECL_OVERRIDE;
106 virtual bool event(QEvent *e) Q_DECL_OVERRIDE;
QLocalServer * localServer
virtual bool notify(QObject *receiver, QEvent *event) Q_DECL_OVERRIDE
notify Reimplemented from QApplication::notify().
void NewLocalSocketConnection()
virtual bool IsAppInGUIMode() const Q_DECL_OVERRIDE
IsAppInGUIMode little hack that allow to have access to application state from VAbstractApplication c...
virtual void OpenSettings() Q_DECL_OVERRIDE
MApplication(int &argc, char **argv)
QList< TMainWindow * > MainWindows()
virtual ~MApplication() Q_DECL_OVERRIDE
virtual const VTranslateVars * TrVars() Q_DECL_OVERRIDE
virtual void InitTrVars() Q_DECL_OVERRIDE
virtual bool event(QEvent *e) Q_DECL_OVERRIDE
QPointer< MeasurementDatabaseDialog > dataBase
TMainWindow * MainWindow()
VSeamlyMeSettings * SeamlyMeSettings()
QList< QPointer< TMainWindow > > mainWindows
TMainWindow * NewMainWindow()
void ParseCommandLine(const SocketConnection &connection, const QStringList &arguments)