2001-06-14 08:20:41 +00:00
|
|
|
// -*- C++ -*-
|
2001-03-12 12:47:07 +00:00
|
|
|
/**
|
|
|
|
* \file FileDialog_private.h
|
2002-09-24 13:57:09 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2001-03-12 12:47:07 +00:00
|
|
|
*
|
|
|
|
* \author John Levon
|
2002-09-24 13:57:09 +00:00
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2001-03-12 12:47:07 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FILEDIALOG_PRIVATE_H
|
|
|
|
#define FILEDIALOG_PRIVATE_H
|
|
|
|
|
2002-09-24 13:57:09 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
2001-03-12 12:47:07 +00:00
|
|
|
|
|
|
|
#include "frontends/FileDialog.h"
|
2002-06-19 03:38:44 +00:00
|
|
|
#include <qfiledialog.h>
|
2002-09-24 13:57:09 +00:00
|
|
|
#include "LString.h"
|
2002-06-19 03:38:44 +00:00
|
|
|
|
2002-08-25 20:53:39 +00:00
|
|
|
class QToolButton;
|
2001-03-12 12:47:07 +00:00
|
|
|
|
|
|
|
class LyXFileDialog : public QFileDialog
|
|
|
|
{
|
2002-08-25 20:53:39 +00:00
|
|
|
Q_OBJECT
|
2001-03-12 12:47:07 +00:00
|
|
|
public:
|
2002-08-25 20:53:39 +00:00
|
|
|
LyXFileDialog(string const & p, string const & m, string const & t,
|
2002-10-20 01:48:28 +00:00
|
|
|
FileDialog::Button const & b1,
|
|
|
|
FileDialog::Button const & b2);
|
2001-03-12 12:47:07 +00:00
|
|
|
public slots:
|
2002-08-25 20:53:39 +00:00
|
|
|
void buttonClicked();
|
2001-03-12 12:47:07 +00:00
|
|
|
private:
|
2002-08-25 20:53:39 +00:00
|
|
|
QToolButton * b1_;
|
|
|
|
string b1_dir_;
|
2002-09-24 13:57:09 +00:00
|
|
|
|
2002-08-25 20:53:39 +00:00
|
|
|
QToolButton * b2_;
|
|
|
|
string b2_dir_;
|
2001-03-12 12:47:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FILEDIALOG_PRIVATE_H
|