lyx_mirror/src/frontends/qt4/QBranch.h

45 lines
859 B
C
Raw Normal View History

// -*- C++ -*-
/**
* \file QBranch.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author J<EFBFBD>rgen Spitzm<EFBFBD>ller
*
* Full author contact details are available in file CREDITS.
*/
#ifndef QBRANCH_H
#define QBRANCH_H
#include "QBranchDialog.h"
#include "QDialogView.h"
namespace lyx {
namespace frontend {
class ControlBranch;
/** This class provides a QT implementation of the Branch Dialog.
*/
class QBranch : public QController<ControlBranch, QView<QBranchDialog> >
{
public:
friend class QBranchDialog;
/// Constructor
QBranch(Dialog &);
private:
/// Apply changes
virtual void apply();
/// Build the dialog
virtual void build_dialog();
/// Update dialog before showing it
virtual void update_contents();
};
} // namespace frontend
} // namespace lyx
#endif // QBRANCH_H