X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiErrorList.h;h=b36255a150aa879422632e87f6f9810b7d6b0aed;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=31210a4aeb1425434d2d68edcba838e4c7aecaaf;hpb=c0afc10375f43452b630813d3df59a152b7c183f;p=lyx.git diff --git a/src/frontends/qt4/GuiErrorList.h b/src/frontends/qt4/GuiErrorList.h index 31210a4aeb..b36255a150 100644 --- a/src/frontends/qt4/GuiErrorList.h +++ b/src/frontends/qt4/GuiErrorList.h @@ -21,26 +21,24 @@ class QListWidgetItem; namespace lyx { namespace frontend { -class GuiErrorList : public GuiDialog, public Ui::ErrorListUi, public Controller +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 *); - /// parent controller - Controller & controller() { return *this; } - /// update contents - void updateContents(); + /// + void paramsToDialog(); /// bool isBufferDependent() const { return true; } /// @@ -49,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: @@ -59,6 +59,8 @@ private: std::string error_type_; /// the parent document name docstring name_; + /// + bool from_master_; }; } // namespace frontend