2001-08-26 18:49:33 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file QError.h
|
|
|
|
* Copyright 2001 the LyX Team
|
|
|
|
* Read the file COPYING
|
|
|
|
*
|
|
|
|
* \author John Levon <moz@compsoc.man.ac.uk>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QERROR_H
|
|
|
|
#define QERROR_H
|
|
|
|
|
|
|
|
#include "Qt2Base.h"
|
|
|
|
|
|
|
|
class ControlError;
|
|
|
|
class QErrorDialog;
|
2002-07-11 01:01:38 +00:00
|
|
|
class Dialogs;
|
2001-08-26 18:49:33 +00:00
|
|
|
|
|
|
|
class QError :
|
2002-03-21 21:21:28 +00:00
|
|
|
public Qt2CB<ControlError, Qt2DB<QErrorDialog> >
|
2001-08-26 18:49:33 +00:00
|
|
|
{
|
|
|
|
friend class QErrorDialog;
|
2002-03-21 21:21:28 +00:00
|
|
|
|
|
|
|
public:
|
2002-07-11 01:01:38 +00:00
|
|
|
QError(ControlError &, Dialogs &);
|
2001-08-26 18:49:33 +00:00
|
|
|
|
2002-03-21 21:21:28 +00:00
|
|
|
private:
|
2001-08-26 18:49:33 +00:00
|
|
|
/// Apply changes
|
|
|
|
virtual void apply() {};
|
|
|
|
/// update
|
|
|
|
virtual void update_contents();
|
|
|
|
/// build the dialog
|
|
|
|
virtual void build_dialog();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QERROR_H
|