#include <QObject>
#include <QString>
+class QEvent;
+
namespace eVaf {
namespace Common {
namespace Internal {
*/
bool init();
+ virtual bool event(QEvent *);
+
/*
iApp interface
*/
virtual QString const xmlFileName() const;
+ virtual int exec();
+
virtual void restart();
virtual void quit(bool err = false);
virtual QString const qtPluginsDir() const;
-private:
+private: // Members
/// Flag indicating that the eVaf application is ready
bool mReady;
/// Name of the documentation directory
mutable QString mDocDir;
+ /// Event numbers
+ uint mEvQuit;
+ uint mEvRestart;
+ uint mEvReady;
+ uint mEvTerminating;
+
+
+private: // Methods
+
+ void setReady(bool value);
+
};
} // namespace eVaf::Common::Internal