]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiLog.h
If we are in a closeEvent, we don't want to close all buffers, because these may...
[lyx.git] / src / frontends / qt4 / GuiLog.h
index 3e4de5abbb6ff6b910c71b0241ec35bd99b8c34e..e8bdbb901b5f482e9863a8835b7d8b514619e6c3 100644 (file)
@@ -33,11 +33,16 @@ public:
 
 private Q_SLOTS:
        void updateContents();
-       // copy log to clipboard
+       /// copy log to clipboard
        void on_copyPB_clicked();
+       /// find content
+       void find();
+       /// jump to next error message
+       void on_nextErrorPB_clicked();
+       /// jump to next warning
+       void on_nextWarningPB_clicked();
 
 private:
-       void closeEvent(QCloseEvent * e);
        /// Apply changes
        void applyView() {}
 
@@ -59,6 +64,10 @@ private:
        docstring title() const;
        /// put the log file into the ostream
        void getContents(std::ostream & ss) const;
+       /// go to the next occurence of the RegExp
+       void goTo(QRegExp const & exp) const;
+       /// does the document after cursor position contain the RegExp?
+       bool contains(QRegExp const & exp) const;
 
 private:
        /// Recognized log file-types