]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/FileDialog_private.h
Get rid of the static_casts.
[lyx.git] / src / frontends / qt2 / FileDialog_private.h
index 1c39556e572e0ef1712dfe43a1eaedf633e68928..6b86593e0bfd1f04efb5e82c944fa1f8ef5fd0af 100644 (file)
@@ -1,41 +1,39 @@
 // -*- C++ -*-
 /**
  * \file FileDialog_private.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef FILEDIALOG_PRIVATE_H
 #define FILEDIALOG_PRIVATE_H
 
-#include <config.h>
-
-#include "LString.h"
-#include "lyxfunc.h"
 
 #include "frontends/FileDialog.h"
-
 #include <qfiledialog.h>
+#include "LString.h"
 
-class LyXView;
+class QToolButton;
 
 class LyXFileDialog : public QFileDialog
 {
-  Q_OBJECT
-
+       Q_OBJECT
 public:
-       LyXFileDialog(LyXView * lv, kb_action a, string const & p, string const & m, string const & t);
-
-       friend class FileDialog;
-
+       LyXFileDialog(string const & p, string const & m, string const & t,
+                     FileDialog::Button const & b1,
+                     FileDialog::Button const & b2);
 public slots:
-       void done(int);
-
+       void buttonClicked();
 private:
-       LyXView * lv_;
-       kb_action action_;
+       QToolButton * b1_;
+       string b1_dir_;
+
+       QToolButton * b2_;
+       string b2_dir_;
 };
 
 #endif // FILEDIALOG_PRIVATE_H