2001-08-29 00:37:04 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file QLog.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-29 00:37:04 +00:00
|
|
|
*
|
2002-09-24 13:57:09 +00:00
|
|
|
* \author John Levon
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2001-08-29 00:37:04 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QLOG_H
|
|
|
|
#define QLOG_H
|
|
|
|
|
2003-03-25 18:13:46 +00:00
|
|
|
#include "QDialogView.h"
|
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
namespace lyx {
|
|
|
|
namespace frontend {
|
2001-08-29 00:37:04 +00:00
|
|
|
|
|
|
|
class ControlLog;
|
|
|
|
class QLogDialog;
|
|
|
|
|
|
|
|
///
|
|
|
|
class QLog
|
2003-03-25 18:13:46 +00:00
|
|
|
: public QController<ControlLog, QView<QLogDialog> >
|
2001-08-29 00:37:04 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
///
|
|
|
|
friend class QLogDialog;
|
|
|
|
///
|
2003-03-25 18:13:46 +00:00
|
|
|
QLog(Dialog &);
|
2001-08-29 00:37:04 +00:00
|
|
|
private:
|
|
|
|
/// Apply changes
|
2002-10-20 01:48:28 +00:00
|
|
|
virtual void apply() {}
|
2001-08-29 00:37:04 +00:00
|
|
|
/// update
|
|
|
|
virtual void update_contents();
|
|
|
|
/// build the dialog
|
|
|
|
virtual void build_dialog();
|
|
|
|
};
|
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
} // namespace frontend
|
|
|
|
} // namespace lyx
|
|
|
|
|
2001-08-29 00:37:04 +00:00
|
|
|
#endif // QLOG_H
|