lyx_mirror/src/frontends/qt2/QSendto.h
Angus Leeming 2a31934f38 Wrap most of the frontend code up inside namespace lyx::frontend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8766 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-19 15:11:37 +00:00

54 lines
960 B
C++

// -*- C++ -*-
/**
* \file QSendto.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
#ifndef QSENDTO_H
#define QSENDTO_H
#include "QDialogView.h"
#include <vector>
class Format;
namespace lyx {
namespace frontend {
class ControlSendto;
class QSendtoDialog;
/** This class provides a Qt implementation of the Custom Export Dialog.
*/
class QSendto
: public QController<ControlSendto, QView<QSendtoDialog> >
{
public:
///
friend class QSendtoDialog;
///
QSendto(Dialog &);
protected:
virtual bool isValid();
private:
/// Apply from dialog
virtual void apply();
/// Update the dialog
virtual void update_contents();
/// Build the dialog
virtual void build_dialog();
///
std::vector<Format const *> all_formats_;
};
} // namespace frontend
} // namespace lyx
#endif // QSENDTO_H