GuiLog(GuiView & lv);
private Q_SLOTS:
- void updateContents();
+ void updateContents() override;
/// find content
void find();
/// jump to next error message
private:
/// Apply changes
- void applyView() {}
+ void applyView() override {}
/// log syntax highlighter
LogHighlighter * highlighter;
/** \param data should contain "<logtype> <logfile>"
* where <logtype> is one of "latex", "literate", "lyx2lyx", "vc".
*/
- bool initialiseParams(std::string const & data);
+ bool initialiseParams(std::string const & data) override;
///
- void clearParams();
+ void clearParams() override;
///
- void dispatchParams() {}
+ void dispatchParams() override {}
///
- bool isBufferDependent() const { return true; }
+ bool isBufferDependent() const override { return true; }
/// The title displayed by the dialog reflects the \c LogType
docstring title() const;
/// put the log file into the ostream
void getContents(std::ostream & ss) const;
+#if QT_VERSION < 0x060000
/// go to the next occurrence of the RegExp
void goTo(QRegExp const & exp) const;
/// does the document after cursor position contain the RegExp?
bool contains(QRegExp const & exp) const;
+#else
+ /// go to the next occurrence of the RegExp
+ void goTo(QRegularExpression const & exp) const;
+ /// does the document after cursor position contain the RegExp?
+ bool contains(QRegularExpression const & exp) const;
+#endif
private:
/// Recognized log file-types