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