]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/LyXFileDialog.h
Move debug.{cpp,h}, Messages.{cpp,h} and gettext.{cpp,h} to support/.
[lyx.git] / src / frontends / qt4 / LyXFileDialog.h
1 // -*- C++ -*-
2 /**
3  * \file LyXFileDialog.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  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef LYXFILEDIALOG_H
13 #define LYXFILEDIALOG_H
14
15 #include "frontends/FileDialog.h"
16
17 #include <QFileDialog>
18
19 class QToolButton;
20
21 namespace lyx {
22
23 namespace support { class FileFilterList; }
24
25 class LyXFileDialog : public QFileDialog
26 {
27         Q_OBJECT
28
29 public:
30         LyXFileDialog(docstring const & title,
31                       docstring const & path,
32                       support::FileFilterList const & filters,
33                       FileDialog::Button const & b1,
34                       FileDialog::Button const & b2);
35
36 public Q_SLOTS:
37         void button1Clicked();
38         void button2Clicked();
39
40 private:
41         docstring b1_dir_;
42         docstring b2_dir_;
43 };
44
45 } // namespace lyx
46
47
48 #endif // LYXFILEDIALOG_H