X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt%2FGuiCompare.h;h=e71a13139ebbfa0e928e1453241bd7b07c0968e8;hb=8863d6d785358680d05b4b34b35ca09a15cccb82;hp=82afcd2071d27c615347e0a2bc9dd869093522e8;hpb=efc0877f8fd33ad9369d06e5b638037c8d6a1b24;p=lyx.git diff --git a/src/frontends/qt/GuiCompare.h b/src/frontends/qt/GuiCompare.h index 82afcd2071..e71a13139e 100644 --- a/src/frontends/qt/GuiCompare.h +++ b/src/frontends/qt/GuiCompare.h @@ -32,7 +32,7 @@ public: GuiCompare(GuiView & lv); ~GuiCompare(); - void closeEvent(QCloseEvent *); + void closeEvent(QCloseEvent *) override; private Q_SLOTS: /// @@ -57,7 +57,7 @@ private Q_SLOTS: /// void progressMax(int) const; /// - void setStatusMessage(QString); + void setStatusMessage(QString const &); private: /// @@ -85,7 +85,8 @@ private: Buffer const * bufferFromFileName(std::string const & file) const; /// create the compare object and run the comparison - int run(); + /// if blocking_mode is true, run should execute so that the caller can block to wait for the results + int run(bool blocking_mode = false); private: /// the object that will do the comparison