lyx_mirror/src/frontends/qt4/FileDialog_private.h
André Pönitz c6b932f467 code cosmetics whitespace, unneeded lyx:: qualification, indentation, unneeded destructors and the like
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17994 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 16:39:21 +00:00

48 lines
896 B
C++

// -*- C++ -*-
/**
* \file FileDialog_private.h
* 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 "frontends/FileDialog.h"
#include <QFileDialog>
class QToolButton;
namespace lyx {
namespace support { class FileFilterList; }
class LyXFileDialog : public QFileDialog
{
Q_OBJECT
public:
LyXFileDialog(docstring const & title,
docstring const & path,
support::FileFilterList const & filters,
FileDialog::Button const & b1,
FileDialog::Button const & b2);
public Q_SLOTS:
void buttonClicked();
private:
QToolButton * b1_;
docstring b1_dir_;
QToolButton * b2_;
docstring b2_dir_;
};
} // namespace lyx
#endif // FILEDIALOG_PRIVATE_H