X-Git-Url: https://vaikene.ee/gitweb/highlight.css?a=blobdiff_plain;f=src%2Flibs%2FCommon%2Fapp.h;h=8fb0dca887919f7916486c0ab580932d30df6c94;hb=60aebc188674bbfb67be51958ec33171c72986b9;hp=3bcde5aaa045c422acaeff53658b9529e40c6be7;hpb=147349063d3d0bd5f5b18a46a567e89e3d8512c4;p=evaf diff --git a/src/libs/Common/app.h b/src/libs/Common/app.h index 3bcde5a..8fb0dca 100644 --- a/src/libs/Common/app.h +++ b/src/libs/Common/app.h @@ -25,6 +25,8 @@ #include #include +class QEvent; + namespace eVaf { namespace Common { namespace Internal { @@ -48,6 +50,8 @@ public: */ bool init(); + virtual bool event(QEvent *); + /* iApp interface */ @@ -113,6 +117,12 @@ private: /// Name of the documentation directory mutable QString mDocDir; + /// Event numbers + uint mEvQuit; + uint mEvRestart; + uint mEvReady; + uint mEvTerminating; + }; } // namespace eVaf::Common::Internal