2001-06-14 08:20:41 +00:00
|
|
|
// -*- C++ -*-
|
2001-02-14 19:43:56 +00:00
|
|
|
/**
|
2001-08-19 13:25:15 +00:00
|
|
|
* \file QPrint.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-02-14 19:43:56 +00:00
|
|
|
*
|
2002-09-24 13:57:09 +00:00
|
|
|
* \author John Levon
|
|
|
|
* \author Edwin Leuven
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2001-02-14 19:43:56 +00:00
|
|
|
*/
|
2001-08-29 21:11:30 +00:00
|
|
|
|
2001-08-19 13:25:15 +00:00
|
|
|
#ifndef QPRINT_H
|
|
|
|
#define QPRINT_H
|
2001-02-14 19:43:56 +00:00
|
|
|
|
2001-08-29 21:11:30 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
2001-02-14 19:43:56 +00:00
|
|
|
|
2001-08-29 21:11:30 +00:00
|
|
|
#include "Qt2Base.h"
|
2001-02-14 19:43:56 +00:00
|
|
|
|
2001-08-29 21:11:30 +00:00
|
|
|
class ControlPrint;
|
2002-10-30 19:47:15 +00:00
|
|
|
class QLPrintDialog;
|
2001-02-14 19:43:56 +00:00
|
|
|
|
2001-08-29 21:11:30 +00:00
|
|
|
///
|
|
|
|
class QPrint
|
2002-10-30 19:47:15 +00:00
|
|
|
: public Qt2CB<ControlPrint, Qt2DB<QLPrintDialog> >
|
2001-08-29 21:11:30 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
///
|
2002-10-30 19:47:15 +00:00
|
|
|
friend class QLPrintDialog;
|
2001-08-29 21:11:30 +00:00
|
|
|
///
|
2002-08-12 14:28:43 +00:00
|
|
|
QPrint();
|
2001-08-29 21:11:30 +00:00
|
|
|
private:
|
|
|
|
/// Apply changes
|
|
|
|
virtual void apply();
|
|
|
|
/// update
|
|
|
|
virtual void update_contents();
|
|
|
|
/// build the dialog
|
|
|
|
virtual void build_dialog();
|
2001-02-14 19:43:56 +00:00
|
|
|
};
|
|
|
|
|
2001-08-19 13:25:15 +00:00
|
|
|
#endif // QPRINT_H
|