]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiShowFile.h
fix memory leaks
[lyx.git] / src / frontends / qt4 / GuiShowFile.h
1 // -*- C++ -*-
2 /**
3  * \file GuiShowFile.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  * \author Herbert Voß
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef GUISHOWFILE_H
14 #define GUISHOWFILE_H
15
16 #include "GuiDialog.h"
17 #include "ui_ShowFileUi.h"
18
19 #include "support/FileName.h"
20
21 namespace lyx {
22 namespace frontend {
23
24 class GuiShowFile : public GuiDialog, public Ui::ShowFileUi
25 {
26         Q_OBJECT
27
28 public:
29         GuiShowFile(GuiView & lv);
30
31 private:
32         ///
33         void closeEvent(QCloseEvent * e);
34         /// update
35         void updateContents();
36         ///
37         bool initialiseParams(std::string const & data);
38         ///
39         void clearParams();
40         ///
41         void dispatchParams() {}
42         ///
43         bool isBufferDependent() const { return false; }
44
45         ///
46         support::FileName filename_;
47 };
48
49 } // namespace frontend
50 } // namespace lyx
51
52 #endif // GUISHOWFILE_H