2001-08-29 03:35:45 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file QPreamble.h
|
|
|
|
* Copyright 2001 the LyX Team
|
|
|
|
* Read the file COPYING
|
|
|
|
*
|
|
|
|
* \author John Levon <moz@compsoc.man.ac.uk>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QPREAMBLE_H
|
|
|
|
#define QPREAMBLE_H
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "Qt2Base.h"
|
|
|
|
|
|
|
|
class ControlPreamble;
|
|
|
|
class QPreambleDialog;
|
|
|
|
|
|
|
|
///
|
|
|
|
class QPreamble
|
2002-03-21 21:21:28 +00:00
|
|
|
: public Qt2CB<ControlPreamble, Qt2DB<QPreambleDialog> >
|
2001-08-29 03:35:45 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
///
|
|
|
|
friend class QPreambleDialog;
|
|
|
|
///
|
2002-07-11 01:01:38 +00:00
|
|
|
QPreamble(ControlPreamble &, Dialogs &);
|
2001-08-29 03:35:45 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
/// Apply changes
|
|
|
|
virtual void apply();
|
|
|
|
/// update
|
|
|
|
virtual void update_contents();
|
|
|
|
/// build the dialog
|
|
|
|
virtual void build_dialog();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QPREAMBLE_H
|