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
|
2001-08-29 21:11:30 +00:00
|
|
|
* Copyright 2001 the LyX Team
|
|
|
|
* Read the file COPYING
|
2001-02-14 19:43:56 +00:00
|
|
|
*
|
2001-08-29 21:11:30 +00:00
|
|
|
* \author John Levon <moz@compsoc.man.ac.uk>
|
|
|
|
* \author Edwin Leuven, leuven@fee.uva.nl
|
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;
|
|
|
|
class QPrintDialog;
|
2001-02-14 19:43:56 +00:00
|
|
|
|
2001-08-29 21:11:30 +00:00
|
|
|
///
|
|
|
|
class QPrint
|
2002-03-21 21:21:28 +00:00
|
|
|
: public Qt2CB<ControlPrint, Qt2DB<QPrintDialog> >
|
2001-08-29 21:11:30 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
///
|
|
|
|
friend class QPrintDialog;
|
|
|
|
///
|
|
|
|
QPrint(ControlPrint &);
|
2001-02-14 19:43:56 +00:00
|
|
|
|
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
|