]> vaikene.ee Git - evaf/blobdiff - src/libs/Common/app.h
* The iEventQueue interface is now properly registered.
[evaf] / src / libs / Common / app.h
index 3bcde5aaa045c422acaeff53658b9529e40c6be7..8fb0dca887919f7916486c0ab580932d30df6c94 100644 (file)
@@ -25,6 +25,8 @@
 #include <QObject>
 #include <QString>
 
+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