lyx_mirror/src/frontends/qt4/QChangesDialog.h

48 lines
810 B
C++

// -*- C++ -*-
/**
* \file QChangesDialog.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 QCHANGESDIALOG_H
#define QCHANGESDIALOG_H
#include "ui/QChangesUi.h"
#include <QCloseEvent>
#include <QDialog>
namespace lyx {
namespace frontend {
class QChanges;
class QChangesDialog : public QDialog, public Ui::QChangesUi {
Q_OBJECT
public:
QChangesDialog(QChanges * form);
protected Q_SLOTS:
virtual void nextPressed();
virtual void acceptPressed();
virtual void rejectPressed();
protected:
virtual void closeEvent(QCloseEvent * e);
private:
QChanges * form_;
};
} // namespace frontend
} // namespace lyx
#endif // QCHANGESDIALOG_H