X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiShowFile.h;h=db82eae87e56cc963d13a2db1be745aa1ff20e18;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=44e9a781eec54d218106eb3caa0a30bb05e347b8;hpb=470aba2a0e552f27d55992372c09f15af9725fa8;p=lyx.git diff --git a/src/frontends/qt4/GuiShowFile.h b/src/frontends/qt4/GuiShowFile.h index 44e9a781ee..db82eae87e 100644 --- a/src/frontends/qt4/GuiShowFile.h +++ b/src/frontends/qt4/GuiShowFile.h @@ -5,6 +5,7 @@ * Licence details can be found in the file COPYING. * * \author John Levon + * \author Herbert Voß * * Full author contact details are available in file CREDITS. */ @@ -13,26 +14,34 @@ #define GUISHOWFILE_H #include "GuiDialog.h" -#include "ControlShowFile.h" #include "ui_ShowFileUi.h" +#include "support/FileName.h" + namespace lyx { namespace frontend { -class GuiShowFileDialog : public GuiDialog, public Ui::ShowFileUi +class GuiShowFile : public GuiDialog, public Ui::ShowFileUi { Q_OBJECT public: - GuiShowFileDialog(LyXView & lv); + GuiShowFile(GuiView & lv); private: - /// - void closeEvent(QCloseEvent * e); - /// parent controller - ControlShowFile & controller(); /// update void updateContents(); + /// + bool initialiseParams(std::string const & data); + /// + void clearParams(); + /// + void dispatchParams() {} + /// + bool isBufferDependent() const { return false; } + + /// + support::FileName filename_; }; } // namespace frontend