]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/FileDialog_private.h
rename LFUN enum values according to their command (as used in th minibuffer/bind...
[lyx.git] / src / frontends / qt4 / FileDialog_private.h
1 // -*- C++ -*-
2 /**
3  * \file FileDialog_private.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 FILEDIALOG_PRIVATE_H
13 #define FILEDIALOG_PRIVATE_H
14
15
16 #include "frontends/FileDialog.h"
17 #include <Q3FileDialog>
18
19 namespace lyx {
20 namespace support {
21
22 class FileFilterList;
23
24 } // namespace support
25 } // namespace lyx
26
27
28 class QToolButton;
29
30 class LyXFileDialog : public Q3FileDialog
31 {
32         Q_OBJECT
33 public:
34         LyXFileDialog(std::string const & path,
35                       lyx::support::FileFilterList const & filters,
36                       std::string const & title,
37                       FileDialog::Button const & b1,
38                       FileDialog::Button const & b2);
39 public slots:
40         void buttonClicked();
41 private:
42         QToolButton * b1_;
43         std::string b1_dir_;
44
45         QToolButton * b2_;
46         std::string b2_dir_;
47 };
48
49 #endif // FILEDIALOG_PRIVATE_H