2002-10-16 21:26:35 +00:00
|
|
|
|
// -*- C++ -*-
|
|
|
|
|
/**
|
|
|
|
|
* \file QSendto.h
|
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
|
*
|
2003-09-07 01:45:40 +00:00
|
|
|
|
* \author J<EFBFBD>rgen Spitzm<EFBFBD>ller
|
2002-10-16 21:26:35 +00:00
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
|
* Full author contact details are available in file CREDITS.
|
2002-10-16 21:26:35 +00:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef QSENDTO_H
|
|
|
|
|
#define QSENDTO_H
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "Qt2Base.h"
|
2002-10-20 01:48:28 +00:00
|
|
|
|
|
2002-10-16 21:26:35 +00:00
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
|
|
class ControlSendto;
|
|
|
|
|
class QSendtoDialog;
|
|
|
|
|
class Format;
|
|
|
|
|
|
|
|
|
|
/** This class provides a Qt implementation of the Custom Export Dialog.
|
|
|
|
|
*/
|
|
|
|
|
class QSendto
|
|
|
|
|
: public Qt2CB<ControlSendto, Qt2DB<QSendtoDialog> >
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
///
|
|
|
|
|
friend class QSendtoDialog;
|
|
|
|
|
///
|
|
|
|
|
QSendto();
|
|
|
|
|
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_;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // QSENDTO_H
|