]> vaikene.ee Git - evaf/blobdiff - src/libs/Common/app.h
Added iApp::exec() function, which enters the Qt event loop and runs the application.
[evaf] / src / libs / Common / app.h
index 8fb0dca887919f7916486c0ab580932d30df6c94..34f7a5d73d7bec77413cb717ccae869a1d511b7a 100644 (file)
@@ -61,6 +61,8 @@ public:
 
     virtual QString const xmlFileName() const;
 
+    virtual int exec();
+
     virtual void restart();
 
     virtual void quit(bool err = false);
@@ -82,7 +84,7 @@ public:
     virtual QString const qtPluginsDir() const;
 
 
-private:
+private: // Members
 
     /// Flag indicating that the eVaf application is ready
     bool mReady;
@@ -123,6 +125,11 @@ private:
     uint mEvReady;
     uint mEvTerminating;
 
+
+private: // Methods
+
+    void setReady(bool value);
+
 };
 
 } // namespace eVaf::Common::Internal