]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/FileDialog_private.h
Get rid of the static_casts.
[lyx.git] / src / frontends / qt2 / 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 <qfiledialog.h>
18 #include "LString.h"
19
20 class QToolButton;
21
22 class LyXFileDialog : public QFileDialog
23 {
24         Q_OBJECT
25 public:
26         LyXFileDialog(string const & p, string const & m, string const & t,
27                       FileDialog::Button const & b1,
28                       FileDialog::Button const & b2);
29 public slots:
30         void buttonClicked();
31 private:
32         QToolButton * b1_;
33         string b1_dir_;
34
35         QToolButton * b2_;
36         string b2_dir_;
37 };
38
39 #endif // FILEDIALOG_PRIVATE_H