// -*- 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