X-Git-Url: https://vaikene.ee/gitweb/highlight.css?a=blobdiff_plain;f=src%2Flibs%2FCommon%2Fiapp.h;h=31390e371c35e3565eab991b21f12f750b3b6e82;hb=8958311b9f05fc65cdf9e528db8b4b32a94eb24a;hp=098abafde39410119d5b86f61af2cb7ea74876d7;hpb=60aebc188674bbfb67be51958ec33171c72986b9;p=evaf diff --git a/src/libs/Common/iapp.h b/src/libs/Common/iapp.h index 098abaf..31390e3 100644 --- a/src/libs/Common/iapp.h +++ b/src/libs/Common/iapp.h @@ -129,6 +129,15 @@ public: */ virtual QString const xmlFileName() const = 0; + /** + * Enters the main event loop of the Qt application. + * @return Value returned by the Qt application + * + * This function enters the event loop of the Qt application. Use this function to start event handling + * instead of calling QCoreApplication::exec() or QApplication::exec() functions directly. + */ + virtual int exec() = 0; + /** * Requests the eVaf application to restart. *