]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt/GuiLog.h
No need (any longer?) to create a new view for lyxfiles-open
[lyx.git] / src / frontends / qt / GuiLog.h
index ba4a479f5e59ae42e81df42d792b6f687890b786..0ceb8d5d2c6a5bbb7dc463620482084f6015ce85 100644 (file)
@@ -32,7 +32,7 @@ public:
        GuiLog(GuiView & lv);
 
 private Q_SLOTS:
-       void updateContents();
+       void updateContents() override;
        /// find content
        void find();
        /// jump to next error message
@@ -46,7 +46,7 @@ private Q_SLOTS:
 
 private:
        /// Apply changes
-       void applyView() {}
+       void applyView() override {}
 
        /// log syntax highlighter
        LogHighlighter * highlighter;
@@ -54,22 +54,22 @@ private:
        /** \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;
        /// go to the next occurrence of the RegExp
-       void goTo(QRegExp const & exp) const;
+       void goTo(QRegularExpression const & exp) const;
        /// does the document after cursor position contain the RegExp?
-       bool contains(QRegExp const & exp) const;
+       bool contains(QRegularExpression const & exp) const;
 
 private:
        /// Recognized log file-types