mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 21:49:51 +00:00
44 lines
699 B
C
44 lines
699 B
C
|
// -*- C++ -*-
|
||
|
/**
|
||
|
* \file QChanges.h
|
||
|
* This file is part of LyX, the document processor.
|
||
|
* Licence details can be found in the file COPYING.
|
||
|
*
|
||
|
* \author John Levon
|
||
|
*
|
||
|
* Full author contact details are available in file CREDITS
|
||
|
*/
|
||
|
|
||
|
#ifndef QCHANGES_H
|
||
|
#define QCHANGES_H
|
||
|
|
||
|
#include "Qt2Base.h"
|
||
|
|
||
|
class ControlChanges;
|
||
|
class QChangesDialog;
|
||
|
|
||
|
class QChanges
|
||
|
: public Qt2CB<ControlChanges, Qt2DB<QChangesDialog> >
|
||
|
{
|
||
|
public:
|
||
|
friend class QChangesDialog;
|
||
|
|
||
|
QChanges();
|
||
|
|
||
|
void accept();
|
||
|
|
||
|
void reject();
|
||
|
|
||
|
void next();
|
||
|
|
||
|
private:
|
||
|
/// Apply changes
|
||
|
virtual void apply() {};
|
||
|
/// update
|
||
|
virtual void update_contents() {};
|
||
|
/// build the dialog
|
||
|
virtual void build_dialog();
|
||
|
};
|
||
|
|
||
|
#endif // QCHANGES_H
|