]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiShowFile.h
Set a maximum value to zoom level
[lyx.git] / src / frontends / qt4 / GuiShowFile.h
index 44e9a781eec54d218106eb3caa0a30bb05e347b8..db82eae87e56cc963d13a2db1be745aa1ff20e18 100644 (file)
@@ -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.
  */
 #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