]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiErrorList.h
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / GuiErrorList.h
index 26ec430fbe5ed01a022d284ffac1cb581e6c66e3..b36255a150aa879422632e87f6f9810b7d6b0aed 100644 (file)
@@ -26,19 +26,19 @@ class GuiErrorList : public GuiDialog, public Ui::ErrorListUi
        Q_OBJECT
 
 public:
-       GuiErrorList(LyXView & lv);
+       GuiErrorList(GuiView & lv);
 
 public Q_SLOTS:
        /// select an entry
-       void select(QListWidgetItem *);
+       void select();
+       /// open the LaTeX log
+       void viewLog();
 
 private:
-       ///
-       void closeEvent(QCloseEvent *);
        ///
        void showEvent(QShowEvent *);
-       /// update contents
-       void updateContents();
+       ///
+       void paramsToDialog();
        ///
        bool isBufferDependent() const { return true; }
        ///
@@ -47,9 +47,11 @@ private:
        void clearParams() {}
        ///
        void dispatchParams() {}
+       ///
+       bool canApply() const { return true; }
 
-       /// goto this error in the parent bv
-       void goTo(int item);
+       /// goto this error in the parent bv. Returns success.
+       bool goTo(int item);
        ///
        ErrorList const & errorList() const;
 private:
@@ -57,6 +59,8 @@ private:
        std::string error_type_;
        /// the parent document name
        docstring name_;
+       ///
+       bool from_master_;
 };
 
 } // namespace frontend