X-Git-Url: https://vaikene.ee/gitweb/gitweb.cgi?a=blobdiff_plain;f=src%2Flibs%2FCommon%2Fiapp.h;h=31390e371c35e3565eab991b21f12f750b3b6e82;hb=77854ea7bd165f8d9afd2cba1490335a67001ab7;hp=098abafde39410119d5b86f61af2cb7ea74876d7;hpb=be0e791df48f5a8c9bb4c16f65b62e41e1149552;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. *