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-08-12 14:28:43 +00:00
|
|
|
QPreamble();
|
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
|