2001-08-26 18:49:33 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file QError.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-08-26 18:49:33 +00:00
|
|
|
*
|
2002-09-24 13:57:09 +00:00
|
|
|
* \author John Levon
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2001-08-26 18:49:33 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QERROR_H
|
|
|
|
#define QERROR_H
|
|
|
|
|
2002-09-24 13:57:09 +00:00
|
|
|
|
2003-02-25 14:51:38 +00:00
|
|
|
#include "QDialogView.h"
|
2001-08-26 18:49:33 +00:00
|
|
|
|
|
|
|
class ControlError;
|
|
|
|
class QErrorDialog;
|
2002-08-12 14:28:43 +00:00
|
|
|
|
2001-08-26 18:49:33 +00:00
|
|
|
|
2002-10-20 01:48:28 +00:00
|
|
|
class QError
|
2003-02-25 14:51:38 +00:00
|
|
|
: public QController<ControlError, QView<QErrorDialog> >
|
2001-08-26 18:49:33 +00:00
|
|
|
{
|
2002-10-20 01:48:28 +00:00
|
|
|
public:
|
2001-08-26 18:49:33 +00:00
|
|
|
friend class QErrorDialog;
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2003-02-25 14:51:38 +00:00
|
|
|
QError(Dialog &);
|
2002-03-21 21:21:28 +00:00
|
|
|
private:
|
2001-08-26 18:49:33 +00:00
|
|
|
/// Apply changes
|
2002-10-20 01:48:28 +00:00
|
|
|
virtual void apply() {}
|
2001-08-26 18:49:33 +00:00
|
|
|
/// update
|
|
|
|
virtual void update_contents();
|
|
|
|
/// build the dialog
|
|
|
|
virtual void build_dialog();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QERROR_H
|